Kevin,
I 'll have to set up a Dropbox account first but in the meantime I got it to work using a Delegate and Property in the container control:
ContainerControl1
The Delegate is:
SimpleDelegate
The Property is
PointerCallback As SimpleDelegate
View1 has two controls
Rectangle1
Label1
In the View1 Open event:
dim cc as new ContainerControl1
cc = ContainerControl1(ScrollableArea1.Content)
cc.PointerCallback = WeakAddressOf me.GetMethod
In the Container Control I have a button with this code in the Action event:
(“Method” is a shared Text property of View1)
[code]
Select Case Button1.Caption
Case “Change”
View1.Method=“Visible1”
Button1.Caption=“Change Back”
try
if PointerCallback <> nil then
PointerCallback.invoke
End if
catch
End Try
Case “Change Back”
View1.Method=“Visible2”
Button1.Caption=“Change”
try
if PointerCallback <> nil then
PointerCallback.invoke
End if
catch
End Try
End Select[/code]
GetMethod is a Method with the following code:
[code]
If Method=“Visible1” Then
Visible1
end
If Method=“Visible2” Then
Visible2
end[/code]
Method Visible1 Has the following code:
Label1.Text="World"
Rectangle1.FillColor=Color.RGBA(0,0,0,0)
and Method Visible2 Has the following code:
Label1.Text="Hello"
Rectangle1.FillColor=Color.RGBA(255,255,255,0)
Now I’ll try it in my App. Thanks for all your help.