Jump to content
Sign in to follow this  
Guest dek

XML.....

Recommended Posts

Guest dek

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

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


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Share this post


Link to post
Share on other sites
Guest Karl R Pettersen

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
Guest dek

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...