1
Guys, I’m starting in c# and I’m having a problem. I’m working with Windows form. I’m using the Textchange event in a textbox, and with each key pressed in the field it triggers the event. I need the event to be triggered only when the field value is fully "typed" and shift focus (Avascript onchange event type).
Any idea?
It is the same case that I commented in the answer below.
– Marcos Vinicius
Probably there is no event you are looking for...
– Jéf Bueno
You can check if the field has been modified, there is some property?
– Marcos Vinicius
I think there is. Just a minute @Marcosvinicius
– Jéf Bueno
@Marcosvinicius uses a textchange flag to change it to true, indicating that the control has been changed. in the Leave event check if the flag is true ai executes its logic and passes the flag to false.
– Marciano.Andrade
That’s an idea. Thank you!
– Marcos Vinicius
One remark, I have my fields all in a bindingSource. Maybe by it I get something.
– Marcos Vinicius