Parent form detects mouse click from child form.

  • Thread starter Thread starter sianzsianz
  • Start date Start date
S

sianzsianz

Hi everyone..
can anyone teach me how the parent form be able to handles a mouse
click or mouse down event from the child form or child's form
controls?

Means to say.. when a button on the child form was clicked,
The parent form will label.text = "child Button1 Clicked" and set the
label to display the button on the child form was click.
 
* (e-mail address removed)-dot-sg.no-spam.invalid (sianzsianz) scripsit:
Hi everyone..
can anyone teach me how the parent form be able to handles a mouse
click or mouse down event from the child form or child's form
controls?

Means to say.. when a button on the child form was clicked,
The parent form will label.text = "child Button1 Clicked" and set the
label to display the button on the child form was click.

Have a look at the 'AddHandler' keyword.
 
Back
Top