B4A Designer:
When coping a view which has a parent different then Activity, the default is set to Activity instead of the assigned parent of the view copied.
Wish: Keep the same parent assigned when copying a view.
Yes it works when using Duplicate Selected View, but when you use Copy and Paste it behaves like I described.
It is good to know to use Duplicate Selected Views instead.
in my screens i showed up the contentmenu-entries... BUT i really used STRG-C to copy the selected control. Then marked the panel where i want to insert and used ctrl-v.
i´ll make a 3rd run using the contentmenuentries... hold on
If you select for example a ListView before pasting then the Parent of the pasted object will be changed to Activity due to ListViews does not support child-views
This is wrong.
Select a view and click on Copy.
Select a Panel and click on Paste, the view will be copied to the selected Panel and not to the Activity !
The parent view where the view is pasted depends on the cursor position where you paste.
If you have a Label on a Panel, select the Label, right click on the Label to show the popup menu and click on Copy, position the cursor on the Panel, right click and then click on Copy.
The Label will be duplicated on the Panel.