@Krool (regarding AutoSize)

It might be worth mentioning, that samer22 is probably using your Grid in bound mode
(via IVBFlexDataSource).

On my system, when I use such a Binding - and then call AutoSize in this way (for Col-Autosizing, after setting the Binding):

FG.AutoSize 0, FG.Cols - 1, FlexAutoSizeModeColWidth, FlexAutoSizeScopeAll

It seems to use the right "internal Measurement-Texts" only for the Header-Row
(probably because it did buffer these texts internally already, after retrieving them via IVBFlexDataSource_GetFieldName).

The "CellTexts below the Header" (corresponding with IVBFlexDataSource_GetData) -
are apparently not requested when it comes to further Text-measurings "down the lines".

On another note (not really related to the IVBFlexDataSource-problems above)...
Is it intentional, that an AutoSize-Call like:

FG.AutoSize 0 'which leaves the second optional Param at -1

currently does have the same effect as: FG.AutoSize 0, 0

I'm aware that this is probably meant to work this way (to affect only a single column).
What "threw me off" is the "-1" in the optional second param, which usually means "all of them".

so, the behaviour I expected, leaving the second param out, was: FG.AutoSize 0, FG.Cols - 1

Olaf