>>>And if you have two modeless open forms, both with cmdcancel button:
>>>- form1.textbox with focus
>>>- user click on the form2.cmdcancel .... form1 it is released!
>>>
>>
>>I was able to re-produce this behavior with two forms. Now, the question is: how can we distinguish between forms? If it's the same form, I can not use name as the identifier. The forms are invoked with DoForm procedure... So, do you have some ideas to solve this problem? I'm not having a good idea at this time...
>
>uses
>
>AMOUSEOBJ(,1)
>
Thanks < g > This is too easy then :)
If it's not broken, fix it until it is.
My Blog