I’m writing an app for the iPad that has a split view. The view on the right has a canvas (MapView) and the view on the left (ConfigView) has numbers (in text boxes and sliders) that determine exactly what you see in the canvas. I would like to be able to change the numbers in the configView and have the changes immediately reflected in the canvas of the MapView. The MapView has a Paint event in the canvas that does all of the drawing. If I put code in the change event of a ConfigView textbox like:
Dim v as new MapView // because you can’t do MapView.Canvas1.Invalidate
v.Canvas1.Invalidate
The canvas is not refreshed until I tap and drag in the MapView. There must be some way to get the canvas in the mapView to invalidate immediately when a change is made in the configView or vice versa (e.g., tap a point in the MapView and show the coordinates in the appropriate textbox of the ConfigView. It seems like I must be missing something easy.
Thanks, Jrmie, the delegate method worked great! I’m sure the Interface approach would work well, too. This is my first iPad split view project and I really appreciate your guidance.