General information
Category:
Coding, syntax & commands
>Hi Kenneth.
>
>>While SetAll() can be used to change all properties, I sometimes want to run a method on all of my edit controls in a form. These controls can be in containers, grids or pages of a page frame so I only want to run the method for those objects having it - but I want to drill down into containers (that don't have the method.
>
>The way I've implemented this is to create a property in all my base classes with an Assign method. Then, you can use Thisform.SetAll('PropertyName', Value) to fire the Assign method for all objects.
>
>Doug
I should have known you'd come up with a clever way of doing this.
Thanks,
Ken
Previous
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