Turning text box/label upside down

Discussion in 'Questions (Windows Mobile)' started by stbi, Apr 16, 2008.

  1. stbi

    stbi Member Licensed User

    I'm thinking of an app where two people sit face to face around the device.

    Therefor some controls like labels, text boxes or buttons should be presented upside down.

    Buttons are not a problem as I could use image buttons with images already turned. But how can I turn labels or text boxes upside down?

    One idea I had is to change labels on a second hidden form, capture and rotate them graphically using dzt's lib and present it on the main form.

    Will this work?
    Do I better have to write a special lib?
    Any other ideas?

    Thanks in adavance,
  2. Erel

    Erel Administrator Staff Member Licensed User

    I think that the best solution is to create a Bitmap with ImageLib.
    Write the text on this bitmap with Drawer.DrawString and then rotate it with dzt's library.
    You can show the bitmap with an Image control.
  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