Jump to content


Photo

Few minor problems with grid in slide mode


  • Please log in to reply
90 replies to this topic

#81 Saurman

Saurman
  • Members
  • 44 posts

Posted 20 May 2008 - 06:47 PM

QUOTE (Boki (Berg) @ May 20 2008, 06:15 PM) <{POST_SNAPBACK}>
If you are thinking about NextDBGrid Db-Memo column there is a property for this MemoDisplayOptions.

Hmm, cant find that. Since what version it is there?

#82 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 20 May 2008 - 09:59 PM

Hello Saurman,

This is since last 3-4 versions, please note that this is NxDBMemoColumn option.

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.

#83 Saurman

Saurman
  • Members
  • 44 posts

Posted 01 June 2008 - 05:13 PM

Hey Boki,

just found one thing and decided to ask u. I am using cell coloring event to paint some row's background. Problem is that my painted rows are no longer shown as selected when i call SelectAll. I guess u are using same background for displaying selection.

Also remember that thread and paint issues we had? I need to know if they are fixed and maybe i should use latest version?

#84 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 01 June 2008 - 05:35 PM

Hello Saurman,

Maybe you should check for if(csSelected in CellState) then inside OnCellColoring event.

I have fix some of them, but can you please tell me which are more remained.

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.

#85 Saurman

Saurman
  • Members
  • 44 posts

Posted 20 June 2008 - 04:43 PM

hey Boki, tnx that worked.

I just tested ur latest NextGrid version for the problems i had before

1) slides paint issue. To reproduce i do next: select slide row; right click to display custom popup menu; with mouse click on another window which doest belong to current application. U will get this:
Attached File  Capture.PNG   31.86KB   6 downloads

2) i cant make multiselect to be visible in slides mode but it works (i can loop though all selected rows, they just dont have frame to show that they are selected)

#86 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 20 June 2008 - 06:14 PM

Hello Saurman,

1) Can you send me small demo project please to I test it. I am not sure what all need to be set to reproduce problem.

2) You may turn on aoHighlightSlideCells and multi-select indication will be shown, but I think that I will draw frame too in upcoming releases.

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.

#87 Saurman

Saurman
  • Members
  • 44 posts

Posted 21 June 2008 - 02:55 PM

1) here u go
Attached File  grid_paint_problem.zip   140.51KB   2 downloads

2) this is not what i am looking for
Attached File  Snap1.png   15.39KB   3 downloads

#88 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 21 June 2008 - 03:55 PM

Hello Saurman,

Open NxCustomGridControl.pas file and locate procedure PaintSlidesRows.

Change next lines to be:

CODE
if Selected[FLastRow] then
        begin
          if Focused then SlideColor := FSlideSelectionColor else
            SlideColor := Self.Color
        end else SlideColor := Self.Color;


I hope that now is fine.
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.

#89 Saurman

Saurman
  • Members
  • 44 posts

Posted 21 June 2008 - 05:28 PM

well, the version i am using only includes dcu of that file

#90 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 21 June 2008 - 08:02 PM

Hello Saurman,

It will be included in next release too (comming in few days).

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.

#91 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 21 July 2008 - 09:10 PM

Hello Saurman,

I have return old code, but all you need to do is to set property SlidesOptions.HideSelection to True;

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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users