Update an object when clicking on another object on an interactive preview

While on the preview of an interactive report on FastReports 4, I wish to act on an checkbox object other than the one being clicked and have that change show on the preview as well.


procedure CheckBox1OnPreviewClick(Sender: TfrxView;

Button: TMouseButton;

Shift: Integer;

var Modified: Boolean);


TfrxCheckBoxView( Sender ).Checked := NOT TfrxCheckBoxView( Sender ).Checked ;      
Modified := True ;
IF TfrxCheckBoxView( Sender ).Checked Then CheckBox2.Checked := False ;


With this code, the state of CheckBox1 does change immediately on the preview. Not so checkbox2.

Any ideas how to change checkbox2 when checkbox1 is clicked on a FastRepor4 interactive report?


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.