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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Show Question

Status
Not open for further replies.

Miners47

Technical User
Jul 14, 2000
12
US
I am getting back in to some VB programming after an extended hiatus.

I have an event programmed on Form A. When a specific criteria is met within this event, I need to fire off Form B (formb.show). No big deal.

I need to make Form B over take all other active windows (Enen if they leave the application and go to another one). I can't remember if there is a property that I need to set on the Form or not.

Any help would be greatly appreciated.

Thanks

 

for your program you can do...
[tt]
formb.Show vbModal, form1
[/tt]

for all programs you could use the SetWindowPos API.

Good Luck

 
Thanks for the info...The SetWindowPos API was exactly was I was looking for. I appreciate the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top