Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access method
Message
De
21/01/1999 16:25:21
 
 
À
21/01/1999 16:16:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00178724
Message ID:
00178732
Vues:
23
>I have access method for a form's property.
>Is it possible to have this method returning some value?
>For example:
>abc = SUBSTR(ThisForm.pcTestProperty, 1, 1)
>Then to SUBSTR will go that value from ACCESS method?
>Thanks Mark

Yep... that is exactally how an access method works. When you create pcTestProperty turn on the access method... you will now have...

pcTestProperty_access method in your properties (method) window.

What ever you return from that code will be the value when ever that property is 'accessed'

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform