View Full Version : visible - unvisible group ???
santral
12-06-2007, 08:27 AM
I made " Image1,Image2;Image3;Image4 " group.
and I want to write a code which will make this group unvisible..
for example:
group.SetVisible("group1", false);
or
Image.SetVisible("group1", false);
or anything else....
how can we make it ????
srussell
12-06-2007, 09:09 AM
Take a look at this thread... I posted a sample project about a week ago.
http://www.indigorose.com/forums/showpost.php?p=111664&postcount=10
holtgrewe
12-06-2007, 09:13 AM
Santral
Here's my understanding of the 'group' feature in AMS.
The Group / Ungroup feature is a tool used in the page design, where 'like' objects can be grouped, then when moved or shifted, they always retain their relative position and alignment to the 'group'.
The individual properties cannot be 'grouped' using the group feature.
Use the 'Page.EnumerateObjects' to find all the objects you want.
One technique to make grouping happen, would be a naming convention such that all 'Group-1' objects could have an object name as 'G1_label1', 'G1_Image6', etc.
When you enumerate the objects only use the objects having the prefix of 'G1_'
HTH
santral
12-06-2007, 10:46 AM
Take a look at this thread... I posted a sample project about a week ago.
http://www.indigorose.com/forums/showpost.php?p=111664&postcount=10
thaaaannnksssss...
Its the thing what I need......
and now I can solve my other questions with this.....
thanks again :)
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.