Mouse Click Behaviour

Amorphis

New member
Joined
Feb 16, 2006
Messages
2
Programming Experience
1-3
Hi
i got a problem , i have an application with mdi child forms, this is a vb.net application translated from vb, with vb the switch between mdi forms was enough mouse clicking on the inactive form ( when 2 or more are open ) and with vb.net that behaviour was changed to double clicking ( more or less )
how can i implement the switch with just one mouse click?
 
If you name the Form you want to open Form3 (or change it according to your form name), the code below will open the form when placed in the click event of a control.

Put it in a command button and Form3 opens when you click the butoon.
Put it in the click event of another form and Form3 opens when you click on the form.

VB.NET:
Expand Collapse Copy
Dim Form3 AsNew Form
Form3.Show()
 
Back
Top