Android Question [B4XPages] Move view between pages

Salar82

Member
Hi all;)

In this thread, it's mentioned that views can be moved between pages(point 9):

How?
I did not find such a thing

thx...
 

Derek Johnson

Active Member
Licensed User
Longtime User
B4X:
Dim v As B4XView = SomeOtherPage.View1
v.RemoveFromParent
Root.Add(v, 10dip, 10dip, 100dip, 100dip)
If the view had event subs, would these still be processed after this move? Or would you have to declare another event sub?
 
Upvote 0
Top