>
> 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
2) Either drag your new class to a window or select a listbox in your window
and reset it's super to PlistClass
3) In the open even of the window, do your stuff
mylistboxwithplistclassassuper.getPlist()
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>
|