ENABLE_TOOLBAR_ICON
|
Syntax: |
ENABLE_TOOLBAR_ICON(<Handle of Toolbar>,<ID>,<Yes-No>)
|
||||||||||
|
Meaning: |
Enables or disables the icon identified by
<ID> from the toolbar with the handle <Handle of Toolbar>. REMOVE_TOOLBAR_ICON returns the following
values:
|
||||||||||
|
Parameter: |
|
||||||||||
|
Sample: |
/* Create Toolbar NO% = ADD_TOOLBAR("@ebussave.gif|Save|Icon-1;;ebusnew.gif|New" IF NO% < 0 THEN … Error … ENDIF … /* Disable first
icon H% = ENABLE_TOOLBAR_ICON(NO%,"Icon-1",0) IF H% <> 1 THEN … Error … ENDIF |
||||||||||
|
See also: |
|