Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi Forms and focus

Status
Not open for further replies.

VRIT

IS-IT--Management
Sep 2, 2002
60
GB
Afternoon,

After a long spell of not doing any programming I am now getting back into it. However the last time I did any coding was with VB3 and alot of things seem to have erm changed.

I have a main form and a simple menu. Once a new form is displayed after clicking on a menu option I want to prevent the user being able to click back onto the main form. How do I set it so that the second form needs to be closed before returning to the main form.

Any help most welcome

Regards,

A very old VB programmer
 
Form2.show VBModal

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Excellent,

As Always I knew I could count on someone.

Thank you for your time and assistance

 
Glad to help.

"Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top