ComboBoxControl problem

theodoretheodore Greece
edited 9:29AM in FastReport 2.xx VCL
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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.