Information générale
Titre:
BINDEVENT() with _SCREEN.CLICK
Versions des environnements
When I click on a screen region owned by _SCREEN, my app's form is deactivated.
This behavior appears to be different with VFP9 than with VFP5.
I tried using BINDEVENT to capture the mouse click and activate my form:
BINDEVENT(_SCREEN,"Click",THISFORM,"Click")
However, I get this error upon entry of my form's click event handler:
Error number: 31
Invalid subscript reference.
Error occurred at line 1 in PROCEDURE MYFORM.CLICK
I've tried binding the event to a method, but get an error saying there is no PARAMETERS statement.
I assume there are some coordinates being passed somehow but don't see them when I create
an event handler for my Click event.
???
Thanks,
Howard
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement