Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Error on .AddProperty
Message
 
 
À
27/02/2009 07:07:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01384470
Message ID:
01384485
Vues:
58
>>>Well, I don't know what's causing it, but you can always workaround.
>
>>>if pemstatus(this,'Width',5)
>>> lnWidth = .Width
>>>else
>>> lnWidth = 0
>>>endif
>>>etc.
>
>
>No Good, the property exists so PEMSTATUS(this,'Width',5) returns .T.
>
>G.

Good extra point. Add a check for vartype(lnWidth) and adjust accordingly.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform