>PMFJI, Mikes' code will loop through each control in the form.control property (this is an array, populated by VFP at runtime, of object refrences for each object on a form). NOTE: this only contains the top-level objects ie. it contains a pageframe but not the pageframes children. See MESSAGE#
257688 for an example of how to recursivley loop through all objects in a form.
That's a good point.
>
>BTW- For what you are doing I don't think this is neccessary. You don't need an array of all the buttons on a form. Each button should handle the resizing itself via it's mousemove event. The form mousemove event should handle clearing any mods.
>
>hth
>
I'm not sure how the other buttons on the other forms would know how to resize themselves since they are no longer active.