Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with child form
Message
From
21/03/2019 11:56:58
 
 
To
21/03/2019 11:10:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01667467
Message ID:
01667475
Views:
127
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform