FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ButtonBar and buttons
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
ButtonBar and buttons
Posted: Sat Jan 06, 2018 06:07 PM
I wish Know if is possible make a modify on buttonbar .
I explain you
I wish have the possibilty to move some buttons at the right angle as this :



this picture is made with a oldest class ( not of fwh) now run bad.


I tried with :

oHelp:= TBtnBmp():NewBar(,, "help.bmp",,,, .F., obar, .F.,,, .F.,,,,,,,,,,,,, .F.,,, )
oHelp:=30
oHelp:= obar:nWidth-100

But I can fix the position and when I move the dialog it is allway on the same position
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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: ButtonBar and buttons
Posted: Sat Jan 06, 2018 06:20 PM
Use clause BTNRIGHT



DEFINE BUTTON OF oBarMdi PROMPT "Exit" ;
FILE "D:\Fwh\FwhTeam\BmpsVS_32\MappedTracepointDisable_32x_24.bmp" ;
ACTION ( oWnd:End() ) BTNRIGHT ;
GROUP LABEL "Salir" COLORS CLR_WHITE, METRO_OLIVE

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: ButtonBar and buttons
Posted: Sat Jan 06, 2018 06:31 PM
thanks run good

I made

Code (fw): Select all Collapse
DEFINE BUTTON OF obar ;
     filename "help.bmp"       ;
      LEFT BTNRIGHT;
      GROUP ;
      action oAllegati:end()

     DEFINE BUTTON OF obar ;
     filename "Chiudi.bmp"       ;
      PROMPT  "Chiudi" ;
      LEFT ;
      GROUP ;
      action oAllegati:end()


and this is the result


the button help is too large also if not have the prompt
the button chiudi is not at the end of dialog
any solution ?
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