deleting white sapces - InfoPath Dev
in

InfoPath Dev

deleting white sapces

Last post 02-11-2007 09:07 PM by K.Ramana Reddy. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-08-2007 04:03 AM

    deleting white sapces

    hy

    I write c# code and whant to do the following thing:
    When the textbox "Name" is completed with
    " John ", a function will write in the textbox
    "John".

    I am capable of writeing such a function in C#.
    But i don't know how to use an event handler for a textbox.

    Should i write just name.onafterchange
    {
    }
    or must i use a wizard witch will shaow me where to write the code?

    i am very confused
  • 02-08-2007 04:42 AM In reply to

    Hi,

    As my understand, You want call a function after entering the something in the text box?
    If it is right, you can use OnAfterChange event.

    I hope this will help for you.

    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
  • 02-09-2007 02:40 AM In reply to

    thanks

    is it ok if i click on the textbox(in design mode), then on "Data validation",then on "Events" drop down list i choose "OnAfterChange", then "Edit"?

    Or will this make something else happen?
  • 02-09-2007 06:27 AM In reply to

    This is exactely what you have to do.
    Listen to Motörhead cos they play Rock'n Roll :)
  • 02-11-2007 09:07 PM In reply to

    Hi,

    Yes, samething i said in previous post, in that OnAfterchange event, write the code, what you want to do.

    If you are getting any problems, feel free to ask.

    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.