From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am looking to perform a zoom operation on a 2d picture box indictator using the zoom factor property node. I have it currently working with a slider but what I want to do is use plus and minus buttons to zoom in and out. The zoom factor is in an event structure. The initial zoom factor is 0.4. Usual zoom factor like 2x, 4x, 8x, 16x.
---------------------------------------------------------------------------------- I have not lost my mind, it's backed up on a disk somewhere
You can create 2 different events for + and - buttons or a single one and depending on the button press you can change the value. So have the zoom factor in array and increase or decrease based on the button press. If you have 4 zoom in and 4 zoom out have an offset of 4 to start with. Is it what you are looking for?
-----
The best solution is the one you find it by yourself