Building VBinaryLink subclass in RB

Ed Kleban Ed at Kleban.com
Wed Dec 14 18:59:54 CST 2005




On 12/14/05 2:32 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> On 12/14/05 9:11 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
> 
>> Yes quite right.  Unfortunately no matter what you want to call it, the
>> complier wants nothing to do with it.  Given the following constructor
>> method:
>> 
>> 
>> Sub CBLnkItmParentOf(itemsTable as CTblItems, linkName as String)
>>   
>>   const here = "CBLnkItmParentOf"
>>   
>>   self.name = linkName
>>   Table(0) = itemsTable
>>   Table(1) = itemsTable
>>   
>>   blipoTblItems = itemsTable
>> End Sub
>> 
>> 
>> The compiler complains regarding "Table" that "This method or property does
>> not exist."  So I guess if I wanted to do this I'd have to cache another
>> copy of the itemsTable... which is fine.   However you've convinced me I
>> can't use a BinaryLink here so the code will go away.  But I'm sure I'll
>> want to use the trick again sometime later.
> 
> You cannot ASSIGN to that properties.
> I think they are marked in docs as r/o  READ ONLY.
> 

They are not marked that way on page 164 of my document, which is the only
reference I can find.





More information about the Valentina mailing list