General information
Category:
Coding, syntax & commands
>How do I can get the list of all object on a form including Page in pageframe and column in Grid in my program? Is there a command to do that?
There is probably a much better way, but you could look at the txtbtns class in WIZSTYLE.VCX. It has a method .setallprop which loops through the controls on a form in order to set properties. It calls itself recursively when it sees a container. It actually doesn't handle grids or pageframes that way, but you could make some similar code which would use .pagecount or .columncount instead of .controlcount.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only