At 12:15 PM 5/27/2008, you wrote:
<<
If you're removing the item from the list view, you may not need to add 1, because once you use 'refreshlist', the next item will have the same item index as the one you just removed (I think.)
>>

Thanks Dawn. I didn't know about ITEMINDEX (it's not listed on rbase.com/property for this component).

If I set the ITEMINDEX property will that also update the control variable for the list view?

--
Larry

Larry,

Dawn is correct in that by removing the item from the
first ListView, the next item will have the same item
index value as the item you just removed.

The following should work to return the focus to the
next item listed in the first ListView:

GETPROPERTY VarLookup_ListView_1 ITEMINDEX vItemIndex

-- Remove item from ListView

PROPERTY VarLookup_ListView_1 MAKECLICK .vItemIndex


And, the PROPERTY and GETPROPERTY Syntax Builders will
be updated accordingly.

John 

Reply via email to