>We are doing some work on an old application written in Visual FoxPro 6. A question from one of my co-workers has me stumped. He is wondering if there is a command to cycle through all the controls on a page of a pageframe, rather than individually addressing each control. He comes from an ASP background and is used to writing code to address "collections" of controls.
>
>For example, cycle through all the controls on a page, and for any text boxes, set the font to bold, or some such thing. I told him that we would normally create a text box class and have all the text boxes inherit from that. However, it did make me wonder if there is a way to accomplish this similar to how he has described to me.
In addition to Naomi's reply, some classes have a .SetAll() method which may be handy for you.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up