PDA

View Full Version : Basic Construction Question.



Blackfoot
September 23rd, 2011, 04:01
I'm trying to refer back to items off a given sheet from within a window on that sheet.. or even on another sheet.

Is there a global call or reference that grabs the root of the tree somehow?

When I was MUD coding there were tags like 'this_player' and 'this_object' that easily called the base object onto which everything else was built... I'm looking for something like that but cannot seem to find it.

Moon Wizard
September 24th, 2011, 18:14
It depends on what you are trying to access.

If you are just trying to access the underlying data, then you should look at DB.findNode function, and then use getValue to get the internal value.

If you need to access a window element (i.e. one not tied to the database, control vs. field), then you should look at Interface.findWindow function.

Cheers,
JPG