Results 1 to 5 of 5

Thread: Is there anyone at all that can answer this?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    123

    Post

    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?

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    123

    Post

    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.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    123

    Post

    Ha, stupid me! I had the cobobox locked! No wonder I couldn't select an option! Don't I feel stupid!

  5. #5
    Guest

    Post

    Ya can only real learn something by your own mistakes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width