April 19, 2024, 04:10:16 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Statusbar Text Alignment

Started by GWS, October 17, 2007, 12:33:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GWS

This doesn't seem to be covered in the help notes at the moment, so I thought I'd post it here ..  :)

Text in Status Bar panes is by default left aligned.

To Center it, insert a 'Tab' character in the text string as in ..

controlcmd win, 100, @SWSETPANETEXT, 0, chr$(9) + "Status"

This would place the word 'Status' in the center of the first pane of the control .. (panes are zero based)


To Right Align text, insert two 'Tab' characters in the text string as in:

controlcmd win, 100, @SWSETPANETEXT, 0, chr$(9) + chr$(9) + "Status"


all the best, :)

Graham


Tomorrow may be too late ..