Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access & Assign ok with OLEControl?
Message
De
22/10/2001 14:49:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00571710
Message ID:
00571805
Vues:
24
Larry,

I tried removing the Access Method and leaving only the assign. At first, it appeared to work. I tweaked the control, saved it and brought it back up again - the default of FALSE was there. I placed the control on a form and looked at the value in the property sheet, it read FALSE - so far so good. I tried to change it to .T. but... DOH! No such luck - the property will NOT change.

By the way - I've been doing this kind of thing with other controls for years and have never had this problem. It seems to happen only with objects based on the OLECONTROL. Here's the rules, based solely on anecdotal evidence.

No Access, No Assign - No problem

No Access, Just Assign - default value of False stays false. Unable to change the value in an instance of the object using the property sheet.

Both Access and Assign - default value changes to TRUE. Unable to change the value in an instance of the object using the property sheet, or during the design of the class.

So the question remains: Is it safe to use access and assign methods when working with controls based on OLECONTROL?

Thanks again for your time and attention.

Erik
~Erik Folley
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform