Statusbar fields?

BlitzMax Forums/BlitzMax Programming/Statusbar fields?

JoshK(Posted 2006) [#1]
Was this every solved? There are a few mentions on this forum of birdie.maxguiex, but it doesn't appear to be supported with the latest versions of max.


Brucey(Posted 2006) [#2]
There are 3 fields, defined by TABS in the string you use to SetStatusText.
Tabs work as field separators.

First field is left-aligned
Second field is centered
Third field is right-aligned

so...
SetStatusText(window,  "Left~tMiddle~tRight")



JoshK(Posted 2006) [#3]
That is a really lousy way to do it. Even if you only need 3 fields, having them shift alignment would look really bad.


SebHoll(Posted 2006) [#4]
That is a really lousy way to do it. Even if you only need 3 fields, having them shift alignment would look really bad.


Well, I think it started by the fact that the Windows API automatically turns tabs into Alignment codes when the message is sent to update the status bar GUI control. For cross-compatibility, I believe Skid added a work around for Cocoa but I don't think the tabbing works on FLTK (where adding a tab substring actually performs a tab stop).