|
-
Feb 9th, 2000, 08:31 AM
#1
Thread Starter
Lively Member
I have a list box which gets new items added to it by a command button (or drag and drop).
I want the item that has just been just added to be highlighted(selected).
Is there a way to highlight an item through code??
Tahnks.
Danny.
-
Feb 9th, 2000, 08:40 AM
#2
Lively Member
Try this, asssuming you're always appending to the end of the list:
List1.Selected(List1.ListCount - 1) = True
-
Feb 11th, 2000, 02:33 AM
#3
Addicted Member
The simplest way is .. .
List1.ListIndex = List1.NewIndex
and it describes itself what it will do.
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
|