Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with child form
Message
De
21/03/2019 11:22:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01667467
Message ID:
01667471
Vues:
56
>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?

Perhaps you should check whether type("measuring.name")="C", and if it is, instead of Do Form, issue just a measuring.show().

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform