Hi guys
Continuing my quest to get AnyView.Parent and use it to set as the parent of another view I came to these lines of code...
wich doesn't work...
I am trying to set a views Parent to be another's view Parent
if needed i can provide the debug stack
Continuing my quest to get AnyView.Parent and use it to set as the parent of another view I came to these lines of code...
B4X:
Private JPanel = DPanel As JavaObject 'DPanel is a Panel, JPanel is the JObj linked to it
Private jParent = byParent As JavaObject 'byParent is the view passed in the class initializer, JParent is its JObj
JPanel.RunMethod("setParent",jParent.RunMethod("getParent",Null))
wich doesn't work...
I am trying to set a views Parent to be another's view Parent
if needed i can provide the debug stack
Last edited: