JVCL Help:TJvTipOfDay.OnCanShow

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs before the dialog is shown.


Pascal

 TJvCanShowEvent = procedure (Sender: TObject; varCanShow: Boolean) ofobject;
propertyOnCanShow: TJvCanShowEvent;


Parameters

Parameters Description
CanShow Determines whether the tip dialog can be shown.
Sender The tip dialog that fired the event


Description

Write an OnCanShow event handler to provide a custom check whether the Tip of the Day dialog can be shown. The dialog can use a storage component to determine whether the dialog can be shown. This check can be used by including the flag toUseAppStorage in Options; however, applications can provide custom checks in an OnCanShow event handler.
Set the CanShow parameter to false to prevent the dialog from showing.


See Also

Execute, TJvTipOfDay.OnAfterExecute


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