Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access Method
Message
De
21/12/2019 10:47:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
01672305
Message ID:
01672376
Vues:
57
>Now I need to figure out how to create a PROPERTY in the PRG class and check the box Access method.
>But I see now that I was missing a couple of points. Thank you.

Believe it or not, it's as simple as listing a property value among other properties, and then creating an access method:
loExample=createobject("JustExample")
?loExample.customProperty

define class JustExample as custom
   customProperty="some text"

   procedure customProperty_access()
      return "some other text"
enddefine

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform