Message 1 of 2
ilogic code to make Text style not visible

Not applicable
04-19-2013
02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all
I am trying to create a rule that if a certain property is set to Gx then certain text on a template becomes invisble.
I have created a Text style and thought the following code would suffice....
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 1942 StartFragment: 314 EndFragment: 1910 StartSelection: 314 EndSelection: 314
SyntaxEditor Code Snippet
Ifz_ValueS="Gx"Then
ThisDoc.Document.StylesManager.Text("Standard").Visible=FalseEndIf
But alas it does not work. I guess I could create the text using layers and make the layers invisible but if anyone knows of the correct code or even is it possible.
Thanks
Gareth