When does a call to GetSkinIndex become >= 0? I've tried calling it in the SkinManager AfterChange event but if I do that when the app first loads it seems to not be available (GetSkinIndex is -1). If I call it later from, say, my app idle or a dropdown menu it works as expected (GetSkinIndex is 0 or more).
Current skin must be loaded (sSkinManager1.Active property should be True and SkinName is sSkinManager1.correct).
If skin is not loaded yet, then array of sections is empty and all SkinIndexes will be -1.
OK, is there any event that fires or a property I can check that tells when the skin is loaded for sure? Something like an OnSkinLoaded event? I know there isn't one but is there anything that acts like that? Or should I just repeat the GetSkinIndex call until it is >= 0?