Results 1 to 7 of 7

Thread: Listbox Question

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    344

    Lightbulb

    If I wanted to make the text in the listbox fixed in which you can't change it from its original format....how would I go about doing that?
    -RaY
    VB .Net 2010 (Ultimate)

  2. #2
    Guest
    I do not quite understand. Do you mean so the user can't change/edit the text? If so, that is automatically done.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    344

    Serious?

    I got a combobox, and the user is able to edit the text........ I don't get it.
    -RaY
    VB .Net 2010 (Ultimate)

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    344

    Ooopss

    i said list box instead of combooo......sorry!
    -RaY
    VB .Net 2010 (Ultimate)

  5. #5
    Addicted Member
    Join Date
    Apr 2000
    Location
    Sheffield, England.
    Posts
    136
    Change it's 'style' property to '2'. That should do it.
    Visual Basic 6 Enterprise Edition + SP4

  6. #6
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    You can change the style of the combo-box to dropdownlist this will prevent people from editing the text.

    Good luck
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  7. #7
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Oops you were first, sorry didn't saw it
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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