Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about assign methods
Message
From
15/06/2004 22:56:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Question about assign methods
Miscellaneous
Thread ID:
00914118
Message ID:
00914118
Views:
46
Does the following make sense?

I want to set key properties of a container at the container-level. The properties are really relevant for the contained objects, but I want to have key definitions in one central location.

Assign-methods will copy the properties to the corresponding properties of the contained objects. In some cases, they will be copied as-is, in others, additional manipulation is required.

Since I can give the properties at the container-level values in the property sheet, I force the assign methods to be executed, by assignments such as:
This.Property1 = This.Property1
Does this work, does it make sense, or is there perhaps a better way?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Next
Reply
Map
View

Click here to load this message in the networking platform