Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo

  How to create an About Dialog (Friday, October 08, 2004)




Found the following interesting discussion in the Newsgroups:

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

 
Previous Posts
    - equivalent of a Session variable in Windows Forms?...
    - Webbrowser and Fake filename into the IMG src attr...
    - How to send Crystal Reports report by email
    - Hiding a form's Close ControlBox button
    - How to Deactivate all MDI child forms
    - Typed dataset and the grid control
    - About Events in datagrid and SelectedIndexChanged
    - How to get SQL Server Timestamp value
    - How to disable F1 Thru F12
    - Copying files over network

Archives
    - 10/03/2004 - 10/10/2004
    - 10/10/2004 - 10/17/2004
    - 10/17/2004 - 10/24/2004
    - 10/24/2004 - 10/31/2004
    - 10/31/2004 - 11/07/2004
    - 11/21/2004 - 11/28/2004
    - 11/28/2004 - 12/05/2004
    - 12/05/2004 - 12/12/2004
    - 12/12/2004 - 12/19/2004
    - 12/19/2004 - 12/26/2004
    - 12/26/2004 - 01/02/2005
    - 01/23/2005 - 01/30/2005
    - 01/01/2006 - 01/08/2006
    - 09/24/2006 - 10/01/2006

Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland