Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
Setting DropDownStyle in code after form load event
posted

Hi there,

I have the latest version of the WinForms controls (14.1.20141.2059), and I noticed some odd behavior. When setting the DropDownStyle to DropDownList in code after the form load event, the combo box seems to get the highlighed back color that makes it look like it should be read only. However, the cursor is still present and I can free type in the box. Selecting an item from the list also exhibits the same behavior (and throws format exceptions in the log).

Has anyone else seen this? Has this already been reported?

P.S. - Setting the DropDownStyle in the designer or during the load event seems to work just fine.

Parents
No Data
Reply Children
No Data