change combobox.Style using code

al4629740
al4629740 used Ask the Experts™
on
How can I change the combobox Style using code?  I am trying with the following with no success:

YAT.Combo13.Style = "0 - Dropdown Combo"
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Retired
Top Expert 2012
Commented:
The Style property is read-only at run time.
You could use two combo boxes in the same location with one visible and the other not, switching them around as necessary.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial