ZNorQ 0 Posted February 13, 2012 I'm a frequent user of lbSetValue, lbSetData, lbSetColor, etc., but I can't seem to find a function for manipulating text element (ie. lbSetText, which doesn't work). Anyone know if there is one, or do I have to use lbDelete and then lbAdd it with the new text..? ZNorQ Share this post Link to post Share on other sites
riouken 15 Posted February 13, 2012 Yes just overwrite them, you do not have to delete them first just overwrite them with lbAdd. Share this post Link to post Share on other sites
ZNorQ 0 Posted February 13, 2012 Oh? How do I do that? I'm used to using.. _theIndex = myLISTBOX lbAdd "Some element"; . Does this mean that I can use the following statement; myLISTBOX lbAdd [_theIndex, "Some element"]; (@Work in the time of writing, so I can't check this...) ZNorQ Share this post Link to post Share on other sites
dupa 10 Posted January 6, 2014 I am also lacking the lbSetText command. Haven't been able to figure out how to overwrite elements using lbAdd - just managed to add an element at the end of the list. Any suggestions? p.s. My apologies for reviving this thread, but I figured it would be better than opening a new one with the same question. Share this post Link to post Share on other sites
iceman77 19 Posted January 10, 2014 createDialog "the_dialog"; waitUntil {!isNull (findDisplay 12345)}; _index = lbAdd [1234, "Big Gun $500"]; Share this post Link to post Share on other sites