• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Form Field Value not Updated

Stats

  • Replies 1
  • Subscribers 160
  • Views 13816
  • Members are here 0
More Content

Form Field Value not Updated

leto
leto over 5 years ago

Hello All,

I have a field set to real values

-------------------------------------------

FIELD  realValueField
FLOC 1 1
REALFILLIN 7 7
DECIMAL 3
ENDFIELD 

------------------------------------------

I can set the field value and read using 

  axlFormSetField(formHandle "realValueField" 1.234)

  axlFormGetField(formHandle "realValueField")

However when user key in some value into the field, it doesn't update the new value to the field

If I do a read with     axlFormGetField(formHandle "realValueField")   i still get the previous value 

Display in the form shows the new value the user has entered but it is not updated to the field.

May I know how to update the field value the moment user keys in any new number.

 

Thanks All

  • Sign in to reply
  • Cancel
Parents
  • leto
    leto over 5 years ago

    Hello All,

    Ok found out what went wrong.

    My Callback function was in another "curField".

    I was looping in this field and although it was currently paused it didn't allow the callback to go to "realValueField"  when user exit focus from the field, thus no update.

    Thanks All

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • leto
    leto over 5 years ago

    Hello All,

    Ok found out what went wrong.

    My Callback function was in another "curField".

    I was looping in this field and although it was currently paused it didn't allow the callback to go to "realValueField"  when user exit focus from the field, thus no update.

    Thanks All

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information