October 29, 200916 yr Hi. Could someone kindly advise: how do you make a switch or knob (e.g. an altitude select knob) keep turning as long as the cursor is over it and the left mouse button is held down, rather than only moving up a notch every time the mouse button is clicked?Thank you for any help,Martin Martin Stebbing, EGLF (UK)
October 29, 200916 yr Commercial Member MOUSE_DOWN_REPEAT Ed Wilson Mindstar AviationMy Playland - I69
October 29, 200916 yr Hi. Could someone kindly advise: how do you make a switch or knob (e.g. an altitude select knob) keep turning as long as the cursor is over it and the left mouse button is held down, rather than only moving up a notch every time the mouse button is clicked?Thank you for any help,MartinHere is the code from a sperry_177 atopilot I've been working on for a bit.<Gauge Name="Auto_Altitude_Sel_Knob_MCP" Version="1.0"> <Image Name="Auto_hdg_Sel_MCP.bmp" Luminous="Yes"/> <Mouse> <Help ID="HELPID_AUTOPILOT_ALTITUDE_HOLD"/> <Tooltip ID="TOOLTIPTEXT_AUTOPILOT_ALTITUDE_INDICATOR_FEET" MetricID="TOOLTIPTEXT_AUTOPILOT_ALTITUDE_INDICATOR_METERS"/> <Area Left="3" Top="2" Right="25" Bottom="23"> <Area Right="11"> <Click Event="AP_ALT_VAR_DEC" Repeat="Yes"/> <Cursor Type="DownArrow"/> </Area> <Area Left="11"> <Click Event="AP_ALT_VAR_INC" Repeat="Yes"/> <Cursor Type="UpArrow"/> </Area> </Area> </Mouse></Gauge>Douglas
October 30, 200916 yr Author Thanks both - I'll try this out. I just couldn't find the right syntax..Martin Martin Stebbing, EGLF (UK)
Create an account or sign in to comment