I am confused by a couple things in the CanvasDragRect example that comes with Xojo.
DragCanvas is the name of the canvas that exists in the MainWindow of the project. It appears to be a basic canvas (not a subclass). There are a number of event handlers. MouseDown, MouseDrag etc. these have associates code. They have the icon that I associate with event handlers. But I am expecting them to be in the subcategory EventHandlers. They are not. They are at the highest level under DragCanvas.
One of the event handlers is Paint. It has two parameters. (g As Graphics, areas() As REALbasic Rect).
Lets say I wanted to change the name areas to something else. I see no way of accessing the parameters to do that. I can access the code inside that event but not the parameter listing.