Page 1 of 1

Position of a TBButton

Posted: Wed Feb 21, 2007 8:02 pm
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,

Posted: Wed Feb 21, 2007 10:45 pm
by Kleyber
Solved with Rebars. :wink:

Regards,