[Gambas-user] Order forms events

Benoît Minisini gambas at ...1...
Sat Nov 29 01:06:27 CET 2014


Le 29/11/2014 00:56, Gian a écrit :
> Hi all,
> Normally the order of forms events is this:
>
> Enter
> 1) _new
> 2) Form_Open
> 3) Form_Resize
> 4) Form_BeforeArrange
> 5) Form_Arrange
> 6) Form_Move
> 7) Form_Show
> 8) Form_Move
> 9) Form_Activate
> 10) Form_GotFocus
>
> Exit
> 11) Form_Close
> 12) Form_Deactivate
> 13) Form_Hide
>
> but sometimes in enter is this:
>
> 1) _new
> 2) Form_Open
> 3) Form_Resize
> 4) Form_BeforeArrange
> 5) Form_Arrange
> 6) Form_Move
> 7) Form_Show
> 8) Form_Activate
> 9) Form_GotFocus
> 10) Form_Move
>
> Form_Move seems to be undisciplined, is correct or ...
> Regards
> Gianluigi
>

Yes. Events like Show or Activate come from the window manager, and so 
you cannot know exactly when they are received.

Regards,

-- 
Benoît Minisini




More information about the User mailing list