Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Method
Message
From
21/12/2019 10:47:24
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01672305
Message ID:
01672376
Views:
58
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform