Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal forms - how ot do
Message
De
18/11/2006 05:57:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01170728
Message ID:
01170937
Vues:
7
>The craziest thing has happened.
>
>I have a form that shows on startup to allow the user to pick the branch they wish to view.
>
>From the development environment (i.e. the command window) the form shows up.
>From the exe it doesn't appear.
>
>It is actually a class.
>Here is what I do
>
>oBranch=createobject('frm_GetBranch')
>oBranch.show(1)
>
>Then when the form is closed, (I use hide method, so I can read one of the properties.
>
>lnBrnID=oBranch.nBrnID
>release oBranch
>
>Then continue with lnBrnID in the rest of my code.
>
>What happens in development is as expected. The form appears, the user picks the branch and the code continues...
>
>Yet when I build the exe, it doesn't stop.
>
>Any ideas?
>Mike

Set ShowWindow to 0 or 1.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform