Reply

Join Date: Jul 2008
Posts: 467
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 23
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

code need

 
0
  #1
20 Days Ago
have any code for all form. I mean, here I write
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. form1.show
  2. form2.show
  3. form3.show
But I want I write one line. like: "allform.show". or other what is right.
I like sword. Attack or Defense.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,812
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso
 
0
  #2
20 Days Ago
I guess only one form can be active at a time.
Last edited by ithelp; 20 Days Ago at 7:11 am.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 218
Reputation: AndreRet is an unknown quantity at this point 
Solved Threads: 31
AndreRet AndreRet is offline Offline
Posting Whiz in Training
 
0
  #3
19 Days Ago
Abu,

Try the following. Yes you can display more than 1 form, Just set the focus to the form you need. Remember that every form takes up memory, slowing your application!!!!

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Public Sub LoadAllForms()
  2.  
  3. Dim Form As Form
  4. For Each Form In Forms
  5. Form.Show
  6. Next Form
  7.  
  8. Form1.Show 1
  9. End Sub

Hope this is what you were looking for.
Please mark questions as answered when done.

Be the ONE!!!
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC