Forum > Designer

[Solved] How to move icons together at design time.

(1/2) > >>

loaded:
Hi All,
Is it possible for the datasource icon to move with the button icon during the design phase?

JuhaManninen:

--- Quote from: loaded on September 20, 2021, 10:14:04 am ---Is it possible for the datasource icon to move with the button icon during the design phase?

--- End quote ---
You must select them both using mouse Shift-click, then move.
Anchors cannot be used with non-visual components.

loaded:
First of all thank you very much for your reply, Master JuhaManninen.
Yes if I use the shift key they move together. If I want this move to be permanent, is there anything else I can do?
Because I have more than one button and data source, it is a little troublesome to use the shift key every time.
What I mean is actually assigning the button as the ancestor of the datasource so that when I just move the button, the datasource will travel with it.

MarkMLl:

--- Quote from: loaded on September 20, 2021, 10:33:15 am ---First of all thank you very much for your reply, Master JuhaManninen.
Yes if I use the shift key they move together. If I want this move to be permanent, is there anything else I can do?
Because I have more than one button and data source, it is a little troublesome to use the shift key every time.
What I mean is actually assigning the button as the ancestor of the datasource so that when I just move the button, the datasource will travel with it.

--- End quote ---

So what you're effectively looking for is a way of doing design-time grouping, like you can group elements in a vector drawing program (Inkscape, a CAD program etc.).

I'd suggest that this is closely related to being able to lock design-time layout, and my understanding is that neither is well supported by the IDE: the closest you'll get is by using a frame for visual components or a datamodule for non-visual components.

MarkMLl

loaded:
MarkMLI, Thank you very much for taking your precious time to reply. At least I realized I wasn't on the wrong track. Thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version