Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse click Problem...............

Status
Not open for further replies.

MAliShah

Programmer
Nov 22, 2002
27
Hi all,
When I click on the screen other than menu pad of an application the message "Syntax Error" appears and the program is shut down. How can I get rid of this problem? Any help plz.
 
MAliShah

Any way to run your program uncompiled and suspend the program at the error and see what part of the code is causing the error?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
I used the main loop for selecting pad as under
**************
pad='adddata'
Do Whil .t.
On Sele Menu Main Pad=Pad()
Acti Menu Main Pad &pad **Error message stops here** Pad=Pad()
EndD

 
Hi all,
I m still sticking here. Any help to go ahead
 
Hi MAliShah,

Why do you need a main loop? In VFP, READ EVENTS takes care of making the system wait for input.

pad='adddata' and Pad=Pad()!!!
Does that mean Pad()='adddata'?

Regards,

Mike
 
Hi Mike,
Thank u for reply. U pointed the right place. I got the point. The problem was with the name of variable. I simply changed pad with mpad at assigning (='adddata' ) and the problem is solved.
Star to u
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top