Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorSource the 'Magic' property.
Message
 
 
À
06/07/2004 16:03:36
Anthony Testi
Fabtrol Systems Inc.
Eugene, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00921159
Message ID:
00921204
Vues:
29
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform