Results 1 to 8 of 8

Thread: AHHHHHHHHH! Combo Boxes!

  1. #1

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80

    AHHHHHHHHH! Combo Boxes!

    Okay, I need to use the Combo_change event..

    However, the style of my Combo box is a Drop Down list, so people can just select the items, instead of editing them.

    The .locked property makes it so you can't change your selection, so I had to turn that off..

    What can I do if I need to trigger events in a combo_change event, but I don't want to let the users edit the combo?

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    If you can't edit, you can't change...Change Event???
    What are you wanting to happen and why?
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80
    Well, set a combo box with a style = 3, (list box type)..

    Now, when a user changes his selection (maybe from index 0 to index 1), I want to be able to trigger an event.

    What can I do?

  4. #4
    Registered User Olly's Avatar
    Join Date
    Apr 2001
    Location
    Switzerland
    Posts
    252

    Red face Strange

    Try this:
    .locked = false
    .style = 2

    and catch selections with the click, not with the change funtion

  5. #5

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80
    I thought about the click event.. but it makes no sense..

    If they have to scroll down the list, the first click will be misinterpreted, won't it?

  6. #6

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80
    Also, I can't disable the stupid control when it's style is set to 2..

    What's up with this!

  7. #7
    Registered User Olly's Avatar
    Join Date
    Apr 2001
    Location
    Switzerland
    Posts
    252

    hm

    yeah, could but you cant prevent that if you directly want to catch a change in the list. Then you would have to add a submit button or something like that.
    Last edited by Olly; Apr 25th, 2001 at 05:25 PM.

  8. #8

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80
    Yea, I just did that..

    *shrugs*

    Thanks guys.

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