>An example would be a prg which determines what to do based on the value of _Screen.activeform.name. Or perhaps a parent class with buttons may determine which buttons to enable based on the value. (Disable the buttons when the form is not active).
>
>
That exactly what I've done in my taskbar class, using binding to windows events.
You can download it from here:
http://dorinvas.googlepages.com/HTH