Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command buttons on a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00267699
Message ID:
00267832
Vues:
25
>>>But he wants to size every command button on the form at the same time. Including buttons on other forms. Unless I misunderstood what he was asking. How would you handle this. So if he resizes one button, all the other buttons get resized at the same time.
>>
>>Well, that's what I thought at first to < g >, but he clarified it in message#267731. He only wants the control the mouse is over resized and then unsized when the mouse moves off, so letting each control do itself should work.
>>
>>If you wanted to do them all, Erik's runall() method would be the ticket. It hits everything without needing a control array. Also the problem with trying to store an array of each control is what happens when a control is added at runtime.
>
>You message link also affects the next button. Hmmm. It looks like your right. You can even have a subclassed command button that would simplify the process even more.

That's probably the way to do it. Just add a new prop to your base class .lDoSizeFX, and check it from the mousemove. Instant FX for every button (or not :)

The message link is nice. Thanks Michel (and MikeH for suggesting it).
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform