Sign in to follow this  
Guest Eugen

question regarding xml

Recommended Posts

HiI am trying to accomplish that the element shouldn't be show when the variable is either 0 or 4 I tried the following but it doesn't work dont know why if I take away one of the conditions it works?BrgdsEugen(L:Cursor_post, enum) 0 != (L:Cursor_post, enum) 4 != ||(**** Position 1 *****)(L:Cursor1, number) 10 !=%((L:Cursor1, number))%!1d!

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Eugen,Did you try:(L:Cursor_post, enum) 0 > (L:Cursor_post,enum) 4 < &&Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Hi Eugen,The code could of course not work. In your visible code you wrote that the value is visible if either the enum is not 0 or not 4. Because of this you could set the number as you like and it will ALWAYS be visible. For example or better understanding:In your code if your number is 0 it is visible because your code says OR "not enum 4" If the the number is = 0 it is of course not number = 4 and that's why it is still visible.It's necessary to rework your visibility code. You have two possibilities here:(L:Cursor_post, enum) 1 == (L:Cursor_post,enum) 2 == (L:Cursor_post, enum) 3 == || ||or use an "AND" instead of the "Or" command:(L:Cursor_post, enum) 0 != (L:Cursor_post,enum) 4 != &&Hope this helps.Best RegardsMatthias

Share this post


Link to post
Share on other sites

Thanks guys, worked it out this morning :-)BrgdEugen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this