in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Setting C1TextBox (with EditMask) Text at runtime

Last post 09-11-2007 10:46 AM by C1_GregL. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-30-2007 12:24 PM

    Setting C1TextBox (with EditMask) Text at runtime

    Hello, 

    I have one C1TextBox with EditMask "99,99", the box first has at runtime "__.__" into it for entering the user a string replacing the underline characters

    When  the user enters 1234 for example the textbox has "12.34" (The user can not replace the dot character)

    How can I set the Text at rutime according the editMask? For example if I set 1234 then the TextBox shows "1234_" , replacing the dot character

    I want the text of the C1TextBox showing "12.34"

    Thanks

  • 09-11-2007 10:46 AM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: Setting C1TextBox (with EditMask) Text at runtime

    Hi,

    The behavior of the EditMask is intended for editing.  You can try using the Custom Format mask, or let us know at feedback@componentone.com that you'd like to see a way to set the text at runtime using the EditMask.

    Regards,
    Greg L

    Filed under: ,
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.