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!

Modal Forms On Touch Screen

Status
Not open for further replies.

TTops

MIS
Sep 13, 2004
70
US
I have a VB.NET Windows application I created in Visual Studio 2003. As the user touches buttons on the screen, forms are always opened using the ShowDialog method and I've been very careful to close or hide the previous form. Somehow when I look in on the program after being away for several hours, there will be multiple forms open on the task bar. The program has not crashed and all data manipulation is carried out correctly. At one point, I call a print function that momentarily flashes a small Windows dialogue box telling the user, "Now printing page 1...page 2..." and so on. Is it possible that this Windows form is taking the modal property away from my application? That could give the user the chance to touch behind the current form and re-activate the previous form. Any thoughts or new ideas would be greatly appreciated.

Thanks,
T-Tops
 

Make sure all your modal forms have the ShowInTaskbar property set to False.


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
What are the implications of setting this property to False?

Thanks,
T-Tops
 
I guess what I'm asking is...if I'm closing the forms properly (i.e. "me.close"), shouldn't they disappear from the taskbar anyway?

Thanks,
T-Tops
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top