Sets from Cursors Re: VCursor.AddRecord

Ed Kleban Ed at Kleban.com
Sat Dec 3 12:27:07 CST 2005




On 12/3/05 11:42 AM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> On 12/3/05 4:43 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
>   
>> Ah!  You mean change the Vfield.FindXxxx commands so that they will accept a
>> VCursor as well as accepting a VBitSet or VArraySet for inSelection?  Yes,
>> that of course would be optimal... but also a lot more work to add I'm
>> guessing.
> 
> No, I mean that it need NOT sublass cursor and make own methods
>     ToBitSet
>     ToArraySet
> 
> Instead just do global methods
> 
>     ToArraySet( inCursor ) as VArraySet
> 

Great.  Works for me.  You code it, I'll use it  ;-)




More information about the Valentina mailing list