Is it possible to select multiple objects at once and move them with the mouse? - Forum

Forum Navigation
You need to log in to create posts and topics.

Is it possible to select multiple objects at once and move them with the mouse?

HI again .-)

Look my example please !

I´m trying to selected several objects at the same time and drag them to any other place but I´m not getting results.

Is it possible to do what I want?

Spanish: Hola a todos, estoy intentando seleccionar varios objetos  a la vez con el ratón y arrastrarlos a cualquier otro lugar pero no sé si se puede hacer,  no he visto nada al respecto en el forum y por eso vuelvo a molestaros por si sabéis algún método por donde abordar  esta cuestión. Supongo que de esto sabrán mucho los que trabajáis con puzzles .

Os dejo un ejemplo base  para que lo intenteis . Gracias

Uploaded files:
  • You need to login to have access to uploads.

@joaquinfdez

To make multiple selections, Hold the Shift key down while you click on the objects.

Then, to move the selected objects, just drag and drop one of them ... they will all move in unison.

When done, click somewhere else on the page to unselect them.

@joaquinfdez puedes poner los objetos en un Container y hacer que el Container se pueda arrastrar de modo que todo lo que hay dentro se mueva de lugar al mismo tiempo. Fíjate que con MoveObjectIntoContainer puedes mover los objetos desde unos Containers a otros según te interese y hacer cosas bastante complejas.

@gaev imposible to do that , command slDraggable does not allow me to execute that action .

@luishp  MoveObjectIntoContainer  tiene buena pinta , no sabía para que era , ¿Hay algún ejercicio que trate ese comando para que  pueda entender como funciona ?

Muchas gracias a los dos por contestar @gaev y @luishp

 

 

@joaquinfdez

imposible to do that, command sl Draggable does not allow me to execute that action.

I assumed you were enquiring about doing this at Design time (not at Run time).

 

@gaev and @luishp please.

how can I do the images inside a container look after using the moveobjectintocontainer command ?

How Can I do transparent a container ?  with the intention of showing the images inside.

Spanish: ¿Cómo puedo mostrar las imagenes que he mandado dentro del container con el comando MoveObjecintoContainer?

He intentado hacer transparente el container para que se vean las imagenes de su interior pero no lo consigo.

@joaquinfdez te adjunto un ejemplo a versi esto te puede ayudar.

Verás que haciendo clic en cada imagen se posicionan dentro del container el cual se puede mover con las imágenes en su interior.

Yo también estoy aprendiendo VisualNeo y sobre todo lo aplica a actividades educativas.

 

Rogr Rey

Uploaded files:
  • You need to login to have access to uploads.

@rrey

Thanks for the sample App.

@luishp

It is not documented anywhere, but does the MoveObjectIntoContainer command only work with Image and SVGicon type of objects ? ... I tried to use Containers, Paragraphs etc. ... and each time, the object disappears from view ... MoveObjectToFront or changing the opacity of the container did not have any effect.

Also, once contained, is there any command to move the contained object out again ?

does the MoveObjectIntoContainer command only work with Image and SVGicon type of objects ?

@gaev no, it works with any object.

I tried to use Containers, Paragraphs etc. ... and each time, the object disappears from view

That's probably because the object coordinates. Its position is just further than Container borders (Switch overflow Container properties to auto).

Also, once contained, is there any command to move the contained object out again ?

Yes, just use the Page name as the target Container.

@luishp

Thanks ... works as explained.

Is this just a command to enable moving multiple objects in one drag/drop action ? ... or are there other uses ?

 

Ok !! muchas gracias @rrey

Me vale tu opción , pero quiero que veas mi ejemplo a ver si me arrojas luz sobre como conseguir visualizar dentro del container los dibujos una vez haces click en el boton .

 

 

Uploaded files:
  • You need to login to have access to uploads.

@joaquinfdez  con esto me ha funcionado:

MoveObject "Image1" 1 1

MoveObject "Image2" 1 100

Has de posicionar el objeto en el container. Pon las coordenadas necesarias.

 

saludos,

 

 

 

 

 

 

Is this just a command to enable moving multiple objects in one drag/drop action ? ... or are there other uses ?

@gaev you can use it to move objects from one Container or Page to another one.

@luishp

you can use it to move objects from one Container or Page to another one.

Great ... having a Container/Object that can be reused across multiple pages brings up a number of possibilities ... custom windows,  dialog boxes, alerts, hints etc. ... thanks.

 

Great ... having a Container/Object that can be reused across multiple pages brings up a number of possibilities ... custom windows, dialog boxes, alerts, hints etc. ... thanks.

@gaev not exactly. When using MoveObjectIntoContainer both the object and the Container must exist in the current view. If you want to reuse an object across multiple pages you should put it on a Master Page.
Regards.

@luishp

not exactly. When using MoveObjectIntoContainer both the object and the Container must exist in the current view.

Dang :-(

If you want to reuse an object across multiple pages you should put it on a Master Page.

That might help in some use cases.

Just wondering (will have to try it out later) ... what happens when I move CurrentPage objects into a MasterPage Container ... and then navigate to another page ? ... are the page-specific objects still bound-to/viewable-in the Container ?

Thanks.