Copy/Paste Form object - odd behaviour

Issues related to forms.
User avatar
Pablo
 
Posts: 19672
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Copy/Paste Form object - odd behaviour

Post by Pablo » Tue Oct 17, 2017 9:42 am

Here is what is happening (according to me, based on your video):
- button1 is added to the form.
- copy/paste adds button2 , it is not part of the form.
- you click on the (stacked) buttons, button1 will be selected (see the selection in the Object Manager)
- button1 is moved
- button2 stays in place because it is not selected.
The reason why button1 gets selected and not button2 when you click on it is because it is part of the form.

WWBman
 
 
Posts: 740
Joined: Fri Jan 08, 2010 6:10 pm

Re: Copy/Paste Form object - odd behaviour

Post by WWBman » Tue Oct 17, 2017 10:06 am

Why then does a second paste work as I would expect it to work?
I.e. Button3 is moved when you drag.

Also, if you lock all before the copy/paste then you can't drag the button!

User avatar
Pablo
 
Posts: 19672
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Copy/Paste Form object - odd behaviour

Post by Pablo » Tue Oct 17, 2017 10:32 am

Why then does a second paste work as I would expect it to work?
Because then the z-index is higher than the form.

WWBman
 
 
Posts: 740
Joined: Fri Jan 08, 2010 6:10 pm

Re: Copy/Paste Form object - odd behaviour

Post by WWBman » Tue Oct 17, 2017 10:43 am

I'm sorry but we'll have to agree to disagree.
I accept that this may be how it's always worked but:
If you have an existing website with a form and you want to create a new button to match the existing buttons then a copy/paste should not move the existing button.
And what about the locked situation I mentioned?

User avatar
Pablo
 
Posts: 19672
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Copy/Paste Form object - odd behaviour

Post by Pablo » Tue Oct 17, 2017 11:09 am

And what about the locked situation I mentioned?
This is the same situation. The new button is behind the locked button.

Note that this is all related to the z-order of the objects.
Also keep in mind that objects on a form (or another type of layer) have their own z-index relative to the parent.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests