Jump to content

_ArrayDisplay()


 Share

Recommended Posts

I'm not going to bother reporting this as a bug and I'm not even sure whose bug it would be anyway and besides it's just not important enough.

Using the above named (misnamed?) function (still in the wrong udf, IMO) if you resize the window you lose the vertical scroll bar.

If I have to write repro code for this then someone is in the wrong business. Just make sure that the array has over 30 items and you will see it right away.

Okay, so I shouldn't have said you were in the wrong business. Just ask (nicely) and I'll give you the repro code.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Hi,

already fixed for next version by jpm.

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

already fixed for next version by jpm.

Mega

jpm is da man!!!!

It didn't bother me, because I rarely use the function anyway, but I thought someone might want to look at it.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Not sure to understand why my resizing on Width only did the trick ... :)

When it works, don't ask why!

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Hi,

sorry if I understood something wrong - jpm

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi, Off topic a little, sorry.

Is the _ArrayDisplay() func being updated to accept the new 65,000 control limit instead of 4000?

Thamks pm, Randall

it should have no impact as you get it for free unless you compiled your script with previous beta/release
Link to comment
Share on other sites

so it is a problem or not !!!

Now we are all confused. Has the issue I mentioned been solved (bu any method)? If YES, then it doesn't matter how it was resolved. If NO, then my first post will probably still apply.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Now we are all confused. Has the issue I mentioned been solved (bu any method)? If YES, then it doesn't matter how it was resolved. If NO, then my first post will probably still apply.

Just check with the beta and report :)
Link to comment
Share on other sites

Just check with the beta and report :)

Well according to the Beta page, 3.2.11.5 is the latest beta and that's the one I spotted the problem under so I guess it is still an issue. Not a big one though, unless of course it's affecting AutoIt functionality.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

it should have no impact as you get it for free unless you compiled your script with previous beta/release

Sorry again, 2nd topic here;

at least in 3.2.11.4 ;"$iLVIAddUDFThreshold = 4000", so does still affect this function...

Thanks,Randall

Link to comment
Share on other sites

Sorry again, 2nd topic here;

at least in 3.2.11.4 ;"$iLVIAddUDFThreshold = 4000", so does still affect this function...

Thanks,Randall

Just check perhaps now the UDF is doing something that is not needed anymore :)
Link to comment
Share on other sites

Well according to the Beta page, 3.2.11.5 is the latest beta and that's the one I spotted the problem under so I guess it is still an issue. Not a big one though, unless of course it's affecting AutoIt functionality.

Thanks I will check :) :)
Link to comment
Share on other sites

Just check perhaps now the UDF is doing something that is not needed anymore :)

Increasing the limit to something like 65500 should work fine. Indeed, you'd be hard-pressed to find any real reason to display an array of such a gigantic size, but with the AutoIt control limitation of 65532, any array of more than that many listview items (give or take a few) won't be fully displayed. There's no harm done in the extra bits of logic involving $iLVIAddUDFThreshold, since the only time it's really used is in the second for loop for adding listview items, meaning if the limit isn't reached, it won't do anything anyway. If it is reached, well at least we'll know the listview does display the full array size :)

That said, I made the number easy to change because of cases like this (where the limit can potentially change -- and it has).

Cheers!

- Ultima

[ WinINet.au3 | Array.au3 (Optimized) | _UnixTimeParse() ]

Link to comment
Share on other sites

Increasing the limit to something like 65500 should work fine. Indeed, you'd be hard-pressed to find any real reason to display an array of such a gigantic size, but with the AutoIt control limitation of 65532, any array of more than that many listview items (give or take a few) won't be fully displayed. There's no harm done in the extra bits of logic involving $iLVIAddUDFThreshold, since the only time it's really used is in the second for loop for adding listview items, meaning if the limit isn't reached, it won't do anything anyway. If it is reached, well at least we'll know the listview does display the full array size :)

That said, I made the number easy to change because of cases like this (where the limit can potentially change -- and it has).

Cheers!

- Ultima

How will that affect the symptom I described? The symptom has nothing to do with the number of items except that a minimum of 30 items may be required to show what happens when you resize the window.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

  • 1 month later...

Was this ever fixed?

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

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