Jump to content

Recommended Posts

So I'm trying to create my first GUI and I have some questions...

I have a lot of checkbox in my GUI and a button to "Start"... when this button is pressed I need to verify each checkbox... I don't know exactly how to explain cause my english sucks ¬¬...

The user check the boxes he wants then press "Start"

And I need something like this...

If checkbox1 is checked then Func1()

If checkbox2 is checked then Func2()

...I wonder if I can create a vector of 0's and 1's based on checkbox status, or if there's another easiest way to do something like this...

Another question...

I have this Input attached to an UpDown button... and I need the input value as an integer...

Sorry about my english.

Link to post
Share on other sites

...I wonder if I can create a vector of 0's and 1's based on checkbox status, or if there's another easiest way to do something like this...

What do you mean, do you want to get the status? if that's what you want then you can use GUICtrlGetState ($ControlID) but please read the help file on this function.

Another question...

I have this Input attached to an UpDown button... and I need the input value as an integer...

Sorry about my english.

To get the value for this sort of thing you use: GUICtrlRead($ControlID)

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

    No registered users viewing this page.

×
×
  • Create New...