Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yellow border
Message
 
 
À
08/03/2006 11:53:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01102436
Message ID:
01102492
Vues:
19
>You can add specific code to the button
>
>... when button active the page
>this.parent.Addobj(this.name+"effect","shapeYellow",this)
>* shapeYellow bind it to the button ( move, anchor, .... )
>* deactivate
>this.parent.removeobject(this.name+"effect")
>
>
>unfortunately the VFP OOP model is not very flexible,
>and this code contaminates the Parent object because a button doesn't allow AddObject.

Hi Fabio,

After thinking a little bit more on the problem and speaking with my colleague (whos form this one is), I think we would put a shape on that container. Since button click's call common method, we would just operate this shape's coordinates and visibility.

In other words, instead of a new class we would deal with the problem in the particular form's instance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform