I with create bar Ttitle intoa Tpages()
this bar width is not until the end of dialog, why ?
DEFINE DIALOG oDlg OF oApp():oWndMain;
SIZE nWidth, nHeight TRANSPARENT ;
TITLE "test TTITLE CLASS"
oDlg:oFont := oApp():oFont
oDlg:nStyle := nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, 4 )
oPages := TPages():New(00,0, oDlg:nHeight-50,oDlg:nWidth, oDlg)
DEFINE DIALOG oDlg0 OF oPages STYLE WS_CHILD
@ 0,0 TITLE oTitle0 OF oDlg0 size 1200, 20 NOBORDER SHADOW NOSHADOW ;
GRADIENT { { 1, RGB(151,154,173), CLR_GREEN } }
@ 10, 12 TITLETEXT OF oTitle0 TEXT "AAAAAAAAAAAA " FONT oFontBold COLOR CLR_WHITE oPages:AddPage( oDlg0 )
ACTIVATE DIALOG oDlg
I put the with also 1200 but the ttitle is allways small
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com