Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62765

Forum Post: how to pass argument in user defined procedure function on pull-down menu skill code.

$
0
0
Dear Group members , I need small favor from your expertise, Please help me on how to pass argument in user defined procedure of pull-down menu. I have tested following pulldown skill code procedure(AmitAddMenu(args) let( (item1 item2) ;; create a couple of menu items item1 = hiCreateMenuItem( ?name 'item1 ?itemText "My First Item" ?callback "AmitFunctionOne()" ) item2 = hiCreateMenuItem( ?name 'item2 ?itemText "My Second Item" ?callback "AmitFunctionTwo()" ) ;; create a menu that includes the menu items and return a list of the ;; pulldown menus list(hiCreatePulldownMenu('AmitMenu "Amit Menu" list(item1 item2))) );let ); procedure ;; create a userMenuTrigger trigger that automatically adds the menu deRegUserTriggers("maskLayout" nil 'AmitAddMenu) Please help me with following query For example : How to pass argument to different argument to user skill function in pulldown menu AmitFunctionOne( "meatl2" .08) let say two arguments are "meatl2" .08 AmitFunctionTwo(" Via1" .09) let say two arguments are "Via1" .09 Thanks for your help again ! Best regards, Yogesh Jaiswal USA

Viewing all articles
Browse latest Browse all 62765

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>