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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

dlgitem_set() and subsequent queries of set controls?

naglists
1-Newbie

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


Top Tags