Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

OutlineViewer.Width

edited March 2003 in General
Hello.

Would you like to tell me what is the best way to save
TppOutlineViewer.Width using
TppPreview descendent ?
Which methods should I override to do it ?
Unfortunately, I can't do it by myself for a long time, help me, please.

With TppIniStoragePlugIn.CreateInstance do
Try
???.Width:=ReadInteger('PreviewWindow', 'OutlinePanelWidth',
???.Width);
Finally
Free;
end;

With TppIniStoragePlugIn.CreateInstance do
Try
WriteInteger('PreviewWindow', 'OutlinePanelWidth', ???.Width);
Finally
Free;
end;

--
WBR Sergey Kovalev svk@siamed.ru
SIA International Ltd

Comments

  • edited March 2003
    The outline viewer is parented by the accessory toolbar, which is a TPanel.
    There is some code that tries to stretch the width of the width of this
    panel to account for the translation strings in the text search toolbar
    which is also located in the accessory toolbar above the outline viewer. We
    can add this outline ini setting to the ToDo list for a future release.
    Thanks for reporting the issue.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.