Keep cell color when selecting row
Started by Alfredoc, Mar 21 2022 05:27 PM
3 replies to this topic
#1
Posted 21 March 2022 - 05:27 PM
Hello,
I have the following query. I have colored a cell and when selecting the row of that cell, it loses its color while the row is selected.
How can I keep the cell color when I select the row?
Beforehand thank you very much
#2
Posted 21 March 2022 - 08:18 PM
Hi,
Maybe using OnGetCellColor event of a View can help.
There you can inspect state of cell being painted (for example if selected) and then ignore selection color, but use instead NextGrid61.Cell[ACol, ARow].Color for CellColor parameter.
More about this event here: http://developer.ber...=182&lang=en-us
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.
--
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
Posted 22 March 2022 - 05:24 AM
Okay. Almost...
Update 1
Best...
Update 2
Yea!!!
Attached Files
#4
Posted 22 March 2022 - 11:12 AM
Hi,
I'm glad that it work for you now.
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.
--
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