Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: First field required, cancelling 1999-12-01 -- Jeff Slarve Carl [Barnes] figured out a trick for this... I don't remember exactly, but I
believe it involved putting ALRT(MouseLeft) on the CANCEL button.
Then, on the Event:AlertKey for that button, you would
POST(Event:CloseWindow).
Otherwise, as you already know, the Event:Accepted gets fired for your
entry field upon losing focus.
This way, the EVENT:AlertKey happens before the Accepted event
Carl notes:
What I did was as Jeff described ALERT(MouseLeft) on Cancel and then:
OF ?Cancel
CASE EVENT()
OF EVENT:AlertKey
CASE KEYCODE()
OF MouseLeft
POST(EVENT:Acceted,?Cancel)
Today is November 21, 2024, 6:44 am This article has been viewed 35206 times.
|
|