|
-
Sep 30th, 2004, 11:03 PM
#1
Thread Starter
Lively Member
Solved - managing About form
I am using About form and its link is through menu item as About.
how do I call it by menu item click?
I want to freeze main form existing below it while it displayed.
on clicking Ok button in About form it shall close and the form freezed to be active.
Last edited by santosh66; Oct 19th, 2004 at 10:32 PM.
-
Sep 30th, 2004, 11:09 PM
#2

Edit People below! Don't you have ANYTHING better to do?
Last edited by Merri; Sep 30th, 2004 at 11:50 PM.
-
Sep 30th, 2004, 11:10 PM
#3
VB Code:
'Call the about form from the menu About click event
'Use vbModal to lock the main form so all focus on the about
'form until closed.
Private Sub mnuAbout_Click()
frmAbout.Show vbModal, Me
End Sub
'Behind the about form code
Private Sub cmdClose_Click()
Unload Me
End Sub
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 30th, 2004, 11:12 PM
#4
In the Form1 menus code block:
VB Code:
Option Explicit
Private Sub mnuAbout_Click()
frmAbout.Show vbModal, Me
End Sub
This will open the About Form (frmAbout) and display it Modaly so
it will retain the focus until closed (can't click on Form1).
Bruce.
-
Sep 30th, 2004, 11:14 PM
#5
Bugger
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|