ComboBoxControl select none
serifelsen
Unknown
Hi
I am using combobox in the report form for getting parameters from user.
This combobox is dynamic (i banded it to the datacolumn). As default i set combobox itemindex as -1(none selected) but if user opens combobox, index -1 can not be selected.
Thanks in advance,
Elshan
I am using combobox in the report form for getting parameters from user.
This combobox is dynamic (i banded it to the datacolumn). As default i set combobox itemindex as -1(none selected) but if user opens combobox, index -1 can not be selected.
Thanks in advance,
Elshan
Comments
I would avoid this problem in another way:
1. Put a checkbox above the combo to say "Select something"
2. Combo would be Enabled := false at design time
3. Clicking the checkbox would change Enabled flag of the combo
4. Even if user selected anything within the combo he'd able to give up just with uncheck the checkbox
5. On BitnBtnClik I would first test if "select something" is checked, and if so I would see what is selected in the combo
Mick