VLWeb PRIM_MD.DropDown Click Event
Posted: Wed Apr 17, 2019 2:49 am
Anyone know how to "fake" a Click event with PRIM_MD.DropDown.
I have a dropdown that has a few options.
The problem arise when "Period" is selected, as this invokes a rather complex period lookup.
If the user selects "Period" then needs to change the period, they cannot, without first changing the dropdown's value.
The other values are not an issue as they can easily be calculated.
It only exposes a "Changed" event whereas I really need a "Click" event.
I was handling this with the old style PRIM_List.Dropdown control, but have been moving the UI to the Material Design control set.
Thanks,
Joe
I have a dropdown that has a few options.
Code: Select all
#STD_TEXT := 'This Week'
#STD_TEXTS := 'THIS_WEEK'
#DropDownList.Items.Add value(#STD_TEXTS) caption(#STD_TEXT)
#STD_TEXT := 'Last Week'
#STD_TEXTS := 'LAST_WEEK'
#DropDownList.Items.Add value(#STD_TEXTS) caption(#STD_TEXT)
#STD_TEXT := 'Next Week'
#STD_TEXTS := 'NEXT_WEEK'
#DropDownList.Items.Add value(#STD_TEXTS) caption(#STD_TEXT)
#STD_TEXT := 'Period'
#STD_TEXTS := 'PERIOD'
#DropDownList.Items.Add value(#STD_TEXTS) caption(#STD_TEXT)
If the user selects "Period" then needs to change the period, they cannot, without first changing the dropdown's value.
The other values are not an issue as they can easily be calculated.
It only exposes a "Changed" event whereas I really need a "Click" event.
I was handling this with the old style PRIM_List.Dropdown control, but have been moving the UI to the Material Design control set.
Thanks,
Joe