objects and widgets [message #49237] |
Wed, 05 July 2006 05:53 |
gnarloo
Messages: 14 Registered: June 2004
|
Junior Member |
|
|
Dear all, I havent been around for pretty a long time, anyway, hope you
all are doing fine.
Imagine a program with a gui interface and callback procedures.
i am writing the callback procedures, (basically the core of the
program) but one thing occurs. I am using objects (self made, i wrote
structures and methods) and i create them with obj_new at the '
beginning' of my program, that is, i create the objects in the realize
callback procedure of the base_0 widget. when I try to use the objects
i have created in another unit program, for example a mouse button
procedure, the object appears as undefined. I know for sure that the
object was created but it appears that it doesnt have global scope. can
anyone help? thanx to all in advance.
cheers,
Michele
|
|
|