get btn as combobox btn

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

get btn as combobox btn

Post by Silvio.Falconi »

Image


How I can make to have the same btn on get as the combobox ?

I'd like have as this

Image

any solution please ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: get btn as combobox btn

Post by nageswaragunupudi »

GET .... ACTION ...BITMAP FwDArrow()
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: get btn as combobox btn

Post by Silvio.Falconi »

thanks but is to large (btnbmp)
I tried to set
aGet[2]:oBtn:nWidth:= 20



it can run ok but it is moved
Last edited by Silvio.Falconi on Sat Feb 29, 2020 11:07 am, edited 1 time in total.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: get btn as combobox btn

Post by Silvio.Falconi »

Resolved !!!!!

Image

@ 06,50 GET aGet[2] VAR nNumberElemento SIZE 50,32 PIXEL of oFld:aDialogs[1] FONT oLarge ;
bitmap FwDArrow() ;
ACTION ....

ACTIVATE DIALOG oDlgPre CENTERED ;
ON INIT.....
aGet[2]:oBtn:nWidth:= 20 ,;
aGet[2]:oBtn:nLeft:=aget[2]:nLeft-20 ,;
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply