Results 1 to 5 of 5

Thread: Listboxes - howto enable but stop users from changing text

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    84
    How can I enable a list box (so that the list selection works), but stop users from changing the .text value of the listbox (adding characters, or deleting characters).

    thanks!

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Are you sure you're using a listbox and not a combobox? If you use a listboc the user can't change the text.

    If you're using a combobox, try changing the .locked property to true.
    Harry.

    "From one thing, know ten thousand things."

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    84
    OK - I feel stupid.

    I'm new though... so what the hey.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    84
    Oh, wait

    Just checked it - I was talking about a combo box (drop down box).

    So, how would I do what I was talking about with a combo box?

    thanks,

  5. #5
    New Member
    Join Date
    Mar 2000
    Location
    Geelong, Victoria, Australia
    Posts
    8
    Combo1.Style = 2
    Stu.

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