realbasic-nug
[Top] [All Lists]

Timer won't start

To: RBNUG <realbasic-nug@lists.realsoftware.com>
Subject: Timer won't start
From: Dennis Birch <dennisbirch@gmail.com>
Date: Tue, 31 Mar 2009 22:20:43 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=XdNbda3ZJRBlZ/altbE4pPJA6nZeQiFT2t7ofS6av9o=; b=EkXS+TqSaPLAUZNCijg6oQYf3ZsL1Tayp4qeFZ1UerH686FF2hUci0LcEpo1YURiGz PTjOW8FqrEW6nrrSTOGAu2Qpe/td3t9nviMzvojkwjPO2FLJqrWR6j4YYYgBhe/WmwWG uPW4ZSReo9FyWUjMo8LIv84f3AARm/HOn74Ng=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=fGIzX+V6qzW16eu2Ek1Nl9dbReg32a4ZgSpNp3ICuIIoHDbdje/2euiOammx8KOkDA t0+kjPyA/w8nMDeQNyWPF5blv+IMT/ApWa6hPSPAUn09z8TFoM66pUTcZgka1nvgwudL anvaduJ31bF1CkPg1GbyD4kd/x7X4htC46C4o=
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I am getting nowhere trying to make this work, so I wonder if somebody
can recognize anything I'm doing wrong.

I have a method that appends some custom SMTPSocket subclass instances
to an array stored as a window property. At the end of the method,
there is a call to start a timer that has been dragged onto the window
layout to send them off:

  SendTimer.Enabled = True // which shouldn't be necessary, but shouldn't hurt
  SendTimer.Period = Timer.ModeMultiple

(The timer's mode is set to 0, and its period is set to 100 in the
Property pane.)

Then in SendTimer's Action handler I have a break statement at the
very top. If I add a breakpoint at the first line above, I can see
that the method is successfully executing to that point. But the
debugger never breaks into the timer's Action handler, and its action
is not handled as far as I can tell.

I've run out of ideas to try. Anybody have any suggestions?

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

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


<Prev in Thread] Current Thread [Next in Thread>
  • Timer won't start, Dennis Birch <=