Table of a VFeld from a VCursor

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Nov 21 22:25:17 CST 2005


On 11/21/05 9:47 PM, "Ed Kleban" <Ed at Kleban.com> wrote:

>>> I did a little experiment, and it appears that VField.Table returns a
>>> reference to the VCursor.  But VCursor is not a subclass of VTable;
>>> that is, theCursor IsA VTable returns false.  Ruslan, you've got some
>>> explaining to do.
>> 
>> In C++  I_Cursor is subclass of I_Table.
>> 
>> But in REALbasic we have not implement this on tech reasons.
>>     interfaces have many bugs in RB
>> 
> 
> This is great news.  I'd like to request that if and when you choose to
> clean this up that you NOT remove the functionality that permits access to
> the VCursor.  
> 
> Some possible ways to this are:
> 
> 1) implement VField.Table and VField.Cursor as methods rather than
> properties... But the method invocations would incur more overhead than a
> simple property access, so I'm not thrilled with this one.
> 
> 2) Change the name of the property from "Table" to something else like
> Source -- a really bad idea because it is not backward compatible.
> 
> 3) Leave functionality the way it is but update the document to explain the
> way things really work; namely that in the case of a VField obtained by
> means of one of a VCursor's field methods, that the Table property returns
> the associated VCursor, not a VTable.  -- May not be the best naming
> convention, may not be the best implementation, but it's darn valuable to be
> able to access this.
> 
> I should probably write up a request for this as well under the "Fix
> Documentation" category.

What is so great in this info ???

I do not see any useful usage of it

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list