>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.
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!