About Dialog

  • Thread starter Thread starter rena
  • Start date Start date
R

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,
 
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
 
* "rena said:
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.

Set the form's 'FormBorderStyle' property to 'FixedDialog', then call
the form's 'ShowDialog' method to show it.
 
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
 
* "rena said:
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?

\\\
Dim f As New AboutForm()
f.ShowDialog()
///
 
Back
Top