Position of a TBButton

Post Reply
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Position of a TBButton

Post by Kleyber »

Hi all,

Using TSButton in a button bar, I usually do this:

Code: Select all

   Define SButton oBtnS Name "SAIR38","SAIR38" Of oBar ;
          Message "Sair do Sistema" NoBorder ToolTip "Sair do Sistema" ;
          Color nRgb(0,0,0),{CLR_WHITE,CLR_FIM,1} W97 ACTION oWnd:End()

   oBtnS:nLeft:=oBar:nWidth-45
   oBar:bResized:={||oBtnS:nLeft:=oBar:nWidth-45}
in order to put the button QUIT at the right corner of the button bar. How can I do this with TBButton?

Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Post by Kleyber »

Solved with Rebars. :wink:

Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
Post Reply