Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access & Assign ok with OLEControl?
Message
 
 
À
22/10/2001 12:42:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00571710
Message ID:
00571723
Vues:
28
>Hi All,
>
>Is there some kind of "rule" I'm violating by trying to use access and assign methods in an object based on an OLEControl (listview)? I added a DisplayOnly property to the object and set it's default value to False. After creating the access and assign methods (without actually coding them) I saved the class. When I bring it back up, my DisplayOnly field reads .T. and refuses to accept a default value.
>
>What "rule" did I violate here? I can't find any nuggets of wisdom in my VFP or MSDN stuff (I know it's in there, but I could spend the better part of the day exorcising it).
>
>TIA for whatever tidbits you can toss my way...
>
>
>Erik Folley

Erik,
When you say you "created the methods but didn't actually code them", what does that mean? Is the default code that VFP puts into those methods still there or did you delete that code.

And when you attempt to set a default value, how are you doing that? From the Property Sheet or via code?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform