Hallo,
I have the following gauge switch to control the doors on an aircraft.
It uses two buttons to open and close two separate doors.
<Gauge Name="Doorcontrol" Version="0.1">
<Image Name="Beech_58.bmp" Luminous="No" ImageSizes="200,100"/>
<!-- DISPLAY =============================================== -->
<Element>
<Image Name="switch_A_on.bmp" ImageSizes="38,60"/>
<Position X="28" Y="35"/>
</Element>
<Element>
<Image Name="switch_A_on.bmp" ImageSizes="38,60"/>
<Position X="114" Y="35"/>
</Element>
<!-- Main Exit - Display -->
<Element>
<Visible>(A:CANOPY OPEN,enum) 1 ==</Visible>
<Image Name="switch_A_off.bmp" ImageSizes="38,60"/>
<Position X="28" Y="35"/>
</Element>
<!-- Engine Canopy - Display -->
<Element>
<Visible>(A:EXIT OPEN:1, enum) 1 ==</Visible>
<Image Name="switch_A_off.bmp" ImageSizes="38,60"/>
<Position X="114" Y="35"/>
</Element>
<!-- MOUSE BUTTONS ==================================================== -->
<Mouse>
<Help_none/>
<!-- Main Exit - Button -->
<Area Left="28" Top="35" Width="38" Height="60">
<Click Event="TOGGLE_AIRCRAFT_EXIT"/>
<Cursor Type="Hand"/>
</Area>
<!-- Engine Canopy - Button -->
<Area Left="114" Top="35" Width="38" Height="60">
<Click>(>K:TOGGLE_AIRCRAFT_EXIT) (>K:SELECT_2)</Click>
<Cursor Type="Hand"/>
</Area>
</Mouse>
</Gauge>
I would like to combine the two Key Events into one mouse click.
That is, I wish to open both doors simultaneously with one button.
How can this be done? I would be grateful for any help.
Terry
I have the following gauge switch to control the doors on an aircraft.
It uses two buttons to open and close two separate doors.
<Gauge Name="Doorcontrol" Version="0.1">
<Image Name="Beech_58.bmp" Luminous="No" ImageSizes="200,100"/>
<!-- DISPLAY =============================================== -->
<Element>
<Image Name="switch_A_on.bmp" ImageSizes="38,60"/>
<Position X="28" Y="35"/>
</Element>
<Element>
<Image Name="switch_A_on.bmp" ImageSizes="38,60"/>
<Position X="114" Y="35"/>
</Element>
<!-- Main Exit - Display -->
<Element>
<Visible>(A:CANOPY OPEN,enum) 1 ==</Visible>
<Image Name="switch_A_off.bmp" ImageSizes="38,60"/>
<Position X="28" Y="35"/>
</Element>
<!-- Engine Canopy - Display -->
<Element>
<Visible>(A:EXIT OPEN:1, enum) 1 ==</Visible>
<Image Name="switch_A_off.bmp" ImageSizes="38,60"/>
<Position X="114" Y="35"/>
</Element>
<!-- MOUSE BUTTONS ==================================================== -->
<Mouse>
<Help_none/>
<!-- Main Exit - Button -->
<Area Left="28" Top="35" Width="38" Height="60">
<Click Event="TOGGLE_AIRCRAFT_EXIT"/>
<Cursor Type="Hand"/>
</Area>
<!-- Engine Canopy - Button -->
<Area Left="114" Top="35" Width="38" Height="60">
<Click>(>K:TOGGLE_AIRCRAFT_EXIT) (>K:SELECT_2)</Click>
<Cursor Type="Hand"/>
</Area>
</Mouse>
</Gauge>
I would like to combine the two Key Events into one mouse click.
That is, I wish to open both doors simultaneously with one button.
How can this be done? I would be grateful for any help.
Terry
Last edited:

