StringGrid fixed column events

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Methuselah
Junior Coder
Posts: 49
Joined: Fri Oct 15, 2004 8:42 am
Location: Johannesburg, South Africa

StringGrid fixed column events

Post by Methuselah » Thu Oct 03, 2013 1:32 pm

Hey there.
I was hoping to use a fixed column on each row to use as an action button (Save). I have been unable to get the onFixedCellClick event to fire at all and so tried to use the onDblClick event instead.

From an example, I see {srtname}_Arow is populated on onSelectCell.
Is there any equivalent on fixed cell clicks ?

( I don't know how to find out what any variable names are either)

Methuselah
Junior Coder
Posts: 49
Joined: Fri Oct 15, 2004 8:42 am
Location: Johannesburg, South Africa

Solved

Post by Methuselah » Thu Oct 03, 2013 2:03 pm

Apologies - strike that request ... I found my problem.

I needed to add the goFixedCol option to enable fixed col click event.
A breakpoint in the SRT reveals the ACOL and AROW population.


:oops:

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1380
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Fri Oct 04, 2013 2:26 am

I'm glad you managed to figure it out.

Thank you for letting us know. :D
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts