View (control) reuse

jscoulter

Member
Licensed User
Longtime User
Hi.
I have a tabhost that I have a scrollview on that I populate with some data.
However, I am TRYING to reuse the scrollview.

The scenario is, the program defaults to the first tab. the Scrollview is added to a panel on the tabhost page. Now the user clicks the second tab which has another panel on it, but I want the scrollview to be re-used and added to the panel of the second tab....and other successive tabs etc.

In windows programming I would change the parent (or host control) of the control.
I am trying to avoid having to put a scrollview on every tabs panel etc.

Jeremy
 
Last edited:

jscoulter

Member
Licensed User
Longtime User
thats good. Yor reply was actually what I was doing, but what I was doing was calling "Initialize" again :)
I was still having an issue and found a rouge "Initialize" somewhere else:(

anyway, its working as I wanted it to now.

Jeremy
 
Upvote 0
Top