Results 1 to 5 of 5

Thread: ComboBox.Text

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225
    I tried to change the value and it didn't work, then I tried to do it in code by writing ComboBox.Text = "text" but it didn't work, said that it's Read Only protected.

    Any way to get around this ?

    Thanks.

    -Git

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

    <?>

    combo.text is just a reflection of what you load
    you have to change it at the load level

    If you load a field from a file you have to change
    the field in the file before it will be reflected
    in the combo.text display.
    "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
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    If the Style property is currently 2, change it to 0. This shold allow editing the Text property OK
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225
    Oh, ok. I was looking at it in Edit Mode and I thought it was supposed to come up.

    Well, how do I go about making text appear on the list (not under the list when you click it, I mean the list's label) as default when the program loads?

    Thanks.

    -Git

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225
    Jerry -

    I need it set on 2, and I can't figure out how to edit the main label. At the moment it's blank.

    Thanks.

    -Git

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