Vertical text on a Button

Discussion in 'Bug Reports' started by Zenerdiode, Aug 25, 2008.

  1. Zenerdiode

    Zenerdiode Active Member Licensed User

    This works fine in the IDE and when Opt Compiled for the desktop; but not on the device at all. Does anyone know a workaround?

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    The underlying .Net CF button doesn't support multiline text.
    You can use an ImageButton instead (with or without an image). ImageButton does support multiline text.
  3. Zenerdiode

    Zenerdiode Active Member Licensed User

    Thanks Erel,

    That works, however I think I'm going to have to redesign my form; as the ImageButton interaction is different than the other buttons. When you select an ordinary button, its bacground turns black; but the ImageButton 'sinks' as if it is a 3D button.
  4. Cableguy

    Cableguy Expert Licensed User

    Yu can use the image button in Opaque mode, changing its background color in the click event and doing a litle sleep....;)
    Something like....

    Sub myimgbtn_click
    sleep (100) ' This will alow for the color change to be noticeable, in case the event done in the sub are too quick...
    do something
    Myimgbtn.color=cGray ( or whatever the default color was)
    End sub
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice