TOOLBAR - SEPARATOR does not work

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am
Been thanked: 1 time

TOOLBAR - SEPARATOR does not work

Post 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

User avatar
esgici
Posts: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post 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
Viva INTERNATIONAL HMG :D

CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am
Been thanked: 1 time

Post by CCH4CLIPPER »

Hi Esgici

Thanx ! Works perfectly now !

Post Reply