Two Buttonbars
Posted: Mon Feb 18, 2008 8:08 am
Hi All
How do I had a second buttonbar at the top of the window.
Cheers
Colin
How do I had a second buttonbar at the top of the window.
Cheers
Colin
www.FiveTechSoft.com
https://fivetechsoft.com/forums/
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd
LOCAL oBar, oBtn
DEFINE WINDOW oWnd
DEFINE BUTTONBAR OF oWnd 2007;
SIZE 33, 33
DEFINE BUTTON OF oWnd:oBar;
FILE "C:\FWH\BITMAPS\OPEN.BMP";
ACTION MSGINFO( "First bar Ok!" )
@ 33, -1 BUTTONBAR oBar OF oWnd;
SIZE 1602, 36;
BUTTONSIZE 33, 33
oBar:l2007 = .T.
DEFINE BUTTON OF oBar;
FILE "C:\FWH\BITMAPS\SAVE.BMP";
ACTION MSGINFO( "Second bar Ok!" )
ACTIVATE WINDOW oWnd
RETURN NIL