temporary fix for objectinspector bug

edited January 2005 in FastReport 3.0
Saving the designer with the objectinspector undocked leads too a freezed objectinspector the next time you go into designmode.

Therefore a temporary fix till the programmers at fastreport have had time to correct it there where it's wrong.

Just put it somewhere before you call the designreport method.

Var ini: TCustomIniFile;
begin
Ini := FrxReport.GetIniFile;
Try
If (Ini.ReadString('Form.TfrxObjectInspector', 'Dock', 'xx') = '' ) And
(Ini.ReadInteger('Form.TfrxObjectInspector', 'Visible', 0) = 1 ) Then
Ini.WriteInteger('Form.TfrxObjectInspector', 'Visible', 0);
Finally
Ini.Free;
End;
frxReport.DesignReport;
End;

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.