Skip to main content
1-Visitor
July 5, 2012
Question

dlgitem_set() and subsequent queries of set controls?

  • July 5, 2012
  • 1 reply
  • 689 views
Hi,

I am updating a checkbox in a XUI document in Editor 6.0 m010:
dlgitem_set($win, 'mycheckbox', 'VALUE', 1)

The dialog visually updates as expected 100% of the time.

Subsequent tests of that checkbox's state SOMEtimes report that it is
unchecked.

Has anyone seen behavior like this?

--
Paul Nagai

    1 reply

    18-Opal
    July 5, 2012
    Hi Paul--



    I haven't seen it before, but one thought I had was to check whether you
    see any difference between using dlgitem_get() and dlgitem_get_value().
    Whichever one you're using now, maybe try the other and see if you get
    more reliable results.



    You might also try varying between dlgitem_set() and dlgitem_set_value()
    to see if that makes any difference.



    --Clay





    Clay Helberg

    Senior Consultant

    TerraXML