Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the reason this won't work?
Message
De
29/06/2006 18:55:12
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
29/06/2006 18:07:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01132930
Message ID:
01132940
Vues:
9
>
>_Screen.NewObject("lblSizer", "lbl", This.ClassLibrary)
>_Screen.lblSizer.AutoSize = .T.
>
>
>When it executes the second statement, the whole application shuts down.

Hmm, that shouldn't happen. What if you try:
_Screen.AddObject() ?

and/or insert

_Screen.lblSizer.Visible = .T.

before the .AutoSize call?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform