Sliders not working?
Re: Silders not working?
Please test my instrument with the default Cessna 172, not with any other aircraft. Also make sure that you are using the latest plugin.
-
- Posts: 69
- Joined: Mon Sep 13, 2021 3:21 am
Re: Sliders not working?
AM Plugin v3.3
Tested with default Cessna 172, can't move it.
Let me explain better - If I move the mixture in my R44 from the cockpit in X-plane (and with your code using the Cessna) the slider moves in response correctly. But I can't move the slider from Air Manager.
In my last posted code without any connection to a sim - should something appear in the console? if not there another test I can do without worrying about the sim to demonstarte the problem?
and now that I had some sleep the array thing is clear now was getting confused between the xpl subscribe and the slider inputs
Tested with default Cessna 172, can't move it.
Let me explain better - If I move the mixture in my R44 from the cockpit in X-plane (and with your code using the Cessna) the slider moves in response correctly. But I can't move the slider from Air Manager.
In my last posted code without any connection to a sim - should something appear in the console? if not there another test I can do without worrying about the sim to demonstarte the problem?
and now that I had some sleep the array thing is clear now was getting confused between the xpl subscribe and the slider inputs
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)
Re: Sliders not working?
Then the problem is probably in the writing. I'm not sure what the latest plugin version is for the Mac. If you download it from the wiki then you'll have the latest version.
-
- Posts: 69
- Joined: Mon Sep 13, 2021 3:21 am
Re: Sliders not working?
Downloaded the latest yesterday to check, same version as what I'm already using.
But again - it can't be the plug in or x-plane. What test can I do to demostrate that for you?
Can we file an official bug report please (or should I submit a ticket?) seems likely it's something on mac - happy to do any tests and provide debug data. Just need instructions.
But again - it can't be the plug in or x-plane. What test can I do to demostrate that for you?
Can we file an official bug report please (or should I submit a ticket?) seems likely it's something on mac - happy to do any tests and provide debug data. Just need instructions.
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)
Re: Sliders not working?
You can use this instrument as an example.
-
- Posts: 69
- Joined: Mon Sep 13, 2021 3:21 am
Re: Sliders not working?
Still nothing
Here's a vid of what's happening https://drive.google.com/file/d/19nEpDv ... sp=sharing
Here's a vid of what's happening https://drive.google.com/file/d/19nEpDv ... sp=sharing
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)
Re: Sliders not working?
Can you try adding this instrument to a panel, and then lock the panel position.
Re: Sliders not working?
I can only assume its something weird with the mac. I just tried and the slider moves. If you are not on it correctly even if the hand is showing it will move the instrument but you seem to be right on it and still the instrument moves.
@Ralph I did spot another issue though. The vertical slider does not move to the same extent as the horizontal slider with the same x,y,w,h applied. With the following code, use the ver and then try the hor and you'll see the difference. Am i missing something?
@Ralph I did spot another issue though. The vertical slider does not move to the same extent as the horizontal slider with the same x,y,w,h applied. With the following code, use the ver and then try the hor and you'll see the difference. Am i missing something?
Code: Select all
my_text = txt_add("0.00", "size:40; color: black;", 20, 20, 100, 44)
function set_mixture(position)
slider_set_position(slider_mixture , position)
txt_set(my_text, string.format("%04.02f", position) )
end
slider_mixture = slider_add_ver(nil, 125, 10, 47, 280, "silder.png", 50, 105, set_mixture)
--slider_mixture = slider_add_hor(nil, 10, 125, 280, 47, "silder.png", 50, 105, set_mixture)
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
-
- Posts: 69
- Joined: Mon Sep 13, 2021 3:21 am
Re: Sliders not working?
Yeah still no go with a locked panel
Take 2: https://drive.google.com/file/d/1-3ioCl ... sp=sharing
Take 2: https://drive.google.com/file/d/1-3ioCl ... sp=sharing
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)
Re: Sliders not working?
Strange, it might have something to do with the cursor, because that doesn't work as well. I've added it to the to-do list.