Position of a TBButton

Position of a TBButton

Postby Kleyber » Wed Feb 21, 2007 8:02 pm

Hi all,

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

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

Postby Kleyber » Wed Feb 21, 2007 10:45 pm

Solved with Rebars. :wink:

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests