Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorSource the 'Magic' property.
Message
 
 
To
06/07/2004 16:03:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00921159
Message ID:
00921204
Views:
30
One more reason not to use reserved words as custom property names. :)

>Please someone(s) confirm what I am seeing.
>
>In the Mere Mortals Framework there is a container class ( ok after a few levels of subclassing ) that has a property added with the name of CursorSource. Yes CursorSource is a property of the cursor class, but this again is a container. Now I and another developer found that this newly added property has some 'magic' in it. Try this and see:
>
>1) Create a new class based on something other the CURSOR ( Checkbox works well )
>2) Add the property CursorSource
>3) Assign some value to this CursorSource property like 'This is a test'
>4) Save the class
>5) Exit the editing of the class
>6) Open the class for editing again
>7) Look at the value of CursorSource
>
>As not to 'spoil' the surprise I will not yet state what I see.
>
>What is the value of CursorSource now?
>What is your guess to the reason it has that value?
>And why that particular value?
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform