Page 1 of 1
TDialog() Maximized!?
Posted: Fri May 02, 2008 7:33 pm
by JC
Hi my friends!
Exists a way to do for define a new tdialog maximized, but without the maximize/restore button at top right corner?
Thanks!
Posted: Fri May 02, 2008 9:40 pm
by Otto
Hello JĂșlio,
have a look at the Fivewin sample:
testdlg7.prg
Regards,
Otto
Code: Select all
// Defining a DialogBox with certain styles
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local oDlg
SET _3DLOOK ON
DEFINE DIALOG oDlg FROM 10, 10 TO 20, 40 ;
TITLE "Dialog" STYLE nOr( WS_VISIBLE, WS_CAPTION, WS_THICKFRAME )
@ 2, 2 BUTTON "&Hello" ACTION oDlg:End()
ACTIVATE DIALOG oDlg
return nil
//----------------------------------------------------------------------------//
Posted: Sat May 03, 2008 12:36 am
by JC
Thanks Otto!
That's It!