|
-
Feb 24th, 2000, 07:28 AM
#1
Thread Starter
Lively Member
Ok, here's the gig. I got a combobox. Now what I found is that by adding text to the list property I can create an option for the user to select. However when I run the program I cannot select any options. What I want my program to do is have the user make a selection then click next, then to have the next form determine the value of the selection. Does this make any sence?
-
Feb 24th, 2000, 07:39 AM
#2
Hyperactive Member
Your problem is probably more difficult than this. here's what I think answers it pretty well.
Private Sub Combo1_Click()
cmdNext.Enabled = True
Text1.Text = Combo1.List(Combo1.ListIndex)
End Sub
I tried it, it works. If from a different form, then put the names of the form before the name of the control. For example Form2.Text1.Text = Form1.Combo1.List(Form1.Combo1.ListIndex)
bob
Edited by Bob Baddeley on 02-24-2000 at 07:43 PM
-
Feb 24th, 2000, 07:59 AM
#3
Thread Starter
Lively Member
That is not what i think you think i meen(now that is really confusing). I am using a combo box like the one at the bottom of this page that says "Please choose one". I got what I think is an option to display within the drop down list however I can not select it.
-
Feb 24th, 2000, 08:33 AM
#4
Thread Starter
Lively Member
Ha, stupid me! I had the cobobox locked! No wonder I couldn't select an option! Don't I feel stupid!
-
Feb 24th, 2000, 05:05 PM
#5
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
|