February 2, 200521 yr Is it not possible to have more than one "case" statement in a gauge? I use a case function with a rotating switch to change the colors on a radar screen grid. When I try to add a second switch to control another part of the radar in a similar way, I crash to desktop. This works fine, but if I add another one in the same gauge:I invariably get a CTD. Am I doing something wrong here?/toto
February 2, 200521 yr Maybe this?There was no % at the closing bracket of the Color string.Arne Bartels
February 2, 200521 yr Thanks Arne! However, it does not work, now none of the lines show up. It doesn't crash anymore, though. I thought a closing % was unnecessary? I nicked the syntax from Steve Hanley's excellent HUDILS gauge, it works perfectly there (he only has one case function in that gauge though).Have you ever used two case functions in one XML gauge?Cheers /toto
Create an account or sign in to comment