April 5th, 2008, 06:30 PM
VB .NET form focus
I'm creating an app in Visual Basic, and at one point I want to display one form on top of another form. But, I don't want the second form, that I display on top, to be able to lose focus.
I've tried to edit the second form's 'LostFocus' event, but with no success. Therefore, I was hoping that someone would be able to tell me how to accomplish this.
Thanks in advance,
April 5th, 2008, 10:14 PM
Look into 'modal' dialogs.
April 6th, 2008, 09:40 AM
I considered modal dialogs, but they don't provide the functionality that I required.
April 6th, 2008, 01:01 PM
What functionality do you require, because AFAIK in .NET modal dialogs are just Forms that you make visible by calling Form.ShowDialog(parent) where parent is the form below the modal dialog?
April 6th, 2008, 06:18 PM
What functionality is missing? Dialogs inherit the properties of System.Windows.Forms.Form, so they should have all the functionality of a regular form.
By TTAYO in forum General Programming Questions
Last Post: December 5th, 2005, 10:01 AM
By Mankan in forum Other Tutorials Forum
Last Post: July 23rd, 2002, 02:43 PM
By Negative in forum Other Tutorials Forum
Last Post: July 11th, 2002, 10:03 PM
By July in forum Programming Security
Last Post: June 29th, 2002, 06:05 AM
By V3RIZON in forum Programming Security
Last Post: March 16th, 2002, 07:01 PM