Page 1 of 1

TOOLBAR - SEPARATOR does not work

Posted: Sat Mar 07, 2009 8:37 am
by CCH4CLIPPER
Hi All

I am puzzled why the SEPARATOR does not display in th efollowing TOOLBAR

DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 25,25 FLAT BORDER

BUTTON Button_Exit ;
PICTURE 'exit.bmp' ;
TOOLTIP 'Exit this Application' ;
AUTOSIZE
ACTION MsgInfo('Exit !')

BUTTON Button_Dictionary ;
PICTURE 'dictionary.bmp' ;
TOOLTIP 'Reindex All Files' ;
AUTOSIZE
ACTION MsgInfo('Dictionary')


BUTTON Button_GL ;
PICTURE 'accounts.bmp' ;
TOOLTIP 'View Chart of Accounts' ;
AUTOSIZE
ACTION BrowseGLAC()
SEPARATOR

BUTTON Button_AR ;
PICTURE 'table.bmp' ;
TOOLTIP 'View Customer Data' ;
AUTOSIZE
ACTION EditARData() ;

BUTTON Button_AP ;
PICTURE 'view.bmp' ;
TOOLTIP 'View Vendor Data' ;
AUTOSIZE
ACTION EditAPData()
SEPARATOR

BUTTON Button_Reindex ;
PICTURE 'task.bmp' ;
TOOLTIP 'Reindex All Files' ;
AUTOSIZE
ACTION ReindexAll()

BUTTON Button_Calculator ;
PICTURE 'calculator.bmp' ;
TOOLTIP 'Windows Calculator' ;
AUTOSIZE
ACTION MsgInfo('Windows Calculator')


BUTTON Button_Help ;
PICTURE 'Help-4.bmp' ;
TOOLTIP 'Help Contents' ;
AUTOSIZE
ACTION ReindexAll()
SEPARATOR

END TOOLBAR

What am I doing wrong ?

Regards

CCH
http://cch4clipper.blogspot.com

Re: TOOLBAR - SEPARATOR does not work

Posted: Sat Mar 07, 2009 12:11 pm
by esgici
Hi CCH

You have some missing and one extra semicolon (";")

- All AUTOSIZE lines,
ACTION BrowseGLAC(),
ACTION ReindexAll() ( in last button )
ACTION EditAPData()
requires ";" at end;

- ACTION EditARData() ;
have an extra ";" at end.

Don't worry, this is normal at the beginning. :)

Regards

--

esgici

Re: TOOLBAR - SEPARATOR does not work

Posted: Sat Mar 07, 2009 1:30 pm
by CCH4CLIPPER
Hi Esgici

Thanx ! Works perfectly now !