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

forcing a form to be on top of the switchboard

Status
Not open for further replies.
Jan 5, 2004
34
US
Hello,

I need to have a message form to be on top of the switchboad when the database is oppened.

I am able to show both forms, message and switchboad, but the switchboard is on top thus hiding the message form.

Quick response would be great.

Thanks
click

Email Service Free from Banner ads.
 
By design, the pop-up property of the switchboard is set to yes. The pop-up property is what is causing it to remain on top of all other windows. If you change the pop-up property of the seitchboard form to no, and open the message form with the pop-up property set to yes, the message form should be on top.
 
How does the second form open?

If in the OnOpen event of the Switchboard the last thing you did was to open the other form, it should be on top by default.

Alternately there is the more drastic measure of making the second form a popup/modal form. That will keep it on top, but cut your ability to get to the switchboard until the second form is closed.

I'd suggest the first option.
 
Thanks,

I suspected the POP-Up, but that was already set to "NO" on the switchboard. So I set the POP-up on the message form to "YES" and that did the trick.

Thanks for quick response.
Click

Email Service Free from Banner ads.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top