gettingstarted
[Top] [All Lists]

Re: Reading in text from a file into a ListBox with 2 columns

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Reading in text from a file into a ListBox with 2 columns
From: Paul Young <youngpr at myactv dot net>
Date: Sun, 30 Jan 2005 20:35:33 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <9F493097D6CCD211B18F0008C7FA88CE0A4FBC28 at jnjausyexs1 dot ap dot jnj dot com>

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>

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