Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

List of controls on Form that is NOT open/active

I thought I could use the Utility function with "OBJECTLIST" service to get the controls that are on a form, but it appears to work only if the form is active. Is there a way to programmatically get a list of the controls on a form that is not open/active?

Comments

  • The only way I know of is to read the SYSREPOSWINEXES record and parse it.
  • Ok - that's a great solution. Thanks!
  • Or you could call the Start_Window() procedure with the getStructureFlag parameter set. Pass true to return the structure of a window, without actually executing it. You can modify the structure, before executing it. Use the CREATE message for the Utility function, to execute the structure returned by Start_Window().

    HTH, M@
Sign In or Register to comment.