Re: [Gambas-user] Strange behaviour of LostFocus event

2010-06-22 Thread Jussi Lahtinen
Why lostfocus is executed twice..? Maybe something like this? Public IsInUse as Boolean Public Sub YourSub() If IsInUse = False then IsInUse = True 'Code here. IsInUse = False Endif End Jussi On Tue, Jun 22, 2010 at 00:11, Leonardo Miliani wrote: > A friend of mine has written an app

[Gambas-user] Strange behaviour of LostFocus event

2010-06-21 Thread Leonardo Miliani
A friend of mine has written an application in which he has let the permission at the users to insert a text in the combobox textarea. Then, his code parses the text and, if there are errors, a message box is showed. The problem is that the LostFocus event is executed twice In fact, Gambas tri