IWCombobox drop down

<< Click to Display Table of Contents >>

Navigation:  Forum >

IWCombobox drop down

Forum link

 

 

 


 

08-30-2023, 07:47 AM:

 

Delphi component tcombobox has a property "droppeddown" which 

 

indicates whether the drop-down list is currently displayed.

 

Does Intraweb have a corresponding property?

 

 

 


 

08-31-2023, 08:23 PM:

 

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

 

 

 


 

08-31-2023, 08:50 PM:

 

I am interested in dynamically dropping down the selection window so the user does not have to select the down symbol.

 

 

 


 

08-31-2023, 10:07 PM:

 

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/...i/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.