Shop OBEX P1 Docs P2 Docs Learn Events
Accessing an object through an object? — Parallax Forums

Accessing an object through an object?

iam7805iam7805 Posts: 14
edited 2006-11-11 00:52 in Propeller 1
Hey,

I have an object that i'm writing that uses the graphics object. I need to use the graphics object in my top file, but don't want to reload it again. How can I access the PUBs in the graphics object through the other object? More over, is what I want to do even possible? [noparse]:p[/noparse]

Thanks,
-iam7805

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2006-11-11 00:52
    You could try using my callback object, located here. You have to be careful with it, though, as the thread explains. But it does prevent your having to declare the called object twice.

    -Phil
Sign In or Register to comment.