[Gambas-user] How to know is my Form activated or not?
Tobias Boege
taboege at ...626...
Sat May 2 14:04:39 CEST 2015
On Sat, 02 May 2015, abbat81 wrote:
> In Event I use *Form_Activate()* and *Form_Deactivate()*
>
> But I need to have boolean Y/N when I ask.
>
How about
Private $bActive As Boolean
Public Sub Form_Activate()
$bActive = True
End
Public Sub Form_Deactivate()
$bActive = False
End
Then you can ask $bActive.
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list