Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this new in VFP 9 or it was always this way?
Message
De
29/08/2005 13:29:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01044798
Message ID:
01044823
Vues:
15
>>>I have a form and a container with bunch of textboxes and labels.
>>>The textboxes of the container have ControlSource set to alias.fields.
>>>I dropped the container on the form.
>>>Then I was changing the value of the ControlSource of some of the textboxes in the container. But the form was still "looking" at the ControlSource set initially. That is, I thought that the form should use the latest change of the ControlSource textboxes but it does not work that way.
>>>
>>
>>Where are you making the change, on the form or in the textbox class? If the latter, that's normal. If it's on the form, something else is going on.
>>
>>Tamar
>
>I was making the change in the textbox on the container. I don't understand why you are saying that this is normal. I thought the form would inherit all the properties of the container and therefore the properties of the textboxes of the container. But since you are saying it is normal, and I have no doubt that you know this better than I, I will just have to accept it as fact.
>

If you're making it in the container class, the change should carry through unless you've overridden it on the form. (Right-click and reset to default)

I don't know why you're seeing that behavior unless there's another level of subclassing involved that you haven't mentioned.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform