Jump to content


Photo

Slide Row Color


  • Please log in to reply
7 replies to this topic

#1 MasterEvil

MasterEvil
  • Members
  • 104 posts
  • Location:Germany

Posted 27 March 2007 - 11:05 PM

Hello Boki,

I'm currently using Slides in my Application and now I want to highlight some rows in different colors.
So I tried, like I would without Slide-Style: I used the OnCellColoring Event.
There I set the CellColor to clRed, but now not the whole Slide is painted in red but just the bounds of a column like in the SlideEditor.

Is there a way to completely color the background of a slide? Cos this really looks bad wink.gif

greetz
Steffen

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 27 March 2007 - 11:31 PM

Hello Steffen,

Maybe you may try SlideSelectionColor property for this?

I hope that this is a solution for you.

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 MasterEvil

MasterEvil
  • Members
  • 104 posts
  • Location:Germany

Posted 28 March 2007 - 10:41 PM

Sadly it doesn't help wink.gif

SlideSelectionColor just changes the BackgroundColor of the currently selected row. What I need is to change the BackgroundColor staticly. Like setting CellColor in OnCellColoring Event in GridStyle csReport.

If I use this in SlideStyle it looks pretty ugly, cos the real background still stays white.

I hope I could explain it. I need to draw some rows in a diffent color, for example: draw the background of a row in clRed when the Date of the Row is older than Today.

greetz
Steffen

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 28 March 2007 - 11:13 PM

Hello Steffen,

Can you please draw me one small sketch (or use screenshot and fill it with colors). This will really help me, and I will try to give a solution as soon as possible.

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 MasterEvil

MasterEvil
  • Members
  • 104 posts
  • Location:Germany

Posted 28 March 2007 - 11:46 PM

Hello Boki,

here a screenshot:


Hope this helps smile.gif

greetz
Steffen

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 29 March 2007 - 01:01 AM

Hello Steffen,

This will require OnSlideColoring event, I have it in my plan. I will try to add it in tomorow , to be ready for next release.

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.

#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 29 March 2007 - 07:36 PM

Hello,

I have add it, and it is called OnSlideColoring event. Now I will try to add a property called TransparentCells, to ensure that cell get slide color.

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.

#8 MasterEvil

MasterEvil
  • Members
  • 104 posts
  • Location:Germany

Posted 02 April 2007 - 08:03 PM

Hello Boki,

that's great! Thank you!

greetz,
Steffen




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users