Jump to content

How to use a combo box in GUI


 Share

Recommended Posts

I have an intereting problem: I want to have a combo box in my script that will appear in the GUI window. and depending in what the person chooses certain programs will install. I already have the program installation part done.

Basically, the code is below, the optiosn are states, and depending on what state you choose a certain program will install. The othe problem is that one of the programs have to install no matter what state you are in. Essentially 2 programs will install no matter what state you choose, one of then being the same.

Dim $NibrsST = GUISetControl("combo", "my combo", 155, 252, 80, 100)
    GUISetControlData($agencyST,"IA|MN|WI|MO|TX|MN")

--------------

Also when I compile my script to a exe, it is rather large, like 100mb, because I am using FileInstall to compress other files with it. Is there another way I can do this so it is not that large.

Thank you

Link to comment
Share on other sites

  • Developers

I have an intereting problem:  I want to have a combo box in my script that will appear in the GUI window.  and depending in what the person chooses certain programs will install.  I already have the program installation part done. 

Basically, the code is below, the optiosn are states, and depending on what state you choose a certain program will install.  The othe problem is that one of the programs have to install no matter what state you are in.  Essentially 2 programs will install no matter what state you choose, one of then being the same.

Dim $NibrsST = GUISetControl("combo", "my combo", 155, 252, 80, 100)
    GUISetControlData($agencyST,"IA|MN|WI|MO|TX|MN")

<{POST_SNAPBACK}>

Not sure what you are really asking here but shouldn't the code be:

Dim $NibrsST = GUISetControl("combo", "my combo", 155, 252, 80, 100)
    GUISetControlData($NibrsST,"IA|MN|WI|MO|TX|MN")

Also when I compile my script to a exe, it is rather large, like 100mb, because I am using FileInstall to compress other files with it.  Is there another way I can do this so it is not that large.

<{POST_SNAPBACK}>

Your only other option is to not FileInstall it but to just run it ...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...