|
-
Feb 19th, 2000, 01:53 AM
#1
Thread Starter
Registered User
Can Someone show me a code that uses EnsureVisible that works? Using ListView 6.0!
Thanls in advance.
Jefferson
-
Feb 19th, 2000, 03:24 AM
#2
Addicted Member
I use it when adding files to a listview as follows:
Dim lv as listitem
set lv = lvFiles.listitems.add ,,"Whatever"
lv.tag = "Bla bal bla"
lv.listsubitems.add ,, "Bla bla"
lv.ensurevisible
when you use the ensurevisible, the listview will automativally be scrolled (if necessary) to ensure that that item is seen. This gives a smooth scrolling (well, not all that smooth) effect when adding many items.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|