Displays a dialog sheet that will close after a specific time period.
function ShowTimedInfoSheet(const AInstruction: string; const AContent: string; ALocation: TJSSheetLocation; AButtons: TCommonButtons = [cbClose]; const ATimeOut: Integer = 3; const AIsModal: Boolean = False; ACloseCallback: TDialogCloseEvent = nil; ATimerCallback: TTimerEvent = nil): TModalResult;
JSDialogSheets
Call this method to display a time sensitive sheet dialog. The default timeout period is three seconds but this can be modified by making sure the ATimeOut parameter is set. By default this method will display non-modal. To display the sheet as modal set the AIsModal parameter to True. Define the buttons you want to be visible on the dialog by setting the AButtons parameter to contain the list of possible common buttons. To have no button bar section of the dialog visible, set the AButtons parameter to an empty set ([]).
The ATimeOut parameter is in seconds NOT milliseconds
Copyright © 2013 by LMD Innovative. All rights reserved.
|
What do you think about this topic? Send feedback!
|