Carlos Rovira wrote:
> Hi,
>
> I'm trying to find the best practice to use with IViewCursor interface 
> and a pair of buttons to walk the collection ( "previous" and "next" 
> buttons).
> I want these buttons to enable/disable through binding but I only 
> found two properties "afterLast" and "beforeFirst" that doesn't do 
> what I want since
> those properties checks if the cursor is outside the bounds of the 
> collection.
>
> Anyone could share the best practice for this use case?
>
> Thanks in advance.

Use this methods to check are you already at the end or at the start of 
collection
to move use moveNext() and movePrevious(). after checking

-- 
Feсi quod potui, faciant meliora potentes

Reply via email to