P
Pratheesh.s
Guest
procedure(addbanner(args)
Hi,
I am trying to insert one banner menu and I have used the below code.
It is working fine but instead of displaying "Open"( It is the menu
item name) alone it shows "Open period" I dont know why it happens.
Can any body please give a reply ASAP
procedure(addbanner(args)
hiInsertBannerMenu(
args->window
hiCreatePulldownMenu(
'ciwCustomMenu
"Alchemist"
list(hiCreateMenuItem(
?name 'Open
?itemText "Open"
?callback "generatefn()"
)
)
length( hiGetBannerMenus( args->window ))
)
)
deRegUserTriggers("schematic" nil nil 'addbanner )
If I ru the same code for CIW window it works fine.................Why
this "period" thing coming??
i have used post trigger method instead of menu trigger( Because It is
not workng proprly if I give in this way deRegUserTriggers("schematic"
nil 'addbanner nil )
Hi,
I am trying to insert one banner menu and I have used the below code.
It is working fine but instead of displaying "Open"( It is the menu
item name) alone it shows "Open period" I dont know why it happens.
Can any body please give a reply ASAP
procedure(addbanner(args)
hiInsertBannerMenu(
args->window
hiCreatePulldownMenu(
'ciwCustomMenu
"Alchemist"
list(hiCreateMenuItem(
?name 'Open
?itemText "Open"
?callback "generatefn()"
)
)
length( hiGetBannerMenus( args->window ))
)
)
deRegUserTriggers("schematic" nil nil 'addbanner )
If I ru the same code for CIW window it works fine.................Why
this "period" thing coming??
i have used post trigger method instead of menu trigger( Because It is
not workng proprly if I give in this way deRegUserTriggers("schematic"
nil 'addbanner nil )