PageControl.ActivePage

Hello,


this may be a stupid question. I try to use the following code:

FNCPageC_1.ActivePage := FNCPage_Grid;

to set the ActivePage in code. However at compile time I get a type mismatch error:

[dcc32 Error] frm_MLNMain.pas(1106): E2010 Incompatible types: 'TTMSFNCPageControlPage' and 'TTMSFNCPageControlContainer'

ActivePageIndex works fine. I could not find an explantion in the manual but how would I need to use the ActivePage property correctly?

Kind regards
gernot

Hi, 


The ActivePage can be set with

ActivePage := TMSFNCPageControl1.Pages[0]
We will investigate if we can add a property to set the active tab according to the page container