OnValidating Event for TextBox

B

BuddyWork

Hello,

How can I trigger the OnValidating event for a TextBox
from another Form?

Say Form1 has TextBox, Form1 is loaded modaless
and Form2 is loaded Modaless but I want to run the TextBox
Validating event.

thanks,
 
M

meg

try by changing "causes validation" property of the
textbox on which u want to raise the event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top