cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

dlgitem_set() and subsequent queries of set controls?

naglists
1-Visitor

dlgitem_set() and subsequent queries of set controls?

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 1

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


Announcements

Top Tags