Sign in to follow this  
Followers 0
ironh4x

change text of a label

6 posts in this topic

#include <GUIConstantsEx.au3>


Example()

Func Example()
    GUICreate("My GUI")

    GUICtrlCreateLabel("Line 1 Cell 1", 10, 30)
    $Button_1 = GUICtrlCreateButton("change label", 100, 100)



    GUISetState()      

   
    While 1
        $msg = GUIGetMsg()
        Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
            Case $msg = $Button_1
               
            
        EndSelect
    WEnd


   
EndFunc

I want to change the text on my label when the button is press, I search the forum and I can't guisetcontrol to work

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

---

Edited by playlet
1 person likes this

Share this post


Link to post
Share on other sites

tnx guys xD

Share this post


Link to post
Share on other sites

@lencls37 Did you not realize this thread is more than 7 years old? Please don't resurrect old posts, especially when not adding anything to the discussion.


√-1 2^3 ∑ π, and it was delicious!

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