Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Top Level Form Windowtype=1
Hallo to all,
I created a simple form with the ClassBrowser. Top Level Form with Windowtype=1.
Then I do an ox=newobject("testform","myclass") and an ox.show all workes
fine. When I put this two line in a PRG the Forms pops up for a short time
then Disappears. Ok I did a read Event in the PRG. The form stands "still". But when I put it in my Apps I cant have many readevents.
So, what I found out is that the Windowtype changed form 1 to 0. I did an wait window str(ox.windowtype) It allways shows me a 0. Wenn I put the complete Code of the form from the Classbrowser to my PRG. I see the WindowType set to 1. But when I run the PRG its still 0.Why this strange behavior ?
Best regard and thanks for your help
Winfried
Suivant
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