Ooops

duneplodder

Active Member
Licensed User
Longtime User
I have just spent some time creating a new panel then realised I was adding it to the wrong layout!
I don't suppose there is any way of copying views between layouts...?
 

pluton

Active Member
Licensed User
Longtime User
Need more details but you can add that panel to other parent.

Example:
B4X:
panel1.RemoveView 'it removes view from his parent
panel1.AddView(OtherView, 0dip, 0dip, 100%x, 100%y) 'addview to another parent
 
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
Not sure if that would help or not
Perhaps I am using the wrong terminology, still adjusting to the new names.

I was working in the Designer (B4A v. 1.6). I had an Activity module called SplashScreen open, & spent quite a while creating a Panel. Then I realised I should have been creating a Panel in my Main1 activity.

Not important now as I've redone it now, I just wondered if there was a way around it?
 
Upvote 0
Top