>when in the code i call a modal form, vfp waits until the modal form is closed. but when a procedure or a method (thisform.my_method) is fired, vfp doens't wait for the result of that method. this cause me troubles. to solve this problem i use WAIT WINDOW command but that is not interesting.
>how can do that ?
>i want vfp6 wait for the result of a procedure
VFP is not multi-threaded, so as long as you call your method in the same instance of VFP, it can not return before it is finished. Does your method bring up a non-modal form or something like that? What makes you say that the method has not completed?