JVCL Help:TJvTipOfDay.Execute
JVCL Help: TJvTipOfDay.Execute Method
Search in JVCL Help
Search in all projectsSummary
The summary for this help topic does not exist, edit this page
Pascal
functionExecute: Boolean; override;
Description
Execute opens the Tip of the Day dialog.
You can also use TJvTipOfDay to automatically display the tip dialog on startup of the application. Do so by:
- Placing a TJvTipOfDay component on the main form.
- Include flag toUseAppStorage in Options.
- Link it to a storage component using the AppStorage property and specify a storage path.
This way the component uses the storage component to store the value of the checkbox that enables the user to specify whether the dialog must be shown at startup of the application.
Alternatively, you can provide a custom store-retrieve method of the checkbox's value by writing an OnCanShow and an OnAfterExecute event handler: Before the dialog is actually opened an OnCanShow event is fired, that may prevent the dialog from displaying. After the user closes the dialog an OnAfterExecute event is fired.
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page