Page 1 of 1

Hide IWCGJQShowMessage

PostPosted: 04 Dec 2014 13:27
by prolog
IWCGJQShowMessage.ShowMessage('Alert Message!');
It is possible to hide IWCGJQShowMessage in code?

Re: Hide IWCGJQShowMessage

PostPosted: 04 Dec 2014 15:06
by Alexander Bulei
Hi,

Check documentation:

http://www.cgdevtools.com/docs/_html/IWCGJQShowMessage.TIWCGJQShowMessage_Methods.htm

You need this one to show:

delphi code
ShowNotification(const AMsg: string; const AType: TIWCGJQShowNotificationType; const AWait: Integer;
const ACanClose: boolean; out LogID: string);


and this one, to hide:

delphi code
procedure HideNotification(const ALogID: string);


Best Regards.

Re: Hide IWCGJQShowMessage

PostPosted: 04 Dec 2014 15:13
by prolog
Thank you, but I've read it. I am interested by ShowMessage (not ShowNotification).

Re: Hide IWCGJQShowMessage

PostPosted: 05 Dec 2014 10:29
by Alexander Bulei
Hi prolog,

Unfortunately, the jquery plugin doesn't support to close the modal dialog, yet :D

I will implement this feature asap.

Best Regards.

Re: Hide IWCGJQShowMessage

PostPosted: 05 Dec 2014 15:44
by Alexander Bulei
Hi prolog,

Implemented in next beta build.

Best Regards.