Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cascading Assign bug
Message
De
23/10/2001 20:56:12
 
 
À
23/10/2001 17:58:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00572229
Message ID:
00572396
Vues:
30
Glen, please do not respond 10-screens down. It's aggravating to search for replies.

>> I understand the static property value assignment as you illustrated, but I do not unerstand nor appreciate the dynamic event processing as per my illustration.

These are not static property value assignments. In OO, "static" has a precise meaning and this is not what we're seeing here. Also, there is no "dynamic event processing" in any of these examples. Again, in oo, the term "event" has a precise meaning and this is not what we are seeing here.

>> Each object must have a unique entity in memory so that each may support independent data and behaviors, therefore each unique identity must fire its events in its own space and time.

This is exactly what is happening. Each object occupies distinct memory space. What is not in disctinct spaces is the class definition, which is invariant and is stored in memory exactly once. This is why you get exactly one Assign event. This is entirely sensible. Once your object is instanced, it is thereafter free and distinct from other instances, and the properties are free and distinct from one instance to the next, as you migt expect.

>> This may be by "design" but I believe the design is flawed, aka "bug".

As I explained, this is not a bug, it is by design. You may not like it, but this will definitely never change. If you need to fire this Assign event for every instance creation, you must code it in the Init event.

**--** Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform