Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with child form
Message
From
21/03/2019 11:22:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
21/03/2019 10:36:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01667467
Message ID:
01667471
Views:
55
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform