Topic: OnAfterRowMove would not fire an event for me

Hi there,

i have a tablegrid and want to change a picture on the form whenever i move to the next record inside my dataset.
In Delphi i used the function OnAfterRowMove for that, but in MVD 4.6 it seems that no event would be fired.
Any ideas?

thanks for helping

Frank

2 (edited by derek 2018-10-07 10:15:26)

Re: OnAfterRowMove would not fire an event for me

Hi Frank,
I'd do it this way (please see attached), but there may be other ways too.
Hope this helps,
Derek.

Post's attachments

Attachment icon grete.zip 340.52 kb, 338 downloads since 2018-10-07 

3 (edited by Grete 2018-10-07 13:34:27)

Re: OnAfterRowMove would not fire an event for me

Hi Derek,
You made my day :-)

Your example is working great for me.

Thank You

4 (edited by derek 2018-10-07 23:31:49)

Re: OnAfterRowMove would not fire an event for me

Hi Again Frank,
I should have mentioned in my previous post that you don't actually need to use a script at all if you prefer not to. 
You could just use a search(filter) button to select a row from tablegrid1 and then place the associated image into tablegrid2 (see attached).
Regards,
Derek.

Post's attachments

Attachment icon grete no script.zip 1.06 mb, 364 downloads since 2018-10-08