Cycle through loaded forms and their components

When an application is running with one or more forms, each with several components/menus etc. is there a way to cycle through each one (say using a FOR loop)?

(I want to interrogate and modify the captions and other properties across the whole application.)

Thanks for any help.
John

Comments

  • : When an application is running with one or more forms, each with several components/menus etc. is there a way to cycle through each one (say using a FOR loop)?
    :
    : (I want to interrogate and modify the captions and other properties across the whole application.)
    :
    : Thanks for any help.
    : John
    :
    :
    Check out the TForm.Components and TForm.Controls properties in the help files.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion