Jump to content
Sign in to follow this  
ironh4x

change text of a label

Recommended Posts

ironh4x

#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
playlet

---

Edited by playlet
  • Like 1

Share this post


Link to post
Share on other sites
JLogan3o13

@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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.