FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ButtonBar
Posts: 115
Joined: Wed Oct 26, 2005 02:38 PM
ButtonBar
Posted: 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: ButtonBar
Posted: 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 March-April 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
Posts: 115
Joined: Wed Oct 26, 2005 02:38 PM
Re: ButtonBar
Posted: 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: ButtonBar
Posted: Wed Jan 10, 2018 03: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 March-April 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

Continue the discussion