Jump to content

Autoit-gui Max Control


jpm
 Share

Recommended Posts

What is the reasonable maximum number of control that AutoIt-gui must provide?

Today is small 100. I have no idea of the impact on the size when running a script.

Thanks to comment why the limit should such or such.

Link to comment
Share on other sites

@jpm: I have a script which has between 95 and 107 controls.

The most of them are checkboxes.

It's like an software-choose-screen, there you can choose SW to delete from an preinstalled pc which has preinstalled sw on it you know.

So I don't know if 100 should be the highest control-number...

Edited by Holger
Link to comment
Share on other sites

We really need some sort of generic container to store this kind of stuff internally so there doesn't need to be a limit. I did have something I was working on that allocated things in blocks to try to minimize both re-allocation and wasted space, but it was being very mean to me. It was difficult to get iterators working and they were pretty much mandatory as operator[] was unsafe. Maybe I should go back and look at it again and try to get it working...

Link to comment
Share on other sites

One of my VB students once ran into VB's limitation of 255 controls on a form. He wanted to put about 300 controls on a form. So he split it, with my recommendation, into a series of screens based on functionality, essentially a wizard. :whistle:

I think a limit of 255 control would also work for AutoItGUI. It would also allow for an optimization of using 1 byte for the count/identity of controls (0-255). Of course, a window with no controls is a little boring. B)

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Link to comment
Share on other sites

So, 232, nearest number is 256 = 512 B)

The mean of the vote as the same trend.

Did you see the colored labels?

That I think end my evolution on GUI. It will be yours soon. :whistle:

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