LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
vix

Move controls of a desired offset

Status: Declined
It's not a bad suggestion, but it's hard to prioritize doing something like this over something else, given that it usually really isn't that big of a deal to use the arrow keys to move a group of controls. Even 200 pixels would only require 20 key presses, which doesn't seem that bad, given that you can simply hold down the arrow key until the controls are near their desired position. Another strategy for moving controls quickly is to use -. That moves them in grid unit increments, instead of 10 pixels at a time. By default, the grid has a 25-pixel interval, but you can increase this interval in the Editor Preferences dialog.

If you select an User Interface control you can move it to a new location in two ways:

  1. through Arrange >> Control Coordinates you can set the new (X, Y) position
  2. moving it of a predefined offset every time you press one of the keyboard arrows, or of one pixel (SHIFT + arrow)

Using the arrows is an easy way if you want to move the control of a little quantity, but it's difficult if you need for example 200 or more pixels.

Moreover with Arrange >> Control Coordinates you can set the new location for a group of selected controls using the "All" buttons.

But if you want to move a group of controls of a desired offset you can only use the arrows.

 

I suggest the implementation of specifying either an absolute position or an offset throug the Control Coordinates window, both for a single control and for a group of them.

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
2 Comments
LuisG
NI Employee (retired)
Status changed to: Declined
It's not a bad suggestion, but it's hard to prioritize doing something like this over something else, given that it usually really isn't that big of a deal to use the arrow keys to move a group of controls. Even 200 pixels would only require 20 key presses, which doesn't seem that bad, given that you can simply hold down the arrow key until the controls are near their desired position. Another strategy for moving controls quickly is to use -. That moves them in grid unit increments, instead of 10 pixels at a time. By default, the grid has a 25-pixel interval, but you can increase this interval in the Editor Preferences dialog.
LuisG
NI Employee (retired)

Looks like my last comment was garbled by the html gods. I meant say "Another strategy for moving controls quickly is to use CTRL + Arrow".