Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug when assigning non-integers to Top,Left,Height and W
Message
 
To
03/12/2003 16:51:06
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00855459
Message ID:
00855641
Views:
17
>>It's a pity that Empty was neutered to serve SCATTER object purposes only, but since all property and method names of all builtin Fox classes are reserved words it doesn't make a whole lot of difference - i.e. you could not derive a class from TabulaRasa and give it a .Top property because Top is a reserved word, and you could not give it a .Reset method because that is reserved as well (the Timer class has a method with that name).
>
>You can create an Empty object and add whatever property you want to it - reserved word or not. Not necessarily the best practice, but it is possible.

Is Empty the leanest class that a property may be added to?
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform