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

Listing the Form's Controls With Code

From code I want to get a list of all the controls on the OpenInsight window / form. I thought a property or function existed that would return the list of controls but I can't find the window property or the function. Do you remember what it is called?

Comments

  • Yes. You are looking for the Utility method, specifically the OBJECTLIST service.
  • Thanks, for the life of me I could not find that in the help file. Eventually I found the CTRLMAP property which returned a list of controls which I could then filter down to the controls needed by checking the TYPE property of the control.
Sign In or Register to comment.