jpm Posted March 25, 2004 Share Posted March 25, 2004 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 More sharing options...
alawoona Posted March 25, 2004 Share Posted March 25, 2004 I do not know thye answer JP - but the most controls I have used in a script was 74. Link to comment Share on other sites More sharing options...
Holger Posted March 25, 2004 Share Posted March 25, 2004 (edited) @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 March 25, 2004 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Administrators Jon Posted March 25, 2004 Administrators Share Posted March 25, 2004 For these I always go to the nearest "binary" number and then double it. So 107...nearest is 128 so max controls = 256. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
CyberSlug Posted March 26, 2004 Share Posted March 26, 2004 256 ought to be enough for anybody You heard it here first. If I'm wrong, I'll take the blame Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Valik Posted March 26, 2004 Share Posted March 26, 2004 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 More sharing options...
Nutster Posted March 26, 2004 Share Posted March 26, 2004 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. 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. David NuttallNuttall 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 More sharing options...
Lazycat Posted March 26, 2004 Share Posted March 26, 2004 The maximum controls I have in one script with AU3GUIXP was 232 controls - this is was 21x11 matrix of buttons + another one. This is an extremal case and I don't think I will need more, but who knows... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
jpm Posted March 26, 2004 Author Share Posted March 26, 2004 but who knows...You Link to comment Share on other sites More sharing options...
Administrators Jon Posted March 26, 2004 Administrators Share Posted March 26, 2004 So, 232, nearest number is 256 = 512 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
jpm Posted March 26, 2004 Author Share Posted March 26, 2004 So, 232, nearest number is 256 = 512 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. Link to comment Share on other sites More sharing options...
Helge Posted March 26, 2004 Share Posted March 26, 2004 Wah ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now