Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Disable ComboDropDown

How do you disable a ComboDropDown. set "ENABLED" to 0 and it greyed, but the dropdown button can still be clicked.

Comments

  • Barry,

    Setting the ENABLED property of the edit line control only affects the edit line itself. The reason you might want this is if you wanted to create a simple combobox which only allowed the user to select from the dropdown list.

    If you need to disable the dropdown itself then you also need to set the OptionEnabled property to false.
  • Thank you, forgot to look at the online help, used the one I had - will fix that up.
Sign In or Register to comment.