Jump to content

Recommended Posts

Posted (edited)

GUICtrlRead( ID, "button") gives the caption of button...

how we change the caption??

Thanks a lot for your help!

Edited by osirisqc
Posted

Open the help file and search for GUICtrlRead. The section "Related" lists all functions related to GUCtrlRead. There you will find a function to set the caption - guess which one ;)

BTW: The second parameter for GUICtrlRead is wrong. Needs to be 0 or 1.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Please re-read the help file.

GuiCtrlSetData($ID, "Change")
Where $ID is a variable holding the ControlId returned by GuICtrlCreateButton.

My UDFs and Tutorials:

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...