Sign in to follow this  
Guest dek

XML.....

Recommended Posts

Hi all, I hope someone can give me some advise.Here is the scenario:BmpA is visible on a panel. I want to left-click and replace bmpA with bmpB, but the problem is that I want bmpB to be visible only as long as the left-mouse click button is depressed. When the button is released, I want bmpB to disappear and bmpA to be visible again.Not sure how difficult this is.Any help appreciated!dek

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

One way to do this relies on the order of how the following is done.1. If G:var1 = 1 show bitmap b 2. If G:var1 = 0 show bitmap a3. If G:Var1 = 1 then set G:Var1 to 04. Click Repeat="Yes" 1 >G:Var1Regards,Roman

Share this post


Link to post
Share on other sites

For a image_while_mouse_depressed type, you could use the mouse events. See the default GPS gauge, if what the GPS does what you need. Don't have time for better explanation at this point :)

Share this post


Link to post
Share on other sites

Thanks for the prompt and helpful responses! I think I can get it now.Don Kuhn

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this