Hello Antonio,
would you be so kind to show how to change the color.
------------
To get the cCaption centered I use:
activate window ::oWnd ;
ON RESIZE ( ::onresize() )
method onresize()
local nSpaceWidth := ::oWnd:GetWidth(" ", )
local cCaption:= APP_TITLE
local nSpaces := 0
local nSpaceBTNs := 140
nSpaces := ( ::oWnd:nWidth - nSpaceBTNs - ::oWnd:GetWidth(cCaption, ) ) / 2 / nSpaceWidth
::oWnd:cTitle( space( nSpaces ) + cCaption )
return nil
It is working but maybe it is possible to pass nTop , nLeft directly to SetWindowText or to use a cTitle:Centered ?
------------
I tried resize oRBAR with
oRBAR:resize(4,0,0), oRBAR:paint()
but this is not the right method to open and close the ribbon. Do you think this is possible by now?
------------
The backstage button
™ seems more as a TAB than a button.
Best regards,
Otto