CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Delete event not called

by etwoss » 01 Apr 2017 06:33

Hi

Running 3.0.0.154,

Code: Select all
  Scheduler.OnSchedulerEventDeleting := DoOnSchedulerEventDeleting;


DoOnSchedulerEventDeleting is not called when deleting an event.

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 03 Apr 2017 09:43

Hi,

DoOnSchedulerEventDeleting is not called when deleting an event.


:?

delphi code
procedure TCGIWJQSchedulerFrame.SchedulerJQSchedulerOptionsDelete(Sender: TObject; AParams: TStringList);
begin
WebApplication.ShowMessage('JQSchedulerOptions.OnDelete');
end;


Result in attachments.

Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by etwoss » 03 Apr 2017 13:39

Hi

With version 199 , drop scheduler , attach eventhandler

Code: Select all
procedure TIWForm2.IWCGJQScheduler1SchedulerEventDeleting(Sender: TObject;
  const AEvent: TIWCGJQSchedulerEvent);
begin
//
end;


Set breakpoint

run

Add event

Delete event

No break.

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 03 Apr 2017 13:45

Hi

Youre demo shows the OnDelete, i'm using OnSchedulerEventDeleting Event

Code: Select all
    OnSchedulerEventDeleting = IWCGJQScheduler1SchedulerEventDeleting
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 05 Apr 2017 07:25

Hi

Just tested 201:

Situation: OnDelete event not assigned:

1) Confirmation is shown
2) But when "Yes" clicked, event "SchedulerEventDeleting" still not called

Situation: OnDelete event also assigned:

1) No confirmation Shown
2) OnDelete event is called

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 07 Apr 2017 08:16

Hi

Tested Ok in 204

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58


Return to JQScheduler

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.