I have VFP-form with many command buttons on it.
When I run the form and click a button in form, I get an error message.
So I try to find the error by doing "modif form myform" and then I can press the button in question and look at the code behind where the error could be.
That would be logical for me - but it is not like that.
what I don't understand:
After clicking the button, the code for the button that I clicked does not appear, but a code for a button that I had previously called appears - and it does not have to be the same button - so I have to call up a list of all buttons on the form - and then I have to go through the list again to find the right button, behind which the faulty code should be.
My question:
Is this a wrong setting in my system - a weakness of VFP - or can I look for errors in a completely different and better way if a form has many button objects?
What is the quickest/most efficent way to look for such errors?
Thanks for advice
Klaus
Peace worldwide - it starts here...
When I run the form and click a button in form, I get an error message.
So I try to find the error by doing "modif form myform" and then I can press the button in question and look at the code behind where the error could be.
That would be logical for me - but it is not like that.
what I don't understand:
After clicking the button, the code for the button that I clicked does not appear, but a code for a button that I had previously called appears - and it does not have to be the same button - so I have to call up a list of all buttons on the form - and then I have to go through the list again to find the right button, behind which the faulty code should be.
My question:
Is this a wrong setting in my system - a weakness of VFP - or can I look for errors in a completely different and better way if a form has many button objects?
What is the quickest/most efficent way to look for such errors?
Thanks for advice
Klaus
Peace worldwide - it starts here...