Bug getText
- Posted by Dan-Åke Engqvist <danake_engqvist at hotm??l.com> Jun 12, 2008
- 726 views
I have written a small test program with Judith Evans IDE v1.0.0 and Win32lib v0.60.6 There is Combo2, Combo5 and EditText4. When Combo2 is changed then EditText4 should get the text from Combo5. Now if I print David in Combo5 and select Bert in Combo2, then EditText4 becomes blank (bug?). If I write something in Combo2 then EditText4 get the text from Combo5 (ok!) -------------------------------------------------------------------------------- addItem(Combo2,{"Adam","Bert","Charles"}) setIndex(Combo2,1) addItem(Combo5,{"Dan","Evelyn","Philip"}) setIndex(Combo5,1) -------------------------------------------------------------------------------- procedure Combo2_onChange (integer self, integer event, sequence params)--params is () setText(EditText4,getText(Combo5)) end procedure setHandler( Combo2, w32HChange, routine_id("Combo2_onChange")) Dan-Åke Engqvist