>Hello Hilmar
>
>Thanks for your reply, but this application is not develop by me, i have rights to deploy on them using the form on design mode and placing on them various objects and code, but i cannot run debug mode.
>Also, MSG() is a function develop by the programer and is equivalent to messagebox().
>I think maybe, the fact that the message fired twice is maybe because the refresh on the form properties ??
>
>If you have another ideia, i will be greatful.
>
>Thanks
>Luis Santos
Here are some things you might do:
Run a command like
msg("Texto de exemplo") directly from the command window, to see whether it works correctly. You may have to do a SET PROCEDURE first.
Replace the msg(...) command with a MESSAGEBOX(), or WAIT WINDOW, to see whether it also runs twice in this case. (You can change it back later.)
Use the debugger. If you can't enter the source code of MSG(), you can still use it for your own code. For example, you can see whether a certain code runs twice.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)