How can I tell if the last action was a mouse click? LastKey() only seems to work on keyboard strokes. Inkey() has an "M" option, but that is before the click is done, not after. I'm trying to do something in the GotFocus of a container and I need to know if we got there with a mouse click. I thought I could set a property in the container Click event, but GotFocus comes first. Let's just pretend it's an exercise to see if it can be done rather than get into a discussion as to why I'm doing it.
UPDATE: I thought I was on to something with this out of the "1001 Things You Wanted to Know about VFP" but it doesn't work either:
IF LASTKEY() = 13
ENDIF