rwblinn Well-Known Member Licensed User Longtime User Dec 31, 2014 #1 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.
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.
DonManfred Expert Licensed User Longtime User Dec 31, 2014 #2 It´s working like i Expected 2nd try (Copy and Paste) This is working as expected too Last edited: Dec 31, 2014
rwblinn Well-Known Member Licensed User Longtime User Dec 31, 2014 #3 Hi Manfred, 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. Thanks for swift response = Appreciated, Rob
Hi Manfred, 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. Thanks for swift response = Appreciated, Rob
DonManfred Expert Licensed User Longtime User Dec 31, 2014 #4 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 this works as expected too What version of B4A do you use? Last edited: Dec 31, 2014
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 this works as expected too What version of B4A do you use?
DonManfred Expert Licensed User Longtime User Dec 31, 2014 #5 BTW: Be careful which object is the "active one" when pasting back the copied object! If i now click on the black i select the activity If i NOW paste the copied object the parent ob this object will become Activity and not the panel it came from. This is the expected behaviour Make sure that you select the right "destination" (the panel) before pasting the object after you paste the object now It will become a member ob the marked panel
BTW: Be careful which object is the "active one" when pasting back the copied object! If i now click on the black i select the activity If i NOW paste the copied object the parent ob this object will become Activity and not the panel it came from. This is the expected behaviour Make sure that you select the right "destination" (the panel) before pasting the object after you paste the object now It will become a member ob the marked panel
DonManfred Expert Licensed User Longtime User Dec 31, 2014 #6 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
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
klaus Expert Licensed User Longtime User Dec 31, 2014 #7 Yes it works when using Duplicate Selected View, but when you use Copy and Paste it behaves like I described. Click to expand... 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. Last edited: Dec 31, 2014
Yes it works when using Duplicate Selected View, but when you use Copy and Paste it behaves like I described. Click to expand... 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.
rwblinn Well-Known Member Licensed User Longtime User Dec 31, 2014 #8 Alright - all clear - Thanks a Lot for your support. Rob