Jump to content

Changing control IDs


Recommended Posts

when you create the controls assign the id to a variable

Example:

$lbl_Done = GUICtrlCreateLabel ("Done",  10, 30, 50)

That way when you need to change or read info for example:

GuiCtrlSetData($lbl_Done,"Finished")

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • 4 weeks later...

Hi!

I don't think so, I believe that the IDs are controlled directly by windows...

Please corrects me, gurus, if I'm telling stories *g*.

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Link to comment
Share on other sites

Technically you can change a control's ID by deleting the control and creating a new identical one.

Is there any way to change a Control ID of a control?

I really need that.

<{POST_SNAPBACK}>

Could you please give an example of why you need this? I can't think of a reason myself.
Link to comment
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
 Share

  • Recently Browsing   0 members

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