Menu items alignment

derez

Expert
Licensed User
Longtime User
The menu items in my program are aligned to the right (maybe because the device uses also Hebrew.
Is ther a way to Left-align them ?
I tried to use the FormLib (which is for textboxes and panels) and got the "invalid Cast Exception"
 

Attachments

  • menu2.JPG
    menu2.JPG
    11.8 KB · Views: 166

derez

Expert
Licensed User
Longtime User
Well, you'll be surprized...:sign0060:
 

Attachments

  • menu3.JPG
    menu3.JPG
    29 KB · Views: 180
Last edited:

willisgt

Active Member
Licensed User
Okay, I'll bite.... how did you do that?
 
Last edited:

derez

Expert
Licensed User
Longtime User
You can see in the original that long menu items were pushed left, so I added blanks after the menu item text until all were pushed left in the sufficient space. It took some trial and error because the length of the blank is not the same as the other letters.

Sorry, nothing smart but it looks like what I wanted :)

Erel !
By the way, in my first post here there is a right bracket missing and the posts compiler did not say it's an error.
 
Last edited:
Top