Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
680
How to align the text to left side for the UltraMaskedEdit (setting Edit as Integer)?
posted


Hi,
Is it possible to make the UltraMaskedEdit (setting Edit as Integer) to align the text to left side? The default is at right side, and we try to change it to left side using the Appearance -> TextHAlign, but it does not work.

Thanks.
Felix

Parents
  • 71886
    Suggested Answer
    Offline posted

    Hello Felix,

    What you could do is to use the 'InputMask' property of the control and set it like in the following line of code:

          ultraMaskedEdit1.InputMask = "###";

    The 'trick' here lies in using the "#" sign, not the 'n' mask. Please try the above and let me know if it meets your requirements.

Reply Children