Move existing controls relatively

Started by Peter2 · 2015-03-19 15:14 UTC · 7 replies · SMF topic #2245

Is there a way to move existing controls (one or a group of controls) like the "move-command" in AutoCAD? Select the controls - move: "30 to right, 25 down"?
Hi, Peter, unfortunately, not.
I use cursor keys (left, right, up, down) for that.
With regards,Fred
author=Fred Tomke link=topic=2245.msg11282#msg11282 date=1426784837 wrote:
Hi, Peter, unfortunately, not....

Quel dommage !
author=Fred Tomke link=topic=2245.msg11282#msg11282 date=1426784837 wrote:
..I use cursor keys (left, right, up, down) for that...

Me too, but 30 right and 20 down takes some time  ;)

Thanks for your answer. I can live with the current situation.
Hi, me again: Sometimes I change the values in the properties tab.
But you have to compute yourself.
Fred
author=Fred Tomke link=topic=2245.msg11284#msg11284 date=1426798555 wrote:
Hi, me again: Sometimes I change the values in the properties tab.
But you have to compute yourself.
Fred

To enter one value for many controls results in the same value for the controls. Great for some properties, but not great for position values ...

It would be fine if a function in the prop-tab (for position) could be realized: e.g.
- enter "+20"
- the positions of the different selected controls are modified with "+20"  ;)
author=Peter2 link=topic=2245.msg11285#msg11285 date=1426849464 wrote:
It would be fine if a function in the prop-tab (for position) could be realized: e.g.
- enter "+20"
- the positions of the different selected controls are modified with "+20"  ;)


I like that idea! It could be done without changing any existing behavior, so maybe not too difficult to implement. You should add that as a feature request.
author=owenwengerd link=topic=2245.msg11287#msg11287 date=1426859846 wrote:
..You should add that as a feature request.

Done: #146
author=owenwengerd link=topic=2245.msg11287#msg11287 date=1426859846 wrote:
...so maybe not too difficult to implement.


Added in version 8.0.0.13. Thanks to Owen.
This feature is implemented in OpenDCL 8.0 Alpha 13, except that it requires use of the @ prefix when entering the offset value in the property grid. For example, select controls, select the Left property, type in @10 to move all controls 10 pixels to the right. Type @-10 to move them 10 pixels to the left. This works only for selected integer properties, but particularly for all control positioning properties.