Menu items alignment

Discussion in 'Questions (Windows Mobile)' started by derez, Dec 27, 2007.

  1. derez

    derez Expert Licensed 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"
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    You can't change the alignment.
    It is an effect of the Hebrew language program.
     
  3. derez

    derez Expert Licensed User

    Well, you'll be surprized...:sign0060:
     

    Attached Files:

    Last edited: Dec 27, 2007
  4. willisgt

    willisgt Active Member Licensed User

    Okay, I'll bite.... how did you do that?
     
    Last edited: Dec 28, 2007
  5. Cableguy

    Cableguy Expert Licensed User

    I think the question was "How did you do that?"
     
  6. derez

    derez Expert Licensed 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: Dec 28, 2007
  7. Erel

    Erel Administrator Staff Member Licensed User

    Were you using the optimized forum compiler or the regular one? ;)
     
Loading...