PDA

View Full Version : Hide multiple objects at the same time?



CrazyFrog
04-23-2007, 05:27 AM
Hi , I want to know it is possible to hide multiple objects at the same time WITH A SCRIPT , not to hide object 1 , after that hide object 2 .

Tek
04-23-2007, 09:07 AM
You could either put the object names in a table and step through the entries in the table and hide/show each one, or use Page.EnumerateObjects and step through it that way.

CrazyFrog
04-23-2007, 09:26 AM
Thanks , that will help me , putting the names of the objects in a table.
Thanks a lot again!:yes ;)

Jonas DK
04-23-2007, 09:33 AM
you could also use application.setredraw = false
and then use the hide object for eatch and then finish by setting the application redraw to true

This will prevent the application from updating when hiding the objects and just redraw the screen once when you are done to make all the object hide simultaniesly.

cheers,
Jonas