|
-
Jan 7th, 2005, 07:17 AM
#1
Thread Starter
Junior Member
Simple Q
Hi, Im not that good at VB so apologies if this is a simple question. Im trying to assign the variable value of a textbox to a commandbutton caption on a different form and the code behind the commandbutton will be related to the variable value of a combo box that is related to the textbox. Any clues?
-
Jan 7th, 2005, 07:28 AM
#2
Re: Simple Q
I'm not completely sure I understand what you are asking, but I'll take a shot. Are you looking for something like this?
VB Code:
'on Form1
Form2.Command1.Caption = Text1.Text
'on form2
Private Sub Command1_Click()
Msgbox Form1.Combo1.Text
End Sub
-
Jan 7th, 2005, 08:38 AM
#3
Thread Starter
Junior Member
Re: Simple Q
Yep that kinda helps thanks
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
|