OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Peter2 on March 19, 2015, 08:14:58 AM

Title: Move existing controls relatively
Post by: Peter2 on March 19, 2015, 08:14:58 AM
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"?
Title: Re: Move existing controls relatively
Post by: Fred Tomke on March 19, 2015, 10:07:17 AM
Hi, Peter, unfortunately, not.
I use cursor keys (left, right, up, down) for that.
With regards,Fred
Title: Re: Move existing controls relatively
Post by: Peter2 on March 19, 2015, 10:21:37 AM
Quote from: Fred Tomke on March 19, 2015, 10:07:17 AM
Hi, Peter, unfortunately, not....
Quel dommage !
Quote from: Fred Tomke on March 19, 2015, 10:07:17 AM
..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.
Title: Re: Move existing controls relatively
Post by: Fred Tomke on March 19, 2015, 01:55:55 PM
Hi, me again: Sometimes I change the values in the properties tab.
But you have to compute yourself.
Fred
Title: Re: Move existing controls relatively
Post by: Peter2 on March 20, 2015, 04:04:24 AM
Quote from: Fred Tomke on March 19, 2015, 01:55:55 PM
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"  ;)
Title: Re: Move existing controls relatively
Post by: owenwengerd on March 20, 2015, 06:57:26 AM
Quote from: Peter2 on March 20, 2015, 04:04:24 AM
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.
Title: Re: Move existing controls relatively
Post by: Peter2 on March 20, 2015, 11:48:59 AM
Quote from: owenwengerd on March 20, 2015, 06:57:26 AM
..You should add that as a feature request.
Done: #146
Title: Re: Move existing controls relatively
Post by: Peter2 on March 26, 2015, 12:54:25 AM
Quote from: owenwengerd on March 20, 2015, 06:57:26 AM
...so maybe not too difficult to implement.

Added in version 8.0.0.13. Thanks to Owen.
QuoteThis 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.