Plex 2E

Editable drop-down lists - Your solution

  • 1.  Editable drop-down lists - Your solution

    Posted Oct 28, 2017 12:40 PM

    Im looking for solution for adding list box to editable input field.  Similar to :

    Screen shot of Run dialog box with drop-down list

     

    I want to load list of value (for db or any datasource)  to the listbox (using Blockfetch), each time Update event is triggered on field. F.i. load first 10 records containing (SQL like statement) the value of the input field value.  Therefore I'm replacing those 10 records in the list each time by removing the previous values before loading new ones. 

     

    In Plex I can change property of Field from Edit to ComboBox and Droplist to No. 

     

    But I do not have enough control of the list behavior:

    - List box should be visible when input field has focus

    - Clear InputP<inputfield> should only clear the list not the value of the input field

    - I can't use Put statement because cursor is moved to the front of the input field. 

    - Does Remove InputP<inputfield> work ? Not in my test program. 

     

    What is your thoughs or solution to this ?