Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Error on .AddProperty
Message
 
 
À
27/02/2009 03:33:57
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:
01384487
Vues:
62
What object WITH is referring to in this case? Are you sure that it's the line that generates the error?

>I am using mwresize to resize controls on my forms. mwresize uses .AddProperty() to store the original size/location of controls, however I am getting an strange error;
>
>On some controls the line
>
>.AddProperty("_nOriginalWidth",.Width)
>
>thows as data type mismatch error.
>
>It's not consitently the same type of control or same class, however on some controls it will occur everytime that control is accessed.
>
>For example, on one form with loads of controls, there are 4 edit boxes, all the same class. One is on a page in a pageframe, the others are in a grid on another page. The edit box on it's own and two of those in the grid play nicely, however one of the edit boxes in the grid throws this error.
>
>I can't see anything different about it.
>
>Any ideas?
>
>
>
>Gary.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform