Menu Bar Separator

MM2forever

Active Member
Licensed User
Longtime User
I've searched the forums for a while to make sure that this isn't a well-known thing, but I still fear it could be one.
In that case: :sign0161:

I was making some increase/decrease menu buttons labeled with "+" and "-".
I noticed that there wasnt any "-" menu while running on desktop, instead
the menu bar itself was bigger and in this 2nd row there was an unlabeled button.
Giving this button a node creates an error on the pocket pc, but having menues after this one in the root creates the "|" separator just as seen in many programs.

Just call me a :sign0104: If this is already written somewhere.
 

Attachments

  • separator.sbp
    387 bytes · Views: 381

Cableguy

Expert
Licensed User
Longtime User
No, this hasn't yet been posted...

I see your proble and present a possible solution:
instead of + and - (wich result in a separator), you could use (+) and (-), in this case being the first letter NOT the minus sign, it should present it self correctly.

PS: I' not sure if this wasn't suposed to be posted in the Questions forum....
 
Last edited:

MM2forever

Active Member
Licensed User
Longtime User
it wasnt supposed to be a question, more informing about my recent discovery
If it would be possible to add a menu item @ runtime, it could be defined with Chr(45) - like having quots in a string... dunno

edit:// having spaces in the menu button string label " - " is also an option
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
Althought you cant create menuitems in runtime, you CAN rename them....thus being able to use the char(45) as you posted...
 

MM2forever

Active Member
Licensed User
Longtime User
oh yeah - cable guy : always 1 thought ahead (meant to be positive)

unfortunally it generates an exeption

btw: havin spaces also makes buttons bigger which is a nice side-effect for the click'in user....
 
Top