Announcement

Collapse
No announcement yet.

Best way to resize many image objects

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best way to resize many image objects

    I am developing an application and as a function, I need to resize more than 500 image objects on the screen. Obviously I can do that in a loop and change each image one by one but the problem is that this process is very expensive and it took time to be done since resizing each object causes the page to redraw.

    I am looking for something like ListBox.SetUpdate (but for the page) that suspends the listbox object and you can manipulate elements and at the end set to update. Is there such a function for the pages?

  • #2
    Look into Application.SetRedraw or Page.Redraw

    Comment


    • #3
      Well now, look at who popped out of the woodwork ...

      Hello, worm!

      Comment


      • #4
        Originally posted by Worm View Post
        Look into Application.SetRedraw or Page.Redraw
        Application.SetRedraw did the job. Thanks.

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎