what trigger knows what item the cursor is on
lakeSep 9 2007 — edited Oct 1 2007I have a case 10 G where I created a grid of control items. I was thinking of
doing something when one of the grid "cells" was changed. So I thought I could use a
post_change trigger. But I so happened to
find out to my great dismay that system.trigger_item is not returning the name
of the item that I want. It returns whatever the previous one is. Therefore
the post_change trigger will never fire on the last or only item, and more distressing it
isn't correctly portraying the item name relative to how I see it. (I am using the name of the item as a way to
figure out where I am in the grid in terms of row and column.) Ok then I thought
I'd use system.currsor_item. It does it too, returns the name of the previously
changed item.
So that's not the way to go. Is there a way to react to a change in an item wherein
the trigger firing has the same idea of where the cursor is as a person would? Or at
least it's going to fire for every item that is changed?