Results 1 to 7 of 7

Thread: ComboBox

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    ComboBox

    how do you make a combobox read-only?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: ComboBox

    Originally posted by EyeTalion
    how do you make a combobox read-only?
    I don't think combobox has this property !!but there is alternative way to make it readonly !

  3. #3

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    I just don't want the user to be able to type in there...

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by EyeTalion
    I just don't want the user to be able to type in there...
    Well , it's easy then

    you can do it through code like so:
    VB Code:
    1. ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
    or within combobox properties window :
    setdropdownstyle to DropDownList

  5. #5

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    thanks...have you worked with the DateTimePicker control? In the dropdown it's showing:

    Tuesday, Febuary 25, 2003...I'll like it to show 02/25/03 (MM/dd/yy)...not sure where to set it though?

  6. #6
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    There is a property you can set to short date time.
    Dont gain the world and lose your soul

  7. #7

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    thanks

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