-
XML Keystrokes
Hi Bill and Dietmar !,thanks a lot for your assistancei got it ! ( big,big thanks :( to "edi" who wrote this code)it works with a counter, something new for me as a "newbie" in XML :( <Gauge Name="Warning_Test" Version="1.0"></P> <P>!-- mouse begin --><Mouse> <Tooltip ID="">%((L:Test_W,number))%{case}%{:0} L: Test start %{:1} Test running %{end}</Tooltip> <Cursor Type="Hand"/> <Click Kind="LeftSingle+Rightsingle" > (M:Event) 'LeftSingle' scmp 0 == (L:Test_Counter,number) 0 == && if{ 1 (>L:Test_W,number) 20 (>L:Test_Counter,number) } </Click></Mouse><!-- mouse ende --></P> <P> <Keys> <On Key="70"> (L:Test_Counter,number) 0 == if{ 20 (>L:Test_Counter,number) 1 (>L:Test_W,number) } </On> </Keys></P> <P><!-- output begin --> <Element> <Select> <Value> (L:Test_Counter,number) 0 > if{ (L:Test_Counter,number) -- (>L:Test_Counter,number) } (L:Test_Counter,number) == if{ 0 (>L:Test_W,number) } (L:Test_W,number) </Value> <Case Value="0"><Image Name="Switch_3_Off.bmp" Bright="Yes"/></Case> <Case Value="1"><Image Name="Switch_3_On.bmp" Bright="Yes"/></Case> </Select> </Element> Tom
-
XML Keystrokes
Hi Dietmar,Oh, i
-
XML Keystrokes
Hello Dietmar,Thanks,I
-
XML Keystrokes
Hi Bill,thanks, <Keys> <On Key="74"> (L:Test_W, bool) ! (>L:Test_W, bool) </On> </Keys> I
-
XML Keystrokes
Hello all,I need a little help for a simply gauge, want a keystroke for this.Its a Warning Light Test Switch who returns automaticly after mouse klick released.I know about the <Key On> entrys for Keystrokes in XML, but what code i must fill in to following gauge ? <Gauge Name="Warning_Test" Version="1.0"> <Element> <Select> <Value>(L:Test_W,bool)</Value> <Case Value="0"> <Image Name="Switch_3_Off.bmp" ImageSizes="37,62,0,0"/> </Case> <Case Value="1"> <Image Name="Switch_3_On.bmp" ImageSizes="37,62,0,0"/> </Case> </Select> </Element> <Mouse> <Area Bottom="31"> <Cursor Type="UpArrow"/> <Click Kind="LeftSingle+LeftRelease">(L:Test_W, bool) ! (>L:Test_W, bool)</Click> </Area> <Area Top="32"> <Cursor Type="Hand"/> <Click>0 (>L:Test_W,bool)</Click> </Area> </Mouse></Gauge> so <Keys> <On Key="74"> (what code here?) </On> </Keys></Gauge>thanks !Tom
flightTom
Members
-
Joined
-
Last visited