home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
SAMPLES
/
TESTBAR2.PRG
< prev
next >
Wrap
Text File
|
1994-05-14
|
838b
|
33 lines
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local oWnd, oBar
DEFINE WINDOW oWnd FROM 1, 1 TO 20, 70 ;
TITLE "New Bar features..." COLOR "W+/RB"
DEFINE BUTTONBAR oBar ADJUST OF oWnd
DEFINE BUTTON FILE "..\bitmaps\BarLeft.bmp" OF oBar ;
ACTION oBar:LeftMode()
DEFINE BUTTON FILE "..\bitmaps\BarTop.bmp" OF oBar ;
ACTION oBar:TopMode()
DEFINE BUTTON FILE "..\bitmaps\BarRight.bmp" OF oBar ;
ACTION oBar:RightMode()
DEFINE BUTTON FILE "..\bitmaps\BarAdj.bmp" OF oBar ;
ACTION oBar:AdjMode()
SET MESSAGE OF oWnd TO "More power to your applications!"
ACTIVATE WINDOW oWnd
return nil
//----------------------------------------------------------------------------//