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

Updating a form in Skill

$
0
0

Hello,

i have a question on how forms are updated in Skill when properties of elements in the form are changed in the background.

Within the following small example a form with a button gets insatiated.

button=
hiCreateButton(
                              ?name 'button
                              ?callback "printf(\"Button pushed\")"
                              ?buttonText "Push"
);hiCreateButton


form=
hiCreateAppForm(
                                ?name 'myform
                                ?fields list(button)
                                 ?formTitle "Simple Form"
);hiCreateAppForm

hiDisplayForm(form)

If i enter the code line form->button->enabled=!form->button->enabled several times in the CIW the button gets enabled/disabled. If I enter the code line button->enabled=!button->enabled nothing happens at all, although the property changes. Is there a way to update the form, if the enable property will be changed using the second way?

Many thanks.

Best regards,

Matthias


Viewing all articles
Browse latest Browse all 5093

Trending Articles



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