Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Form using AddObject & CreateObject
Message
From
03/08/2002 03:01:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00685768
Message ID:
00685823
Views:
42
>I have a prg that dynamically creates a form and various objects on it. When I run that from from VFP it runs fine.
>
>When I run the prg from a compiled program (.exe) the form flashes up and goes away.
>
>I changed the dynamic form to be modal. Now the form stays displayed, but none of the objects are visible.
>
>Remember, it runs fine when I execute the uncompiled prg from VFP command line.
>
>Any clues?
>
>Thanks

1) Include :
this.show
read events
in form's init.
2) Be sure to have 'clear events' somewhere to exit form (typically queryunload)
3) If form is modal before releasing hide() it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform