set the opaque of fld "datGridFieldEditor" of me to false
That field is ephemeral. It is hard to pin down, because it likes very much to go away at the slightest provocation. It is the permanent underlying fields that comprise the actual DG you are interested in. But these are mollycoddled by the DG itself. For example, the following handlers ought to cause a flurry of changing colors:
Code: Select all
on mouseEnter
if the name of the target contains "Col" then
set the opaque of the target to "true"
set the backColor of the target to any item of "green,blue,yellow,red,orange"
end if
end mouseEnter
on mouseLeave
if the target contains "Col" then
set the opaque of the target to "false"
set the backColor of the target to ""
end if
end mouseLeave
But it does not (though it would with a bunch of controls just sitting on the card) because those messages are already trapped within the group, and not passed along. You might hack the DG, and add a "pass" command. Is it worth it?
Just to see. try this in the msg box:
Code: Select all
set the opaque of fld "Col 1 0001" to "true"
set the backColor of fld "Col 1 0001" to any item of "green,blue,yellow,red,orange"
But now you have to already know the field of interest.
Craig