Jump to content


Photo

Selected record


  • Please log in to reply
10 replies to this topic

#1 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 458 posts
  • LocationCuiabá-Brasil

Posted 13 June 2018 - 04:20 PM

How can we maintain the color of the selected record when we perform the conditional color change of a particular record using the customdrawcell event

 

In the example image, all records have met the condition that changed the color of the records, but it is not possible to identify which one is selected.

Attached Files


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4987 posts

Posted 13 June 2018 - 06:28 PM

Hi,

 

Have you tried to search answers on the forum?

What options are set on the grid?


  • 0

#3 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 458 posts
  • LocationCuiabá-Brasil

Posted 13 June 2018 - 08:24 PM

Hi,

 

Have you tried to search answers on the forum?

What options are set on the grid?

Certainly. I usually do this. Maybe I could not find it the way I did, but I usually do it.

 

But I did another search again, under other conditions, and found something related to 6 js, as well as a solution.
But thank you, and forgive the hassle
It is our pleasure to search the sim forum
 

  • 0

#4 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 189 posts

Posted 14 June 2018 - 07:25 AM

That's what the problem that I stated . But no solution yet 


  • 0

#5 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 458 posts
  • LocationCuiabá-Brasil

Posted 14 June 2018 - 12:41 PM

That's what the problem that I stated . But no solution yet 

I have not found a solution in the forum, other things but nothing for this


  • 0

#6 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 189 posts

Posted 15 June 2018 - 01:05 AM

Yup, hope that they'll find one soon .


  • 0

#7 zhyhero

zhyhero

    Member

  • uniGUI Subscriber
  • PipPip
  • 27 posts

Posted 15 June 2018 - 02:07 AM

Maybe you can try conditional font color


  • 0

#8 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 189 posts

Posted 15 June 2018 - 03:13 AM

I've tried condition arow = dbgrid.currrow, but not work 


  • 0

#9 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 189 posts

Posted 19 June 2018 - 02:40 AM

Any solution >?


  • 0

#10 kkelchev

kkelchev

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 87 posts

Posted Yesterday, 07:47 AM

Any solution about this ?
  • 0

#11 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 458 posts
  • LocationCuiabá-Brasil

Posted Yesterday, 11:13 AM

+ 1


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users