Jump to content


Photo

NxCheckboxColumn won't work after Update to 5.12.10.1


  • Please log in to reply
5 replies to this topic

#1 Frank

Frank
  • Members
  • 30 posts

Posted 02 December 2010 - 06:52 PM

Hello,

today, i've upgraded NextSuite to 5.12.10.1 without problems during installation.

After recompiling some projects, i have seen that the NxCheckboxColumn in NextGrids won't accept any clicks, the checkbox remains unchecked.
Before the update (with an older version of NextSuite), all works fine.

I have set the properties coCanClick, coCanInput and coEditing to True.

NextGrid-Version is 5.2.7

What can i do?


Regards
Frank

#2 Frank

Frank
  • Members
  • 30 posts

Posted 02 December 2010 - 07:06 PM

Hello,

i've found the reason:

if goSelectFullRow ist set to true, the checkboxcolumn seems to be disabled.

Please Boki, set this to the previous behavior (checkboxcolumn is enabled, even if goSelectFullRow is set to True smile.gif )


Regards
Frank

#3 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 03 December 2010 - 03:07 PM

QUOTE
Please Boki, set this to the previous behavior (checkboxcolumn is enabled, even if goSelectFullRow is set to True


Yep. I need this, too.

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 03 December 2010 - 08:54 PM

Hello,

I will inspect this. As soon I find the spot I will send a fix.

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 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 03 December 2010 - 09:59 PM

For first aid, do next in NxGrid.pas:

CODE
procedure TNextGrid.SetSelected(Index: Integer; const Value: Boolean);
begin
  if RowExist(Index) and (Selected[Index] <> Value) then
  begin
    FCells.Row[Index].Selected := Value;

    { boki: Need code when there are rows selected }
    //if Value then Include(FGridState, gtMultiSelect); <----- comment this line

    case GridStyle of
      gsReport: RefreshRow(Index);
      gsSlides: RefreshSlide(Index, soHideSelection in SlidesOptions);
    end;
  end
end;


I will now research how to have this enabled and all working.
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.

#6 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 04 December 2010 - 01:14 PM

QUOTE
For first aid, do next in NxGrid.pas:


Thanks, this fixes my problem. smile.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users