Well, F330::OnQueryClose happens just before F330::OnClose is triggered where ApplicationManagement.LogInEnd is called.
So, yes, if you want to prevent/confirm closing you found the most close place (although this happens also when only changing company or just hitting Escape to many times :?
Comments
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Where I did get success was in the OnCloseQueryForm event of the main menu form, i.e. 330.
Waynewil
So, yes, if you want to prevent/confirm closing you found the most close place (although this happens also when only changing company or just hitting Escape to many times :?
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯