Clear Settings?
Rate Topic:




-
Group:
Member
-
Posts:
10
-
Joined:
21-January 07
Posted 23 January 2007 - 06:13 AM
Two questions actually.
Is there a command to clear settings on a layer? More specifically, say a color that was set using layers.SetColor()? I couldn't seem to find any such animal, but perhaps I'm missing it.
Secondly, I am more comfortable in JS than VBS, but for the project I'm working on I chose VBS...because javascript handles collections like a retard. But, I can't seem to pass a string from the xml file to a function in vb...something that worked quite well for me in JS. say:
I've found that omitting the single quotes fires the function in VBS, yet it does not work as planned :
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 23 January 2007 - 02:06 PM
single quotes in VB are "comments" if I'm not mistaken
Simple approach would be pass a number. no quotes
0
-
Group:
Member
-
Posts:
10
-
Joined:
21-January 07
Posted 23 January 2007 - 02:43 PM
Indeed. Somehow the fact that they were comments slipped my mind. But, that leads me to believe that it is not possible to send a string. Ah well.
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 24 January 2007 - 01:48 PM
I think if you do double double quotes it might work
""VALUE""
0