Wisej.Web.Combobox + ReadOnly true = problem

0
0

Hello,

I use:
[+] licensed Wisej 2.2.17.0
[+] Microsoft Visual Studio Enterprise 2019, version 16.7.7
[+] Windows 10

I found the following problem for the Wisej.Web.Combobox.

[1] Configure the combo box with ReadOnly = true

[2] Fill the combo box with
foreach (FontFamily font in System.Drawing.FontFamily.Families)
comboBoxFont.Items.Add (font.Name);

[3] Combobox can no longer be used, scroll bar cannot be moved, entry cannot be selected

[4] Workaround ReadOnly = false

Many Thanks. Greetings.

Attachment
  • You must to post comments
1
0

Hi Mathias,

I´m not sure I fully understand your request as you are talking about a readonly ComboBox that should still allow to select an entry?

If you want to have a ComboBox where you cannot edit the text part but still select entries you can set the DropDownStyle to DropDownList

ReadOnly ComboBoxes should not allow a change of the value.

Hope that helps.

Best regards
Frank

  • Mathias Häuser
    Hello Frank, please call my developer test area: [1] https://edikonverterwisejpwawebapplication.azurewebsites.net/ [2] Navigation “Einstellungen” [3] ComboBox “Schrift für Dialoge” show my problem. ReadOnly = true, DropDownList, , scroll bar cannot be moved, entry cannot be selected Best regards, Mathias
  • Frank (ITG)
    Hi Mathias, thank you for providing that test case. But it´s correct ReadOnly means you cannot select an entry. Best regards, Frank
  • Mathias Häuser
    Thanks Frank. So I have not understand. It’s a feature and not a bug. :-) I have now changed from ReadOnly = true into ReadOnly = False.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.