Thanks Joe, I knew I was going to feel stupid when someone pointed
out my error, and I do.
Lou
On Apr 28, 2006, at 2:59 PM, [EMAIL PROTECTED] wrote:
Lou wrote:
I created a simple Window with a Pushbutton and a simple Class.
When attempting to Run the program it halts with a "property does not
exist" error.
The error is quite right. You're trying to reference
"Class1.Abc". But Abc is not a shared property of Class1; it's a
regular property, and exists only in relation to some particular
instance. You need to reference it through some instance, e.g.
like this:
Dim foo As New Class1
msgbox str(foo.Abc)
P.S. I went backwards and under RB 2006r1, this program compiles and
runs.
That'd be a bug in 2006r1 then -- one which apparently they've fixed.
Best,
- Joe
--
Joe Strout -- [EMAIL PROTECTED]
Available for custom REALbasic programming or instruction.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>