Sign in to follow this  
Followers 0
podws

How To Change Text Of Menu Item?

4 posts in this topic

$viewstatusitem = GUICtrlCreateMenuitem ("Start",$viewmenu)

...

GUICtrlSetData ($viewstatusitem, "Stop")

It doesn't work, "Start" is still there. I think I must do something bad.

Share this post


Link to post
Share on other sites



$viewstatusitem = GUICtrlCreateMenuitem ("Start",$viewmenu)

...

GUICtrlSetData ($viewstatusitem, "Stop")

It doesn't work, "Start" is still there. I think I must do something bad.

GUICtrlSetData ($viewstatusitem, "Stop")
GUISetState ()

Share this post


Link to post
Share on other sites

GUICtrlSetData ($viewstatusitem, "Stop")
GUISetState ()
Yes, there is "GUISetState" for "Start", but the second GUISetState after "Stop" doesn't change the text. :think:

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I found, that in autoit beta ...117 it works well, even without GUISetState

Edited by podws

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