Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with child form
Message
 
 
À
21/03/2019 11:10:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01667467
Message ID:
01667475
Vues:
128
>H all,
>I am a bit confused about a different behaviour of some forms during design time and in the compiled .EXE:
>A form "toolset1" with privete dataenvironment calls a dependent form without dataenvironment:
>
>DO FORM measuring LINKED NAME measuring WITH thisform.txt_toolset_ID.value
>thisform.Hide()
>
>That form "measuring" then calls an external COM object with visual interface, hides itself and polls the COM object for changed properties.
>During interaction with the COM object "measuring" calls several methods of the basic form "toolset1" - with success.
>COM object sets a flag for termination
>Form releases COM object and shows.
>On termination "measuring" calls the show() method of the master form in its unload method.
>So far everything works at design time, however in the compiled .EXE "toolset1" never shows again.
>Any ideas?

What is the ShowWindow property? If it's 0 (In Screen) it will only show when _screen is visible, which may not be true when running the .exe.

Yes, it's 0 = in screen!
Eugen
New Year's pledge: Last year I learned so much from my errors that I decided to make some more.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform