About Dialog by:rena
|
Hi All, I would like to make a about dialog which have the effect like setting the main form enable = false, and when it closed main form will return enable. I remember that in VB6 there is some ways to do it and pass a parent parameter to the function. I would like to know how should it be done in the standard VB dotnet worlds. Thanks Rena,
|
| | Reply: by:Cor Ligthert
|
| | Hi Rena,
I think you are just looking to the frm.showdialog
It does all the things automaticly in my idea where you are asking for?
Cor
|
| | Reply: by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])
|
| | Set the form's 'FormBorderStyle' property to 'FixedDialog', then call the form's 'ShowDialog' method to show it.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
|
| | Reply: by:rena
|
| | What I mean is there is a Form A, with mainmenu, when user click on the menu I will prompt up a New form and the user cannot get focus of Form A, unless he close the New Form. How could it be achieve?
are there any simple code? Thanks
|
| | Reply: by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])
|
| | \\Dim f As New AboutForm() f.ShowDialog() ///
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
|
0 Comments:
Post a Comment