Jump to content


Photo

NextGrid Mouse Over (hover) Highlight

hover highlight row

  • Please log in to reply
3 replies to this topic

#1 MatejSi

MatejSi
  • Members
  • 12 posts

Posted 18 March 2021 - 06:32 PM

Hello Boki,

I was thinking of using onCellMouseEnter and Leave events to highlight rows while hovering over with mouse. It would be nice design feature. There even was a topic on this issue http://www.bergsoft....?showtopic=4125but I don't think that it has been implemented so far.

 

Do you know if it is possible now having those events or you might add this feature in next release?

 

Thank you, Matěj



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 19 March 2021 - 09:45 PM

Hi,

 

I have added these 2 events so e time ago. Please read next file (v6.6.0):

http://www.bergsoft....vcl/history.pdf

 

but maybe I didn’t understood the question, do you maybe want to have properties for automatic highlight of cells?


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 MatejSi

MatejSi
  • Members
  • 12 posts

Posted 22 March 2021 - 09:36 AM

Hello,

yes, I was reffering to those events. But is it possible to use them to highlight (change color) of cell/row? I tried simple

 

    procedure TForm1.TableCellMouseEnter(Sender: TObject; ACol,
  ARow: Integer);
begin
Table.cell[acol,arow].color:=clSilver;
end;
 
but it didn't work.
 
It's not neccessary to have properties for that if those two events can do the job.


#4 MatejSi

MatejSi
  • Members
  • 12 posts

Posted 06 April 2021 - 08:46 AM

Hello,

I would like to refresh this post.

 

Is it possible to use onCellMouseEnter and onCellMouseLeave events to hightlight rows on mouse over?

 

Thank you







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users