Aqua-Soft Forums: Clear Settings? - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clear Settings? Rate Topic: -----

#1 User is offline   Suroh Icon

  • 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

#2 User is offline   pcm Icon

  • 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

#3 User is offline   Suroh Icon

  • 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

#4 User is offline   pcm Icon

  • 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

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic