I have a UnimTabPanel with sheet1 and sheet2.
I can not get the correct activePageIndex,
if sheet1 is active,the activePageIndex is 0;
but if if sheet2 is active,the activePageIndex is still 0;
And I can not judge which sheet is active through this follow code too:
if(UnimTabPanel1->ActivePage==UnimTabSheet1 )
{
ShowMessageN("sheet1");
}
else if(UnimTabPanel1->ActivePage==UnimTabSheet2)
{
ShowMessageN(sheet2);
}
Although,the sheet2 is active,but I still will get sheet1