Hi all,

I have a situation in which I need for several windows in my application 
to have a "trapdoor" that will close the application if the user presses 
Command-Period (Macintosh) or Control-Period (Windows).

I believe I've come up with a method of doing that in a timer.

Now, I'd like to make a subclass of the Timer that contains everything 
needed to accomplish this on its own, just by dropping it onto a window.

I'm able to get the subclass to contain the necessary code in the Action 
event, but what I don't seem to be able to do is set the Timer 
subclass's period to something other than 1000 from within the subclass 
itself.

I tried creating a Constructor that had Me.Period = 100 in it, but the 
Period still defaults to 1000 unless I change it in the Properties panel 
or in the Open event of the window.

How can I have my Timer subclass have a different default period than 
the regular Timer class?

Thanks!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to