Thread Solved

Join Date: Jul 2008
Posts: 161
Reputation: ryan311 has a little shameless behaviour in the past 
Solved Threads: 1
ryan311 ryan311 is offline Offline
Junior Poster

help

 
0
  #1
Dec 22nd, 2008
how can i call a 1 command button in another form? for example i have form1 in the form 1 i have listbox, in my listbox i have item Customer, Product and etc if i double click my Customer i want to click my command 1 button in form 2 how can i do that? and also in the product if i click the product i want to click the command3 in form 3 please help thanks
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 144
Reputation: sierrainfo is an unknown quantity at this point 
Solved Threads: 9
sierrainfo sierrainfo is offline Offline
Junior Poster

Re: help

 
0
  #2
Dec 23rd, 2008
In Form1
Private Sub CustemersList_DblClick()
Form2.Comand1_Click()
End Sub

In Form2
Public Sub Command1_Click()
'Your Code Here
End Sub

If you got it MARKED AS SOLVED
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 161
Reputation: ryan311 has a little shameless behaviour in the past 
Solved Threads: 1
ryan311 ryan311 is offline Offline
Junior Poster

Re: help

 
0
  #3
Dec 23rd, 2008
well thanks but you gave me wrong answer and thanks for the idea dont worry i will mark this thread as solved
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



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