Subject |
Re: shorcut for printing |
From |
Ronnie MacGregor <No_Sp@m.Thanks> |
Date |
Tue, 14 Jun 2022 08:47:32 +0100 |
Newsgroups |
dbase.getting-started |
In article <1fIsiUzfYHA.948@ip-AC1E04A7>, invalid@invalid.invalid
says...
> the blankety-blank thing
Afrikaans profanity ? <bg>
> it causes the original pushbutton's onClick event to fire twice
> which was the original problem.
You could just swallow the second firing . . .
function PUSHBUTTON1_onOpen
this.LastFired = 0
return
function PUSHBUTTON1_onClick
nNow = seconds()
if nNow - this.Lastfired > 1
DoMyStuff()
this.Lastfired := nNow
endif
return
|
|