Garry
10-24-2006, 02:04 AM
Hi,
I'm using the VFB for my project and I'm trying to use the OnLeftButtonDown event for the Form.
The resultant code I'm trying is:-
func FORM100_OnLeftButtonDown(hWnd$, Msg$, wParam$, lParam$)
HandleEventParms
showmessage("hello");
return (true);
end;
but when I run it (on the desktop PC) and left click on the form, nothing happens. I've also tried some of the other form events such as OnKeyDown, but none seem to work. I can get events for other controls (such as Buttons) to work fine. So it's just Form events that don't appear to work.
Am I doing something wrong?
Thanks,
Garry.
I'm using the VFB for my project and I'm trying to use the OnLeftButtonDown event for the Form.
The resultant code I'm trying is:-
func FORM100_OnLeftButtonDown(hWnd$, Msg$, wParam$, lParam$)
HandleEventParms
showmessage("hello");
return (true);
end;
but when I run it (on the desktop PC) and left click on the form, nothing happens. I've also tried some of the other form events such as OnKeyDown, but none seem to work. I can get events for other controls (such as Buttons) to work fine. So it's just Form events that don't appear to work.
Am I doing something wrong?
Thanks,
Garry.