Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

TreeView example error



  • Please log in to reply
2 replies to this topic
Ronins
  • Members
  • 120 posts
  • Last active: Apr 18 2016 10:54 PM
  • Joined: 11 Apr 2012

Hey,

 

I'd like to report an error found in TreeView example (http://l.autohotkey....ew.htm#Examples)

While adding a ListView, the vLabel is vMyList.

 

However, later in the same example following GuiControl command is used

GuiControl, -Redraw, MyListView
.
.
.
GuiControl, +Redraw, MyListView

and it somehow works, which i assume to be working as MyList is the last active LV.

I'll be glad if someone could explain this strange behavior to me. Otherwise, it'd be great if helpfile is corrected for the above error

 

Thanks

 



Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006
✓  Best Answer

The example works, but those two lines do not.  You can see the difference if you add Sleep 1000 in the loop: files appear one at a time, instead of all at once when redraw is enabled.

 

Thanks for reporting it.



Ronins
  • Members
  • 120 posts
  • Last active: Apr 18 2016 10:54 PM
  • Joined: 11 Apr 2012

Thanks for explanation