For example:
task.x works but
scheduler.tasks.task.x does not
task*: Task;
scheduler*: Scheduler;
Task* = RECORD x*: INTEGER END;
Scheduler* = RECORD tasks*: Tasks END;
Tasks* = POINTER TO RECORD task*: Task; next: Tasks END;
The BB documentation does not make that clear.
I think the key word is "tries". It seems it is not able in the above example even though the globally exported field "x" is accessible.Unlike other views, these BlackBox controls can be linked to a program variable, or more exactly: to any field accessible through a globally declared variable. When the control is opened, BlackBox tries to link the control to its variable, using the advanced metaprogramming capabilities of the BlackBox Meta module. In this way, the link between control and variable can be built up automatically when a dialog is newly created or loaded from a file, and correct linking (i.e., correct typing) can be guaranteed even after a dialog layout had been edited or otherwise manipulated.
-Doug