ButtonBar and buttons

ButtonBar and buttons

Postby Silvio.Falconi » Sat Jan 06, 2018 6: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 :

Image

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:nWidth:=30
oHelp:nLeft:= 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 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: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: ButtonBar and buttons

Postby cnavarro » Sat Jan 06, 2018 6: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: ButtonBar and buttons

Postby Silvio.Falconi » Sat Jan 06, 2018 6:31 pm

thanks run good

I made

Code: Select all  Expand view  RUN
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
Image

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 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: 7075
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Danielmaximiliano and 51 guests