Implementando una Clase TExplorerBar propia de FWH

Re: Implementando una Clase TExplorerBar propia de FWH

Postby AIDA » Mon Jun 07, 2010 6:16 am

Eres un genio :mrgreen:

Saluditos :wink:
Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

séʌǝɹ ןɐ ɐʇsǝ opunɯ ǝʇsǝ
User avatar
AIDA
 
Posts: 879
Joined: Fri Jan 12, 2007 8:35 pm

Re: Implementando una Clase TExplorerBar propia de FWH

Postby AIDA » Thu Jun 10, 2010 11:53 pm

Hola Antonio

Estoy de reposo pero entro a ver que novedades :mrgreen:

Saluditos :wink:
Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

séʌǝɹ ןɐ ɐʇsǝ opunɯ ǝʇsǝ
User avatar
AIDA
 
Posts: 879
Joined: Fri Jan 12, 2007 8:35 pm

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Antonio Linares » Fri Jun 11, 2010 6:56 am

La documentación en marcha gracias a la ayuda de Anser, miembro del equipo FiveTech :-)

http://wiki.fivetechsoft.com/doku.php?id=fivewin_class_texplorerbar
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42071
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Implementando una Clase TExplorerBar propia de FWH

Postby norberto » Fri Jun 11, 2010 11:31 am

hi, this class is finished? is part of fwh105? thanks
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Antonio Linares » Fri Jun 11, 2010 11:51 am

Norberto,

Yes, it is almost finished.

It will be published as part of FWH 10.6 in just a few days :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42071
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Implementando una Clase TExplorerBar propia de FWH

Postby norberto » Fri Jun 11, 2010 11:53 am

ANTONIO, HOW CAN TALK WITH YOU PRIVATED? MSN?
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Antonio Linares » Fri Jun 11, 2010 1:53 pm

Norberto,

You can send me an email to alinares@fivetechsoft.com :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42071
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Implementando una Clase TExplorerBar propia de FWH

Postby mgsoft » Sat Jun 12, 2010 11:14 am

Hola:

Yo le añadiría la posibilidad de cambiar colores. Por ejemplo:

@ 10, 10 VMENU oVMenu SIZE 120, 345 OF oDlg ;
COLOR CLR_BLUE, GetSysColor(16) ;
COLORBORDE RGB( 0, 0, 0 ) ;
FILLED UNDERLINE ;
COLORSELECT 0 ;
HEIGHT ITEM 25 ;
BORDER


También la posibilidad de la altura.


Igualmente, el título debería admitir la altura y colores:

DEFINE TITLE OF oVMenu ;
CAPTION "Opciones" ;
HEIGHT 26 ;
COLOR GetSysColor(3), GetSysColor(4), GetSysColor(9);
VERTICALGRADIENT;
IMGBTN "VMENU_UP","VMENU_DOWN" ;
OPENCLOSE RADIOBTN 15



Y añadir separador entre las opciones.



Dejo una información adicional:

http://rapidshare.com/files/398158984/doc.zip.html



Un saludo
Saludos,

Eduardo
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

Re: Implementando una Clase TExplorerBar propia de FWH

Postby AIDA » Tue Jun 15, 2010 12:34 am

Creo que si se podra cambiar de colores :D

Saluditos :wink:
Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

séʌǝɹ ןɐ ɐʇsǝ opunɯ ǝʇsǝ
User avatar
AIDA
 
Posts: 879
Joined: Fri Jan 12, 2007 8:35 pm

Re: Implementando una Clase TExplorerBar propia de FWH

Postby AIDA » Thu Jun 17, 2010 10:45 pm

La curiosidad de saber como va el TExplorerBar me tiene mordiendo las uñitas :mrgreen:


Saluditos :wink:
Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

séʌǝɹ ןɐ ɐʇsǝ opunɯ ǝʇsǝ
User avatar
AIDA
 
Posts: 879
Joined: Fri Jan 12, 2007 8:35 pm

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Antonio Linares » Fri Jun 18, 2010 4:04 am

Aida,

ya le falta poco para estar terminada :-)

Y en unos dias la publicaremos en FWH 10.6
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42071
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Implementando una Clase TExplorerBar propia de FWH

Postby MdaSolution » Fri Jun 18, 2010 7:59 am

Antonio,
esta clase también trabaja para el diálogo?
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Antonio Linares » Fri Jun 18, 2010 9:26 am

Mda,

Si :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42071
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Antonio Linares » Sat Jun 19, 2010 8:32 am

Usando la Clase TExplorerBar desde recursos :-)

explbar2.prg
Code: Select all  Expand view

#include "FiveWin.ch"

//----------------------------------------------------------------------------//

function Main()

   local oDlg, oExBar
     
   DEFINE DIALOG oDlg RESOURCE "Test"
   
   oExBar = TExplorerBar():Redefine( 100 )

   ACTIVATE DIALOG oDlg CENTERED ;
      ON INIT ExplBarInit( oExBar )

return nil

//----------------------------------------------------------------------------//

function ExplBarInit( oExBar )

   local oPanel1, oPanel2, oPanel3, oPanel4
   local bClick := { | o | MsgInfo( o:GetText() ) }

   oPanel1 = oExBar:AddPanel( "One", "people" )
   oPanel1:lSpecial = .T.
   oPanel1:AddLink( "First item", bClick, "additem" )
   oPanel1:AddLink( "Second item", bClick, "copy" )
     
   oPanel2 = oExBar:AddPanel( "Two", "case" )
   oPanel2:AddLink( "First item", bClick, "adddbf" )
   oPanel2:AddLink( "Second item", bClick, "delete" )
   oPanel2:AddLink( "Third item", bClick, "envelope" )
   oPanel2:AddLink( "Fourth item", bClick, "envelope" )

   oPanel3 = oExBar:AddPanel( "Three", "graphics" )
   oPanel3:AddLink( "First item", bClick, "adddbf" )
   
   oPanel4 = oExBar:AddPanel( "Four" )
   oPanel4:AddLink( "First item", bClick, "copy" )
   oPanel4:AddLink( "Second item", bClick, "additem" )

return nil

//----------------------------------------------------------------------------//
 


explbar2.rc
Code: Select all  Expand view

#include <windows.h>

#ifdef __FLAT__
   1 24 "WinXP/WindowsXP.Manifest"
#endif

#ifdef __64__
   1 24 "WinXP/WindowsXP.Manifest64"
#endif

Test DIALOG 17, 36, 400, 350
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "FWH Class TExplorerBar"
FONT 8, "MS Sans Serif"
{
 CONTROL "Test", 100, "TEXPLORERBAR", 0 | WS_CHILD | WS_VISIBLE, 0, 0, 150, 350
 DEFPUSHBUTTON "OK", 1, 341, 327, 50, 14
}

people   BITMAP "..\bitmaps\32x32\people.bmp"
case     BITMAP "..\bitmaps\32x32\case.bmp"
graphics BITMAP "..\bitmaps\32x32\graphics.bmp"
additem  BITMAP "..\bitmaps\16x16\additem.bmp"
copy     BITMAP "..\bitmaps\16x16\copy.bmp"
adddbf   BITMAP "..\bitmaps\16x16\adddbf.bmp"
delete   BITMAP "..\bitmaps\16x16\delete0.bmp"
envelope BITMAP "..\bitmaps\16x16\envelope.bmp"
 


Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42071
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Implementando una Clase TExplorerBar propia de FWH

Postby Silvio » Sun Jun 20, 2010 1:00 pm

Just an Idea : U can insert a nHeight from each menu into each Panel : the nheight can be give from the nheight of bitmap of the option menu or You can insert
a separator or Line separator or inset from a option to another of menu .
and insert an arrow popup if the option menu can have a submenu


Important :

on a panel we can have the possibility to show combobox, Radio buttons, Gets, buttons and say
I saw you can only insert item with bitmaps and link but these other control are need I explain you
we can have a texplorerbar at left for a sample into a dialog with a xbrowse at the right
we can change the index from a combobox of the xbrowse or search a data into xbrowse

you think you can found a solution to insert these control on the texplorerbar class ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

PreviousNext

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 70 guests