OutlineViewer.Width
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com