home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
SAMPLES
/
TESTICON.PRG
< prev
next >
Wrap
Text File
|
1994-04-09
|
2KB
|
53 lines
//----------------------------------------------------------------------------//
// FiveWin 1.0 - Ejemplos
// (c) A.Linares, F.Pulpón 1993
//----------------------------------------------------------------------------//
// Jugando con iconos...
#include "FiveWin.ch"
static oWnd
//----------------------------------------------------------------------------//
function Main()
local oBrush
DEFINE BRUSH oBrush STYLE TILED
DEFINE WINDOW oWnd FROM 1, 1 TO 20, 44 ;
TITLE OemToAnsi( "Visualizando Iconos desde Disco" ) ;
BRUSH oBrush
ACTIVATE WINDOW oWnd ;
ON INIT SomeIcons( oWnd )
return
//----------------------------------------------------------------------------//
function SomeIcons( oWnd )
@ 2, 2 ICON FILENAME "..\icons\fred.ico" OF oWnd ;
ON CLICK MsgInfo( "Hola, soy Pedro Picapiedra" )
@ 5, 2 ICON FILENAME "..\icons\basic.ico" BORDER OF oWnd ;
ON CLICK MsgInfo( OemToAnsi( "FiveWin - La revolución xBase" ) )
@ 8, 2 ICON FILENAME "..\icons\fw.ico" OF oWnd ;
ON CLICK MsgInfo( OemToAnsi( "¿ Que te parece FiveWin ?" ) )
@ 11, 2 ICON FILENAME "..\icons\FiveWin.ico" OF oWnd ;
ON CLICK MsgInfo( OemToAnsi( "¿ No te gusta este menú basado en Iconos ?" ) )
@ 3, 7 SAY "Seleccione Pedro PicaPiedra" OF oWnd
@ 6, 7 SAY OemToAnsi( "Programación Estructurada" ) OF oWnd
@ 9, 7 SAY "FiveWin es Clipper, Windows y OOPS" OF oWnd
@ 12, 7 SAY OemToAnsi( "(c) A.Linares y F.Pulpón, 1993" ) OF oWnd
return
//----------------------------------------------------------------------------//