>Hi Cristi,
>Is your form class based (VCX) or SCX?
Well, the form was saved in a class... Anyway, I solved the problem.
The problem was in the property "Desktop", even if in help the explanation was as folowing:
"Remarks: The Desktop property is ignored if the ShowWindow property is set to 2 – As Top-Level form.
You should not use the Desktop property when you create Single Document Interface (SDI) applications in which you might want to hide the Visual FoxPro desktop window (_SCREEN). Instead, use the ShowWindow property setting of 2 to create a top-level form."
That explanation is not true. The property "Desktop" is not ignored if the form is saved as class with "ShowWindow=2"!!!!
I was forced to change the property as "Desktop=.t.".
I find the solution at least interesting and unattempted, because a normal form work well, but if you save the form as class you need to change the property "desktop" against the explanations in help.
Thanks for the reply
Cristi Faur
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement