FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour COMBOBOX ON BUTTONBAR
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
COMBOBOX ON BUTTONBAR
Posted: Fri Mar 20, 2009 12:43 PM

Friends,
any sample of a combobox with bitmaps on button bar ?

Best Regards, Saludos



Falconi Silvio
Posts: 694
Joined: Fri Oct 07, 2005 06:58 AM
Re: COMBOBOX ON BUTTONBAR
Posted: Thu Aug 27, 2009 10:18 AM

Silvio,

Conseguiste insertar un combobox en un buttonbar?

Un saludo

Fernando González Diez

ALSIS Sistemas Informáticos
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: COMBOBOX ON BUTTONBAR
Posted: Thu Aug 27, 2009 12:01 PM

simply yes, with bitmaps no... Now i use another class

Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: COMBOBOX ON BUTTONBAR
Posted: Thu Aug 27, 2009 12:46 PM
Silvio,

with the new Vtitle-Class, You can create Your own individual Buttonbar, because
Button-Action for Bitmaps is supported now.

Just a test with Combobox and Button-Action :


Combobox added to samples\testtitl.prg
Code (fw): Select all Collapse
//Title 5 Horizontal( Down )
@ 480, 150  TITLE oTitle5 size 460, 60 of oWnd SHADOW BOTTOMLEFT SHADOWSIZE 2
@   5,  10  TITLEIMG  OF oTitle5 BITMAP "../bitmaps\32X32\keys.bmp" SIZE 30, 30 REFLEX TRANSPARENT ANIMA ;
ACTION MsgAlert( "I am Action for Button 1", "Attention" )

// @  20,  60  TITLETEXT OF oTitle5 TEXT "<== Move over me"  COLOR CLR_BLACK   
@ 14,  220  TITLETEXT OF oTitle5 TEXT "FIVEWIN 9.07"  COLOR CLR_BLACK FONT oFont2 //  3d
@  5,  400  TITLEIMG  OF oTitle5 BITMAP "../bitmaps\fivetech.bmp" SIZE 30, 30 REFLEX 
oTitle5:nShadowIntensity = 70

@ 0.5, 10 COMBOBOX oCbx VAR cText OF oTitle5 SIZE 100, 80 ;
BITMAPS {"../bitmaps\arrow.bmp","../bitmaps\browse.bmp","../bitmaps\calc.bmp"} ;
STYLE CBS_DROPDOWN ;
ITEMS { "One", "Two", "Three" } ;
ON CHANGE oWnd:SetText( cText )


Best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: COMBOBOX ON BUTTONBAR
Posted: Thu Aug 27, 2009 06:31 PM

Sorry Uwe,
Vtitle class of Antonio linares can be a good class but i use my vtitle class (the name is paint title) with it i can make button on it and i can insert also animated bitmaps buttons allready from two year ago.

And... I not think you can crete combobox with BIG bitmaps on it

Best Regards, Saludos



Falconi Silvio

Continue the discussion