Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5186

Help on the use of hiCreateBooleanButton( ) function

$
0
0

Hello everyone:

   In   IC618.  I am having trouble making a skill tool menu。

When creating a button using the hiCreateBooleanButton() function,

When Guard Ring is selected, the following two items can be edited,As shown below:

When the Guard Ring is cancelled, the following two items cannot be edited,As shown below:

I know I need to modify the ?editable value, but I don't know how to connect them.

Code:

procedure(rkMatchForm()
      let((guard_ring button_ring space_left matchForm)
            button_ring = hiCreateBooleanButton(
                     ?name            'button_ring
                     ?buttonText    "Guard Ring"
                     ?defValue       t
                     ?callback        nil
                     ?buttonLocation    'left
                                                            );end button_ring
     guard_ring = hiCreateCyclicField(
                     ?name           'guard_ring
                     ?choices        mpp_list
                     ?defValue       "ntap"
                     ?prompt         "MPP Template:"
                     ?enabled        t
                     ?callback        nil
                                                          );end guard_ring
      space_left = hiCreateFloatField(
                     ?name           'space_left
                     ?prompt         "Left Spacing"
                     ?defValue      1.0
                     ?editable        t
                     ?callback       nil
                                                         );end space_left
      matchForm = hiCreateAppForm(
                     ?name             'matchForm
                     ?formTitle        "Match Options"
                     ?initialSize        t
                     ?callback         nil
                     ?fields list(
                                       list(button_ring 20:20 160:25 20)
                                       list(guard_ring 20:50 200:25 100)
                                       list(space_left 20:80 200:25 100)
                                     );end list
      ?unmapAfterCB t );end matchForm
      hiDisplayForm(matchForm)
      );end let
);end procedure

Thanks everyone

Jen


Viewing all articles
Browse latest Browse all 5186

Trending Articles



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