#include "FiveWin.ch"
function Main()
local oDlg, oFont
DEFINE FONT oFont NAME "Verdana" SIZE 0, -12
DEFINE DIALOG oDlg RESOURCE "test"
REDEFINE GROUP oGrp ID 100 OF oDlg
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oGrp:SetFont( oFont )
oFont:End()
return nil
1 24 "WindowsXP.Manifest"
test DIALOG 17, 36, 120, 116
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Test"
FONT 8, "MS Sans Serif"
{
GROUPBOX "Group", 100, 9, 6, 103, 79, BS_GROUPBOX
DEFPUSHBUTTON "OK", 1, 62, 93, 50, 14
}
#include "FiveWin.ch"
function Main()
local oDlg, oFld, oGrp
DEFINE DIALOG oDlg SIZE 400, 300
@ 0.5, 1 FOLDER oFld OF oDlg SIZE 188, 138 ;
PROMPTS "One", "Two", "Three"
@ 1, 1 GROUP oGrp TO 5, 15 PROMPT "Test" OF oFld:aDialogs[ 1 ]
ACTIVATE DIALOG oDlg CENTERED
return nil
#include "FiveWin.ch"
function Main()
local oFnt, oDlg, oFld, oGrp
DEFINE FONT oFnt NAME "Verdana" SIZE 0, -16 BOLD
DEFINE DIALOG oDlg SIZE 400, 300 FONT oFnt
@ 0.5, 1 FOLDER oFld OF oDlg SIZE 188, 138 ;
PROMPTS "One", "Two", "Three"
@ 1, 1 GROUP oGrp TO 5, 15 PROMPT "Test" OF oFld:aDialogs[ 1 ]
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 101 guests