Tony Cerrato wrote:
I have not been able to figure out how to access the properties and
methods I have added to a window object via the Window Function. My
current approach looks something like this...
The reference you get back from the Window function is a Window, and your
properties and methods aren't in the Window class. You can cast the window you
get back to your window subclass and then it will work:
dim w as Window
dim m as MyWindow
w = Window(i)
if w isa MyWindow then
m = MyWindow(w)
if m.BooleanProperty then
blah
end if
endif
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzLog & KidzMail: http://haranbanjo.com
_______________________________________________
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>
|