Jump to content

Search the Community

Showing results for tags 'update autoscroll'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title




Found 1 result

  1. Hello, A small tool from me opens certain text files and displays the content in some sort of "preview", by chance a user selected a file that is "large" ~ 10 MB. (of course my test files are small enough :-) ) But this takes very long (~ 4 secs on that pc), first I thought it is reading the file but I stripped it down to the edit control update. I extracted the issue to a sample au3 attached and a sample large file. The log lines are from the dummy1.au3. (11:19:40.352) - -->Line0017): openfile (11:19:40.461) - -->Line0021): closefile (11:19:40.461) - -->Line0022): update ctrlfile start (11:19:45.581) - -->Line0024): update ctrlfile done I see that reading the file is fast enough( 109ms) , but the edit control update takes long (5120 ms). Question: Based on the dummy1, is there a chance to speed up? I'm open to accept also other advices, the purpose of the edit is just to display the file and allow scrolling. I thought about reading only a certain amount of lines and if the user scrolls read the rest.....or so. Or is it just like this by design. Or what is more likely, what is wrong on my code? Of course my real app displays now in the mean time something like "Loading...." but that does not solve it. And yes, I used FS. Found something similar, but the thread was drifting apart from the issue without solving it... dummy1.au3 largetextfile.txt
  • Create New...