Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Squirelly optiongroup
Message
De
19/07/2001 09:30:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00531715
Message ID:
00532489
Vues:
24
>Dragan,
>
>If you bind the opg to a property of the container and just simply call this.parent.Refresh()? The button Refresh() can then be this.Enabled = SomeFunctionOfTheProperty

The opg was already bound to a field; the trouble was that one of the command buttons had to be enabled if at least one of the opg's on Page2 had a nondefault value - so for any change of value on any of them, I had to loop through all of them on that page and look for the first nondefault value. And the button was on the last container on that page - at least I knew there will be only one such button, so I kept a reference to it in a page property. On other pages, there was a 1-1 connection between the opg and the button. Not quite easy to make it streamlined, and I still wanted to achieve my goal of having one class of containers to deal with and keep the thing data driven.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform