I would like to mimic the Lazarus IDE Options window for my program. Can anyone point me to an example with a similar implementation? What object is used on the left side and how is it populated? Is there a way I could open the editor or the IDE Options inside the Lazarus editor?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110521/27ae04e0/attachment.html>
Mailing lists / lazarus / 2011-05
IDE Options implementation question
3 messages · 3 people ·
- JJohn Repucci 1
- MMartin 1
- MMattias Gaertner 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I would like to mimic the Lazarus IDE Options window for my program. Can anyone point me to an example with a similar implementation? What object is used on the left side and how is it populated?
A TTreeView.
See main.pp TMainIDE.DoOpenIDEOptions
Is there a way I could open the editor or the IDE Options inside the Lazarus editor?
Open project ide/lazarus.lpi
Open file ide/ideoptionsdlg.pas
Mattias
I would like to mimic the Lazarus IDE Options window for my program. Can anyone point me…
John Repucci wrote 5 lines
To find out which part of the IDE is implemented in which unit, you have 2 options
1 )open the dialog, and press shift-ctrl-F1
=> the window that comes up is used for editing help (you don' need to care about that for now)
=> the window does has a button that says "open ..." (lower left). This button will open the unit
The IDE options are made from many units though.
2) install the package named "IDE inspector"
It creates an entry "Inspect IDE" in the "view" menu, sub menu "IDE internals".
It also allows you to set a global key (last tool button in the toolbar, attention toolbar may wrap, so may be in 2nd line)
It displays the object that has the focus, in an object inspector. and also displays the unit and more
