
|
This method cannot be called during the following events. If you want to call BringToFront and BringToBack from these events, please use the following code to avoid this.
OnInitialize
OnInitializeReady
OnInitializeReadyBefore
OnInitializeBefore
OnInitializeDone
OnTerminate
OnLogin
OnLoginStateChanged
OnHeartBeat
OnSyncEvent
Workaround code example)
event OnInitialize()
{
this._BringToBack();
}
function _BringToBack()
{
this.SetTimer(0, 0, 1);
}
event OnTimer(timerid,counter)
{
this.BringToBack();
}
|