06-30-2014 11:09 AM
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.
06-30-2014 11:24 AM
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?
06-30-2014 11:35 AM
Yes that is what I am looking for. Have you got an example of this?
06-30-2014 11:42 AM
Just a quick example. Remeber you have to set limits to handle the array Index.