AdvOfficePager Tab Position at runtime

Hello !

I can't change tab position at runtime. At designtime, it's ok. Tabposition is tptop (easier to toggle between tabs in conception)
in formcreate, I try this
Main_AOP.TabPosition:=tpbottom;
At compilation error :

[dcc64 Erreur] U2_Main.pas(3264): E2010 Types incompatibles : 'TTabPosition' et 'TDefaultTabPosition'

Both Advtoolbarpager and AdvOfficePager in this form.

Verify that ComCtrls is in the uses list and when needed prefix tpBottom with ComCtrls.tpBottom

Works fine now :smile:

Just have to add ComCtrls in uses list.

Thank you

Regards

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.