Sign in to follow this  
Followers 0
dazzled

Button text to be input box text?

3 posts in this topic

I am looking to make my button text to be the text of an input box. Is this possible? All I am getting is a blank button.

Example:

$Button = GUICtrlCreateButton($InputRead , 8, 8, 73, 25, $WS_GROUP)
$Input = GUICtrlCreateInput('Input', 88, 8, 73, 25, $WS_GROUP)
$InputRead = GUICtrlRead($Input)

Share this post


Link to post
Share on other sites



try re-arrainging your code. follow it through like you would a foot path, and you will find your flaw


Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I did a little bit of reforming as I was waiting for a response, I attempted to have the input text be "saved" (by a button) into a config file, and the buttons are supposed to auto update.

I even tried making the IniRead a function for the GUICtrlCreateButton but that didn't affect anything. I guess my first flaw is I realised my "Save" button isn't saving.

When "Save" is clicked it is supposed to IniWrite the input boxes into the Config file. Than the buttons are supposed to update after each save. However save isn't writing anything.

Would you like me to post the full code?

Edited by dazzled

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