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.
using movectrl.fp , I can move or zoom a control easily . Along with this idea , how to emulate such an edit mode :
if a control is selected (e.g., click it) , it can be around with a box have the same shape , just like we edit a control in the cvi user panel . Thanks.
Probably the best way to do this will be to use a decoration that you make visible when the user clicks on that specific control.Take a look at the code attrached for an example, also you may want to use the FOCUS to determine whether to show the box or not.
I see two options here, use another 4 decorations to place the squares in the corner and make then visible and invisible as you need. Another option that you may want to explore is to create an image that has the rectangle with the corners and show and hide this image in the back of the controls.
Take a look at the file attached, I think the decorations may give you a better result since the image will be resized, but it's up to you.