I have a window that I want to hide. When I hide it, I first want to reset its state (in terms of what is happening in the window). When the user happens to want to do this, they just press one of two radio buttons (which form a set) in the window and Hey Presto. So when doing this Hide, I want to simulate this button press, which is a MouseDown on a Canvas. In particular, I want to do it from the Action event handler of another button, just before doing the Hide.
I’m making various attempts, such as:
RaiseEvent Self.manageButt.MouseDown (0, 0, 0)
manageButt is the set of two canvases. None of my attempts wants to compile, however, mostly I just get Syntax Error. What’s the way to do this?