realbasic-plugins
[Top] [All Lists]

Re: Properties in Interface

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Properties in Interface
From: Ruslan Zasukhin <sunshine at public dot kherson dot ua>
Date: Fri, 28 May 2004 00:45:53 +0300
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
List-help: <mailto:realbasic-plugins-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Plugins <realbasic-plugins.lists.realsoftware.com>
List-post: <mailto:realbasic-plugins@lists.realsoftware.com>
On 5/28/04 12:38 AM, "Jonathan Johnson" <jonj at realsoftware dot com> wrote:

>>> Then Name() and Name(assigns s as string) manipulate that private
>>> member in VTable
>> 
>> You mean that I need create METHOD
>> 
>> Table_get_Name()
>> {
>>     return Table_GetName() // existed method?
>> }
>> 
>> I do not see sense for this.
>> First of all because this is additional call.
>> Absolutely not needed.
> 
> Right.. not needed. Just create two method declarations:
> 
> REALmethodDefinition methods[] = {
> { (REALproc)Table_GetName, REALnoImplementation, "Name as String" },
> { (REALproc)Table_SetName, REALnoImplementation, "Name(assigns newName
> as String)" }
> };
> 
> 
> That's it -- you're done. Now just pass those methods off to the
> interface definition as well (simply cut and paste).

Ok,

So I redirect in method declarations to my EXISTED functions

And I need delete absolutely section Properties. Yes?


Don't you think, that in this case, section properties
Become absolute ?

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft dot com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>