I am trying to build a tree menu. I am starting small to see what works, then build on it. I want it to be dynamic so I am building it OnLoad
I create a new application, select TreeMenu.
Then I enter this in the OnLoad section
sc_appmenu_reset(‘menu’);
sc_appmenu_create(‘menu’);
sc_appmenu_add_item(
‘menu’,
‘0’,
‘0’,
1,
1,
1, 1, 1,
);
sc_appmenu_add_item(
‘menu’,
‘menu1’,
‘sample3’,
,
,
, , ,
);
sc_appmenu_add_item(
‘menu’,
‘menu2’,
‘sample5’,
,
,
, , ,
);
Nothing comes up. WHY?