>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