May 2, 200422 yr Hi all!I'm currently working on an XML-altimeter gauge in which I would like to use the left and right mouse buttons within the same mouse area to trigger different functions. As I searched this forum I found that some say this is not possible and some people say it can be done. All I know is that I have several ac:s in which the usage of both mouse buttons is working, so if anyone can give me a hint on how to solve this I would be much gratefulBest regards,Jimmy Samuelsson
May 3, 200422 yr Hi again,Today I managed to solve this problem, by using some of the XML code from the default GPS, where they use two click types within the same area. They want a button to be "pressed" for as long as the left mouse button is pressed and then "unpressed" again when the mouse button is released. I thought I should post it here since I have understood that some of you folks try to do just this and there are even some who say that it is impossible to have more than one click type within the one area.My code for the left/right mouse button looks like this:(M:Event) 'LeftSingle' scmp 0 == if{ your LMB action here } (M:Event) 'RightSingle' scmp 0 == if{ your RMB action here }I'm not sure if this works in fs2002 but it works for me in fs9.Happy landings,Jimmy
Create an account or sign in to comment