Manual Help
This demo application illustrates several aspects of context sensitive help in a Delphi program. However, the application is a fully functional richtext editor (the text editor is hidden onthe Help on keywords tab to illustrate context sensitive help on keywords).
The FILE menu
NewBtnNew Clears the text of the editor.
OpenBtnOpen Opens an RTF file and displays it.
SaveBtnSave Saves the content of the editor in RTF format.
Close Closes the application.
The EDIT menu
CutBtnCut Cuts the selected text and copies it to the clipboard.
CopyBtnCopy Copies selected text tothe clipboard.
PasteBtnPaste Pastes text from the clipboard.
UndoBtnHelpTOC Does nothing. This item is a dummy.
The HELP menu
Table of contentsBtnHelpTOC Displays the content of this help file.
Search keyword index Displays the keyword index of this help file.
Full text search Displays the full text search dialog box.
Help on help Displays help on how to use Winhelp.
What'sthis?BtnContextHelp Starts a temporary context sensitive help mode.
About Displays the about box of this help file.
See also
Context sensitive help tabContexthelp>Main
Help actions tabHelpactionstab>Main
Help on keywords tabHelponkeywordstab>Main
#(#Contexthelp)$($Context sensitive help tab)+(+DUMMY:1)K(KContext sensitivehelp;Edit1;ComboBox1;Memo1;Listbox1;Image1;Panel1;GroupBox1;StaticText1;CheckBox1;RadioButton1;RadioButton2;Button1;SpeedButton1;Button2;Shape1)Context sensitive help tab
This tab illustrates the temporary context sensitive help mode.
To start the context sensitive help mode
1 Choose Help, What's this?
The cursor becomes a questionmark arrow.
2 Click on any control to display it's help topic
Controls on this page:
Edit1Edit1
ComboBox1Combobox1Memo1Memo1
Listbox1Listbox1
Image1Image1
Panel1Panel1
GroupBox1GroupBox1
StaticText1StaticText1
CheckBox1GroupBox1
RadioButton1RadioButton
RadioButton2RadioButton
Button1Button2
SpeedButton1Speedbutton1
Button2Button2
Shape1Shape1
#(#Helpactionstab)$($Help actions tab)+(+DUMMY:1)K(KDisplay the content tab;Display the find tab;Display the Full-text-search tab;Display help onhelp;Display a popup topic manually;Close help window if open;Move help window;Show About window)Help actions tab
This tab introduces several help actions. Click on any of the links below to get a detailed description for the item.
Help commands group
Display the content tabBtndisptoc
Display the find tabBtnDispFind
Display the Full-text-search tabBtnDispFTS
Display help on helpBtnHelponHelpDisplay a popup topic manuallyBtnDisplayPopup
Close help window if openBtnCloseHelp
Help macro examples group
Move help windowBtnMoveHelp
Show About windowBtnAbout
#(#Helponkeywordstab)$($Help on keywords tab)+(+DUMMY:1)K(KKeywords;Richedit1;Code editor)Help on keywords tab
This tab shows a programming example how to display context sensitive help on keywords. It works quite the same wayas the code editor of Delphi.
The Richedit control on this page is used to hold a list of keywords. All these keywords are contained in this help file and you can display a help topic on it by positioning the cursor on the keyword and pressing F1.
If Winhelp finds an exact match of the selected keyword, it displays the appropriate help topic. Exact matches are, for example, the keywordsNew, Open, Save and Close.
If no exact match is found, Winhelp displays the keyword index instead. Non exact matches are, for example, the words Help, Index or Search.
#(#Nohelp)No help available...
We are endlessly sorry but there is no help available for this item. Please try another one.
#(#Toolbar)Toolbar
Please do not click the buttons on this toolbar - they are just dummies...
Regístrate para leer el documento completo.