- Messages
- 542
- Country

I have a page in a MFD in which the top half of the display has 2 different displays toggled by a visability condition , the toggle switch works.
Each of the 2 displays has it's own switches , I am having difficulty getting those switches to work.
This is the current switch code:
The MFD page is selected by:
The area of concern is:
What is required is something along the following lines for the "if" condition:
(A) if L
isplay mode, enum is 0 (the visible call)
then 4 >L:Tritium,enum (the first action req'd)
(B) els L
isplay mode, enum is 1 (the visible call)
then 6 >L:Cobalt,enum (the second action req'd)
Any ideas of the correct format ?
Cheers
Karol
Each of the 2 displays has it's own switches , I am having difficulty getting those switches to work.
This is the current switch code:
HTML:
<Macro Name="Button1">(L:DAT49 mode,enum) 3 == if{ (K:VOR1_OBI_INC) } (L:DAT49 mode,enum) 4 == if{ 4 (>L:Tritium, enum) }</Macro>
<Area Left="4" Top="5" Width="20" Height="20">
<Cursor Type="Hand"/>
<Click Kind="LeftSingle" Repeat="Yes">(L:DAT49 mode,enum) 3 == if{ (>K:VOR1_OBI_INC) } @Button1</Click>
</Area>
The MFD page is selected by:
HTML:
(L:DAT49 mode,enum) 4 ==
The area of concern is:
HTML:
if{ 4 (>L:Tritium, enum) }
What is required is something along the following lines for the "if" condition:
(A) if L
then 4 >L:Tritium,enum (the first action req'd)
(B) els L
then 6 >L:Cobalt,enum (the second action req'd)
Any ideas of the correct format ?
Cheers
Karol


