IWCGShowPromptMessage(string,string,TIWCGEvent,TIWCGEvent,TIWCGJQShowMessageOptions) Method
Use this public method to show the prompt message without creating/ using the component.
![]() |
---|
To use this function, declares "IWCGJQShowMessage" on your unit. |
procedure IWCGShowPromptMessage(const AMsg: string; const ADefaultValue: string = 'Default Value'; AOnConfirm: TIWCGEvent = nil; AOnCancel: TIWCGEvent = nil; AOptions: TIWCGJQShowMessageOptions = nil);
Parameters
- AMsg
- Type: string
The message to show.
- ADefaultValue
- Type: string
The type of message (log, success or error)
- AOnConfirm
- Type: TIWCGEvent
Receives event, will be called on confirm button click
- AOnCancel
- Type: TIWCGEvent
Receives event, will be called on cancel button click
- AOptions
- Type: TIWCGJQShowMessageOptions
Optional options