realbasic-nug
[Top] [All Lists]

got focus question

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: got focus question
From: Michael de Haan <mdeh at comcast dot net>
Date: Sat, 30 Oct 2004 15:24:06 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi All,

Sorry if this question is a little lame, but here goes

Trying to understand the "gotFocus" event.

So, put this into the "GotFocus" event of an editfield, in a window with 2 editfields.


MsgBox "I have the focus"




On running it, got an infinite loop of msgboxes with the message, and could not get out of the loop.

So, is the gotFocus event sent continuously while the editfield has the focus, or am I missing something here in that dismissal of the message dialog somehow initiates a new "gotfocus event"

tks in advance

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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>