OfficePage width of Tabs

Hi all,


I have a an AdvOfficePager with several AdvOfficePage.

Where can I get the width of tab ?

I don't find it... (there is no TabWidth )

TIA

This can be found in TabSettings.Width.

Yes but TabSettings.Width = 0

This means that the tab will automatically try to take the necessary space for the caption.

yes but how can I get the width ? I need this value

I'm sorry for this misunderstanding, I didn't get that in your initial post. You can get the Width via the Tab rectangle in the code:
AdvOfficePager.GetTabRect( [PageIndex/Page] ).Width
Gjalt Vanhouwaert2020-05-05 08:30:35

ok thanks