![]() |
|
IWCombobox drop down - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: IWCombobox drop down (/thread-3432.html) |
IWCombobox drop down - CH_Matt - 08-30-2023 Delphi component tcombobox has a property "droppeddown" which indicates whether the drop-down list is currently displayed. Does Intraweb have a corresponding property? RE: IWCombobox drop down - Alexandre Machado - 08-31-2023 No, the web <select> component that is the analogous to the combobox doesn't have such a property. It is possible to detect the state of the dropdown list via JS code, though. If you explain your requirements a little better and really need it we can provide a demo RE: IWCombobox drop down - CH_Matt - 08-31-2023 I am interested in dynamically dropping down the selection window so the user does not have to select the down symbol. RE: IWCombobox drop down - Alexandre Machado - 08-31-2023 The standard <select> element doesn't allow you to programmatically drop down the list. This is not a limitation but it is by design of the HTML element. Maybe you should have a look at the IWSelect control which allows finer control. The IWSelect is a combobox on steroids with many more options: https://github.com/Atozed/IntraWeb/tree/master/15/Delphi/IWSelect In one of the items of that demo (at least the multiple selection list) the list will drop down automatically when the first key is pressed which allows a nice usability and doesn't break the page navigation via keyboard. |