ButtonBar

ButtonBar

Postby ctoas » Wed Jan 10, 2018 12:12 pm

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
ctoas
 
Posts: 115
Joined: Wed Oct 26, 2005 2:38 pm
Location: São Paulo - Brasil

Re: ButtonBar

Postby Silvio.Falconi » Wed Jan 10, 2018 12:17 pm

BtNRIGHT comand
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm

Re: ButtonBar

Postby ctoas » Wed Jan 10, 2018 12:27 pm

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
ctoas
 
Posts: 115
Joined: Wed Oct 26, 2005 2:38 pm
Location: São Paulo - Brasil

Re: ButtonBar

Postby Silvio.Falconi » Wed Jan 10, 2018 3:05 pm

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

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


OR
insert where you want but then you must insert also a resize function
oScansiona:= TBtnBmp():NewBar("Scansiona",,,,,, .F., obar, .F.,,, .F.,,,,,,,,,,,,, .F.,,, )
oScansiona:nLeft:= obar:nWidth-120
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7076
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 50 guests