Jump to content


Photo

NxGrid event won't work after Update to 5.12.10.1


  • Please log in to reply
5 replies to this topic

#1 KAGUE

KAGUE
  • Members
  • 2 posts
  • Location:Germany

Posted 05 December 2010 - 03:16 AM

Hello Boki,

after install the new version of NextComps (512101) the function of NxGrid-events onDBClick and onClick won’t work.
In the old version of NextComps (59101) the NxGrid events work correct. I have installed and tested the old version to this once more.

What can I do?

Best regards
KAGUE

Win7-64bit / Delphi RAD Studio 2010


#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 05 December 2010 - 03:38 AM

Hello Kague,

Please check next fix from topic:
http://www.bergsoft....?showtopic=3659

I have also re-upload files.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 09 December 2010 - 01:17 PM

I have the same issue here.

I have now downloaded the latest version and it seems that this problem still persists. While the checkbox bug is fixed, DblClick or CellDblClick don't work with that latest upload.

I reverted back to 5.9.10.1 for now where everything works.

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 09 December 2010 - 09:26 PM

Hello Aim,

I have test and it work fine. Try please to re-download file from Members Section again.

I have re-upload it.

I will never do changes in last minute again smile.gif

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 10 December 2010 - 02:00 PM

QUOTE
I have test and it work fine. Try please to re-download file from Members Section again.

I have re-upload it.


I re-downloaded it now but OnDblClick and OnCellDblClick still don't work.

I found the reason now.

In constructor TNxCustomGrid.Create(AOwner: TComponent); you have the following code:

CODE
  FHoverCell := Point(-1, -1);

  ControlStyle := ControlStyle + [csDoubleClicks, csReplicatable];
  {$IFDEF DELPHI2010UP}
  ControlStyle := [csGestures];
  Touch.InteractiveGestures := [igPan, igPressAndTap];
  Touch.InteractiveGestureOptions := [igoPanInertia,
    igoPanSingleFingerHorizontal, igoPanSingleFingerVertical,
    igoPanGutter, igoParentPassthrough];
  {$ENDIF}



So after {$IFDEF DELPHI2010UP} the ControlStyle is overridden. Using the following code fixes this problem:

CODE
  {$IFDEF DELPHI2010UP}
  ControlStyle := ControlStyle + [csGestures];


Seems that you have to do another re-upload or to release a new fixed version smile.gif

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 10 December 2010 - 07:01 PM

Hello Aim,

Thank you. I didn't notice this bug due to delphi version which I use.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users