On Jan 30, 2005, at 7:19 PM, POIDINGER, Michael [JJRAU] wrote:
Phil,
I titled the new Class as "PlistClass" and now it has four methods:
concatenateRow, getPlist, savePlist and writeToTextFile. All
are declared Public access.
I need to call getPlist from App/Event/Open but the debugger tells me
getPlist does not exist, even though I use
"PlistClass.getPlist" What
am I missing?
Thanks,
Paul
You have to have an instance of the class somewhere. It is also
unlikely to
exist at the app.open event.
1) Make sure the super of your new class is set to ListBox
It is.
2) Either drag your new class to a window or select a listbox in your
window
and reset it's super to PlistClass
I did.
3) In the open even of the window, do your stuff
mylistboxwithplistclassassuper.getPlist()
Yep. And it acts as if it is not there.
Paul
Mike
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|