change the value of a stringfield

Discussion in 'Cadence' started by madhero, Jun 2, 2008.

  1. madhero

    madhero Guest

    I created a stringfield, I can get the value of it by stringfieldname-
    stringfieldname->value=5, but the display on the string field didn't
    change. Thanks!
     
    madhero, Jun 2, 2008
    #1
  2. madhero

    madhero Guest

    Thank you!
     
    madhero, Jun 2, 2008
    #2
  3. madhero

    Guest Guest

    When you reference stringfieldname you are refering to the Skill "template"
    for the field, not an actual field widget.

    To change the value of a field widget, you must reference it through its form:

    formname->stringfieldname->value

    The reference through the form accesses the actual instantiated widget.

    -Pete Zakel
    ()

    "If God had wanted man to fly, He would have given him airline tickets."
     
    Guest, Jun 2, 2008
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.