Sign in to follow this  
Followers 0
ledigeine

[Solved] enable control after check box is changed

4 posts in this topic

#1 ·  Posted (edited)

This seems like it should be super easy... and it should but its not working for me. I have a settings type box, with two check boxes. Then theres an apply button and cancel button. The apply button will load up disabled, and id like it to enable once either check box is altered to show that you have changes to save.

I have a switch in my while set for this.

switch $msg

Case $checkbox1

Guictrlsetstate($checkbox1, $GUI_ENABLE)

But its not doing anything when i mess with that check box. Sorry I must be having a bad day, any help on this would be great.

Edited by ledigeine

Share this post


Link to post
Share on other sites



Shouldn't you enable the button? You now enable the checkbox.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

i hate my life.

Thank you water.

Share this post


Link to post
Share on other sites

You shouldn't :rolleyes:

There are more suitable reasons to hate life :whistle:


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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