I'm building my Mooney M20 panel still and I want to know if I can make the radio stack and have it hidden off to the side and when I press a button on the panel have the radio stack side into view and then back out of view when I press the button again.
I'm doing this work in the 4.0 Beta version.
I tried to search for this but I'm in information overload at this point.
I still have not created an instrument from scratch yet but that will be happening soon.
Thank you for the help you have all given me so far and will in the future. I hope to be able to contribute help in the future too.
Can I make a Hide away radio stack
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Can I make a Hide away radio stack
Hi,
Yes that can be done using move() or visible() or viewport_rect() with animation.
@JackZ Jacques even did a page flipper for me some years ago to flip charts, checklists and user manuals.
Keith
Yes that can be done using move() or visible() or viewport_rect() with animation.
@JackZ Jacques even did a page flipper for me some years ago to flip charts, checklists and user manuals.
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Can I make a Hide away radio stack
The hide/show code would need to be at panel level if you want to do this with existing instruments.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Can I make a Hide away radio stack
I tried searching for samples of the Hide/Show stuff and cannot find anything. Does anyone know of a video or thread about it I could look at.
I currently have a full panel without any radio stack and I want to build a stack that is hidden off the ride side of the screen and when you press a button on the screen it comes into view and then when done using it you press the button again and it goes back out of view.
So in the code will I hide/show each part of the radio stack or can the stack be all one and move together?
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Can I make a Hide away radio stack
Hi,
As tony says. For a store instrument use an Panel script.
http://siminnovations.com/wiki/index.ph ... rument_get
Keith
As tony says. For a store instrument use an Panel script.
http://siminnovations.com/wiki/index.ph ... rument_get
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Can I make a Hide away radio stack
Thank you give me some direction to go with but I already see a problem. I want to hide a GSN530 and I cannot do that because it will have part of the sim display popped out and placed to fit inside it. So this may be for nothing.
Re: Can I make a Hide away radio stack
That will be a bit trickier for sure. However I think it should still be possible if you get creative. If you can’t hide the GNS windows from the sim then hide/show a cover over it that has some instruments on it.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Can I make a Hide away radio stack
I get it. Leave the GNS in place and cover it with the other part of the panel. Well that is going to take some thinking and planning.
Re: Can I make a Hide away radio stack
The best way to approach it is to sketch out what you want the panel to look like in both modes. From this you’ll get an idea of what instruments will end up being fixed and which ones from each panel will need to be part of the show/hide.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Can I make a Hide away radio stack
Funny I was looking at the panel and doing that in my head. I just need to try and hide and show one gauge to see how the code works with a button on the panel. At the speed (SLOW SLOW) I work at this may take me a few days. I use to tell my boss "I may be slow but I do crappy work". He did not think it was funny. That was when I was an FAA Repairman working on aircraft instrument before I became a software engineer.