CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

DBNavigato events blocks DB components

by sgaravatti » 22 Aug 2014 10:12

Hello, i'm quite new to cgdevtools, i'm using IW 14.0.32 + cg 2.2.1.26

This is my question: until I don't specify any event handlers for my dbNavigator, my form behaves as expected, but when I add some event hanler for any button (eg Next, Prior),
the IW Data Aware objects of my forms stucks, in my browser consolle i see less data moving compared to a navigator without events.
Is it an exepected behaviour? I wish this control behaves like the VCL one, since i'm converting a VCL project to IW.

thanks,
Niccolò
CG 2.6.0.86
IW 14.0.41
C++ Builder XE3
sgaravatti
 
Posts: 24
Joined: 22 Aug 2014 09:20

by Alexander Bulei » 22 Aug 2014 11:20

Hi sgaravatti,

If you assigned the button's OnClick event, you should call the operation by yourself.
Example for "Next" button :

delphi code
WebApplication.ShowMessage('Next button event!');
if Assigned(IWCGJQNavigator1.DataLink.DataSet) then
IWCGJQNavigator1.DataLink.DataSet.Next;


We will check/improve it asap.

Best Regards.
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 sgaravatti » 22 Aug 2014 14:16

I'll manage like that, thank you for the tip.
Niccolò
CG 2.6.0.86
IW 14.0.41
C++ Builder XE3
sgaravatti
 
Posts: 24
Joined: 22 Aug 2014 09:20


Return to JQNavigator

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.