Sign in to follow this  
Followers 0
AoRaToS

Add data to an editbox...

3 posts in this topic

#1 ·  Posted (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 by AoRaToS

s!mpL3 LAN Messenger

Current version 2.9.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites



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.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0