Xojo Conferences
XDCMay2019MiamiUSA

Extensions/Properties/Setters/Getters (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Re: New Plugins-SDK available: REALSetMovieMovie
Next thread: New Plugins-SDK available: Compiler complain


Re: Plugins website   -   Troy A. Dix
  Extensions/Properties/Setters/Getters   -   Seth Willits
   Re: Extensions/Properties/Setters/Getters   -   Joseph J. Strout
    Re: Extensions/Properties/Setters/Getters   -   Seth Willits
   Need a little more string detail   -   Einhugur Software

Extensions/Properties/Setters/Getters
Date: 07.06.02 02:43 (Thu, 06 Jun 2002 18:43:49 -0700)
From: Seth Willits
I need to create a class extension for the purpose of interacting with some
of its properties.

Questions:
1) I can do that right?
2) Does my setter get called before REALbasic's setter?
3) Does my getter get called after REALbasic's getter?

Say if I were to extend the, oh, um, folderitem class. What I want to happen
is if the path of the folderitem is set to "Steve/" I want to be able to
change it in my plugin to "SteveX/" before there any changes induced by
"Steve/" Does that makes sense?

And I'd like to do the same thing with the getter except in reverse. The
folderitem's path is now "SteveX/" but when the user wants it, I want to
change it back to "Steve/" so that's what the user will get.

This can be done, yes?

Seth Willits
---------------------------------------------------------------------------
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com

"It's okay. We can't all have three digit IQ levels."
-- Me
---------------------------------------------------------------------------



- - - - - - - - - -
For list commands, send "Help" in the body of a message to
<<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Extensions/Properties/Setters/Getters
Date: 07.06.02 04:17 (Thu, 6 Jun 2002 20:17:33 -0700)
From: Joseph J. Strout
At 6:43 PM -0700 6/6/02, Seth Willits wrote:
>I need to create a class extension for the purpose of interacting with some
>of its properties.
>
>Questions:
>1) I can do that right?

Nope.

>2) Does my setter get called before REALbasic's setter?
>3) Does my getter get called after REALbasic's getter?

N/A.

>Say if I were to extend the, oh, um, folderitem class. What I want to happen
>is if the path of the folderitem is set to "Steve/" I want to be able to
>change it in my plugin to "SteveX/" before there any changes induced by
>"Steve/" Does that makes sense?

Vaguely, but it's not possible.

>This can be done, yes?

No.

Sorry,
- Joe

Re: Extensions/Properties/Setters/Getters
Date: 07.06.02 04:31 (Thu, 06 Jun 2002 20:31:36 -0700)
From: Seth Willits
On 6/6/02 8:17 PM, the NSA intercepted the following message from "Joseph J.
Strout" <<email address removed>>:

>> This can be done, yes?
>
> No.

Extremely boo! I don't suppose this would be open to being changed?

I guess I could use different variables and methods instead of the standard
ones for the class, but that stinks. I really wanted to do it seamlessly.


Seth Willits
---------------------------------------------------------------------------
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com

"Not everything that can be counted counts, and not everything that counts
can be counted."
-- Albert Einstein
---------------------------------------------------------------------------


- - - - - - - - - -
For list commands, send "Help" in the body of a message to
<<email address removed>>
Unsubscribe:
<mailto:<email address removed>>