Sign in Join
Wiki copytemporary

Edit context help for the IDE windows: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11- Open an IDE dialog (in the running IDE, not in the designer)
22- Focus a control that should get help. To setup the context help of a groupbox, frame, focus one of its childs.
3-- Press <span class="kbd">Ctrl</span>+<span class="kbd">Shift</span>+<span class="kbd">F1</span>
3+- Press `Ctrl`+`Shift`+`F1`
44
55## Example
66
77- open the options dialog
88- select the frame Editor / Mouse
99- focus the tree on the frame
10-- press <span class="kbd">Ctrl</span>+<span class="kbd">Shift</span>+<span class="kbd">F1</span> to open the dialog:
11-
12-<center>
13-
14-<figure>
15-<img src="EditContextHelpExample1.png" title="EditContextHelpExample1.png" />
16-<figcaption>EditContextHelpExample1.png</figcaption>
17-</figure>
10+- press `Ctrl`+`Shift`+`F1` to open the dialog:
1811
19-</center>
12+![](/wiki-images/4/49/EditContextHelpExample1.png)
2013
2114The left tree shows all components of the current dialog. They are just for orientation. The right tree shows all existing help nodes. You will notice that they have the same names as the dialog or some controls on a dialog
2215
2316The deepest help node wins.
2417
2518The focused control - in this example the ContextTree is selected on both tree.
2619
2720- to create the help for the whole frame, select on the **right** tree the **EditorMouseOptionsFrame** as shown in the screen shot above.
2821- check *Has Help*
2922- because EditorMouseOptionsFrame has a wiki page of its own, check 'Is a root control'. This will shorten the text in the third field.
3023- change the **Path** to *Editor_Mouse_Options* as shown in the screen shot above.
3124- focus the *Name*. You will notice that the text field has changed to *IDE_Window:_Editor_Mouse_Options*
3225- Now click on the **Test** button on the left side.
3326- the IDE will open the URL: *<http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Mouse_Options>*
3427- click Ok to save the changes. This will alter the file *docs/IDEWindowHelpTree.xml*.
3528- commit your changes
3629
3730---
3831*From the Free Pascal wiki, page "Edit context help for the IDE windows", as it stood on 2020-08-22 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
3932Category: Help and Docs
4033Category: IDE
4134Category: Lazarus

Back to history