![]() Using Sub Lists |
![]() DEVELOPER |
![]() |
Sub lists can be used to target objects for processing that are owned by a parent object that meets defined criteria.
For example, by using a sub list it is possible to process all edit boxes that belong to paging cycles and set their ForeColor attribute.
This would be defined as follows:
First define a tool which will process Screen Cycles – Paging Screens.
This will first filter any objects in our work list or global list so that only screens are processed, and then it filters the cycles within each Screen function to only process Paging Screens.
For the first action, select Call Sub List and then window on the list id field to define the sub list. In the window which opens, either press return or click the New icon to generate the next free sub-list ID.
Now we define the scope of this sub list – in this case we want the sub-list to process Dynamic Screen Objects – Editboxes.
For this sub list we define a single action –
“SET Attribute”, “Foreground Color”, (“”,” ”), “To Value”, “Black”
After entering this action, press F3/ESC to come out of Edit mode and click OK to return to the main actions list. Here we can continue to enter further actions of again come out of edit mode and either run or save our new tool.
Topic ID: 500438