Results 1 to 2 of 2

Thread: DBCombo dropdown list

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Littlehampton, W Sussex GB
    Posts
    203

    Post

    This is a very basic question - I have a dropdown list and can select items from it OK. How can I let the user un-select? In other words what do I need to do to balnk out that field once it has been selected?
    It must be simple but I don't know how.

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    DropDownListControl.ListIndex=-1

    (or if it's a database-linked dropdown you need to do
    DropDownListcontrol.BoundText=""
    )

    this will clear the dropdown list text.

    ------------------
    Mark "Buzby" Beeton
    VB Developer
    [email protected]




    [This message has been edited by Buzby (edited 02-07-2000).]

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