Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Property of an object
Message
From
31/07/2001 11:44:25
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
To
31/07/2001 09:35:11
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00537719
Message ID:
00537783
Views:
14
>Hi all,
>
>Is there a way to assign a default property to an object in VFP? In VB, this is possible:
Form.Textbox = Form.Textbox.Text
>
>Thanks,


even though it is indeed possible in VB, why would you _even_ want to do
it in VB, VFP, or any other language. to save typing a few characters ?
or am i missing some benefit that you see ?

it's bad enough to use the default property in VB, but imagine how unclear
code would be if you could redefine which property was the default property.

certainly, a feature that i hope to never see !!
patrick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform