Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access method
Message
From
21/01/1999 16:25:21
 
 
To
21/01/1999 16:16:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00178724
Message ID:
00178732
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform