Home » U++ Library support » LineEdit, EditFields, DocEdit » [BUG] DropList selection goes blank... (When moving focus away from an initial selection of a drop list, the drop list displays a blank selection.)
[BUG] DropList selection goes blank... [message #50469] |
Sun, 04 November 2018 20:38 |
ptkacz
Messages: 89 Registered: March 2017
|
Member |
|
|
Here's a bit of code that populates a DropList and selects one of the options to display as default value:
dropList.Add("Cows");
dropList.Add("Apples");
dropList.Add("Cars");
dropList.Set("Cars");
Initially when the drop-list displays, "Cars" lists as the default selection. Upon selection, "Cars" still lists, followed by the drop list of values, Cows (highlighted), Apples, and Cars. When focus is removed away from the drop-list, the original selected entry is cleared.
Now, if a selection was made from the drop-list was previously user selected, and the drop-list is selected, followed by focus being removed and the drop-list collapsing, the previous selection would continue to display.
Why is this behaviour happening?
Peter
|
|
|
Goto Forum:
Current Time: Fri Apr 26 13:45:26 CEST 2024
Total time taken to generate the page: 0.03834 seconds
|