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