ButtonBar

Post Reply
User avatar
ctoas
Posts: 103
Joined: Wed Oct 26, 2005 2:38 pm
Location: São Paulo - Brasil
Contact:

ButtonBar

Post by ctoas »

Hello friends.

In ButtonBar is it possible to align all buttons from right to left?

Thank you
Christiano Augusto Silveira
christiano.silveira@gmail.com

MaxxTech Soluções em TI
http://www.maxxtech.com.br
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: ButtonBar

Post by Silvio.Falconi »

BtNRIGHT comand
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
ctoas
Posts: 103
Joined: Wed Oct 26, 2005 2:38 pm
Location: São Paulo - Brasil
Contact:

Re: ButtonBar

Post by ctoas »

In case BTNRIGHT puts only the last button on the right, is it correct?
Christiano Augusto Silveira
christiano.silveira@gmail.com

MaxxTech Soluções em TI
http://www.maxxtech.com.br
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: ButtonBar

Post by Silvio.Falconi »

YES
SAMPLE
DEFINE BUTTONBAR obar _3D SIZE 100, 32 OF oAllegati 2015 GDIPLUS BOTTOM NOBORDER

DEFINE BUTTON _ OF obar ;
RESOURCE "SCANNER" ;
PROMPT "Scansiona" ;
LEFT BTNRIGHT;
ACTION MSGINFO()


OR
insert where you want but then you must insert also a resize function
_:= TBtnBmp():NewBar("Scansiona",,,,,, .F., obar, .F.,,, .F.,,,,,,,,,,,,, .F.,,, )
_:nLeft:= obar:nWidth-120
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply