Jump to content


Photo

MemoColumn: wich button has fired buttonClick event?


  • Please log in to reply
1 reply to this topic

#1 qi130

qi130
  • Members
  • 23 posts

Posted 18 January 2023 - 03:48 PM

Hello !

 

I need to get the row number. Unfortunatly, the only parameter for the ButtonClick event manager is "Sender:TObject"

 

How to deal with the Sender to get the Arow value for the button?

 

Thx.



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 20 January 2023 - 12:47 AM

Hello,

 

I’m not sure if I fully understood your question, but maybe EditingCell property, or event SelectedRow property can help you?

 

Before your cell is edited with Memo, cell is selected and enters i to edit mode (EditingCell properly).


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