#include "FiveWin.ch"
static oWnd
//----------------------------------------------------------------------------//
function Main()
public oFonteGets
DEFINE FONT oFonteGets NAME "COURIER NEW" SIZE 0, -50 BOLD
SET _3DLOOK ON
DEFINE WINDOW oWnd FROM 1, 1 TO 22, 75
@ 5, 30 BUTTON "Open Window" OF oWnd SIZE 200, 100 ACTION Customers()
ACTIVATE WINDOW oWnd MAXIMIZED
return nil
function Customers()
local oDlg
local aTeste := {'1','2','3'}
Local oCbx, cItem
cItem := aTeste[1]
DEFINE DIALOG oDlg FROM 6, 7 TO 21, 72 ;
TITLE "Close and Open Again"
@ 2, 7 ComboBox oCbx VAR cItem ITEMS ateste of oDlg
oCbx:oFont := oFonteGets
ACTIVATE DIALOG oDlg CENTER
return nil
cSysFont := GetSysFont( )
DEFINE FONT oMfont NAME cSysFont SIZE 0,-12 BOLD
oWnd:SetFont( oMFont )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 51 guests