AoRaToS Posted January 22, 2009 Share Posted January 22, 2009 (edited) Ok I have a Child GUI and I want to add data to it's editbox, but I can't have a variable assigned to it so I get it's handle or anything else the Info tool can provide, how can I add data to it (the editbox) by using this info? This doesn't work: GUICtrlSetData($hEdit, GUICtrlRead($hEdit) & $sData) I think it want's the variable and I can't use the handle with it, any other options? Edited January 22, 2009 by AoRaToS s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
AoRaToS Posted January 22, 2009 Author Share Posted January 22, 2009 I made this and it works, it's more like setting the text as the previous one + the desired one so you can say it's adding text... ControlSetText ($Windowname, "", $hEdit, ControlGetText($Windowname,"", $hEdit) & $sData) s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
Andreik Posted January 22, 2009 Share Posted January 22, 2009 Ok I have a Child GUI and I want to add data to it's editbox, but I can't have a variable assigned to it so I get it's handle or anything else the Info tool can provide, how can I add data to it (the editbox) by using this info?This doesn't work:GUICtrlSetData($hEdit, GUICtrlRead($hEdit) & $sData)I think it want's the variable and I can't use the handle with it, any other options?If there variables exists should work.A little code would be great. We can help you more. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now