Format Textbox data

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Joseph So

    Format Textbox data

    Hi,

    I made a custom textbox control inheriting from native windows
    textbox. The i made another form where i used the custom control, what i
    want to do is to bind the data from my datatable to the textbox then
    when i load the data from the datatable before that data is shown in the
    textbox i want to format the data first so the data will show up to the
    textbox in the formatted style. Same when i move next or previous from
    my currencymanager in the form the data should be formatted first. My
    problem is i can't find the right event that will only trigger when i
    load up data to the textbox. I want to do this formatting on the custom
    control that i made and not on the form where i put the textbox. Is
    there any way to do this if not on the event then on other ways?

    Thanks.
    Ryan.



    *** Sent via Developersdex http://www.developersdex.com ***
Working...