motormad 0 Posted November 12, 2010 (edited) I would like to overreide data in a textbox I i double klik in the textbox then ell of the data is highlited. so i try ControlClick("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", 2) then i hit the delete button with ControlSend("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", "{DEL}") but it would not work. i also try this , ControlClick("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", 2) ControlFocus("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]") ControlSend("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", "{DEL}") but no succes :/ Edited November 12, 2010 by motormad Share this post Link to post Share on other sites
motormad 0 Posted November 12, 2010 (edited) I changed it in this ControlFocus("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]") ControlSend("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", "{DEL 10}") somebody got a better idea? Edited November 12, 2010 by motormad Share this post Link to post Share on other sites
LurchMan 2 Posted November 12, 2010 (edited) ControlSetText("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", "") That should do it for you. Edited November 12, 2010 by LurchMan Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Share this post Link to post Share on other sites
motormad 0 Posted November 12, 2010 ok thats it.. Now i feel stupid again Share this post Link to post Share on other sites
Nithila 0 Posted November 11, 2020 On 11/12/2010 at 7:07 PM, motormad said: I changed it in this ControlFocus("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]") ControlSend("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", "{DEL 10}") somebody got a better idea? you saved my life. Thank you Share this post Link to post Share on other sites
Nithila 0 Posted November 11, 2020 (edited) On 11/12/2010 at 7:12 PM, LurchMan said: ControlSetText("[title:bon; CLASS:ThunderRT5Form]", "", "[CLASS:ThunderRT5TextBox; INSTANCE:34]", "") That should do it for you. This is changing the text but not assigning the value to textbox and binding to the UI. Edited November 11, 2020 by Nithila Share this post Link to post Share on other sites