ComboBoxControl problem
theodore
Greece
Hello...
Please reproduce the following
1. Create a report
2. Add a dialog page
3. Add a ComboBoxControl there
4. Add items to that control
5. Add code to OnActivate on the dialog form:
ComboBox1.ItemIndex:=0; or select a different item
6. Save the report
7. Repeat the steps 1 to 6 for another report
8. Run the first report again and after the second. The code about the combobox
for the second does not work!!! Also if you later check (on an obp event) the ItemIndex value, always remains 0 even if you have made another selection for that combobox (e.x. the third item)
To reproduce such a behavior, you must try all the above with a running application that uses the designer - never happens in design mode and never happens for the first running report.
Is it a bug?
Regards
Theo
Please reproduce the following
1. Create a report
2. Add a dialog page
3. Add a ComboBoxControl there
4. Add items to that control
5. Add code to OnActivate on the dialog form:
ComboBox1.ItemIndex:=0; or select a different item
6. Save the report
7. Repeat the steps 1 to 6 for another report
8. Run the first report again and after the second. The code about the combobox
for the second does not work!!! Also if you later check (on an obp event) the ItemIndex value, always remains 0 even if you have made another selection for that combobox (e.x. the third item)
To reproduce such a behavior, you must try all the above with a running application that uses the designer - never happens in design mode and never happens for the first running report.
Is it a bug?
Regards
Theo