J
Jason Sobell
Hi,
I'm trying to figure out a sensible way of making a combobox (configured as
a dropdown list) behave in a read-only fashion.
Setting Enabled=False will grey the text and the background, but I want to
leave the component looking normal but not allow the user to change the
contents.
I've tried subclassing a combobox but can't see any overrides I can use to
produce this behavior.
A very last alternative will be to create a usercontrol with a label that
visually replaced the dropdown when the component is locked, but I would
much prefer to find a way of using the single native component.
Any ideas?
Cheers,
Jason
I'm trying to figure out a sensible way of making a combobox (configured as
a dropdown list) behave in a read-only fashion.
Setting Enabled=False will grey the text and the background, but I want to
leave the component looking normal but not allow the user to change the
contents.
I've tried subclassing a combobox but can't see any overrides I can use to
produce this behavior.
A very last alternative will be to create a usercontrol with a label that
visually replaced the dropdown when the component is locked, but I would
much prefer to find a way of using the single native component.
Any ideas?
Cheers,
Jason