The code is working but on taskbar only 3 points are shown.
Does someone have a better solution?
Best regards,
Otto


Does someone have a better solution?
Best regards,
Otto
function onresize(oWnd)
local nSpaceWidth  := oWnd:GetWidth(" ", )
local cCaption:= "RibbonBar Test " + FWVERSION
local nSpaces := 0
local nSpaceBTNs := 140
nSpaces := Â ( oWnd:nWidth - nSpaceBTNs - oWnd:GetWidth(cCaption, ) ) / 2 Â / nSpaceWidth
oWnd:cTitle( space( nSpaces ) + cCaption )
return nil

