Link to home
Start Free TrialLog in
Avatar of retep
retep

asked on

Combobox readonly.

Im very surprised to see that a Combobox doesn't have a read-only property. I need to prevent the user from choosing anything else but the things I have added to the Combobox.

How is this done? Is there some other property I can use?
Avatar of inthe
inthe

if i remember right this should do it:

ComboBox1.Style:=csDropDownList;

try it and see if works
Regards Barry
Avatar of simonet
Right on, Barry! And fast!
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of retep

ASKER

Jep, just what I was looking for :-)

Thx.
WOW, Its work. Thx so much Inthe