On Thu, 3 Jul 1997, Wataru KAMEYAMA wrote:
> Morgen Andreas,
:-)
> I don't agree with you, since we've agreed that all Font, CursorShape
> and Palette shall be active when they are referenced, and since
> "active" means the object is usable by the engine. "Available" just
> means the object is just ready in the engine and ready for getting
> usable.
and:
>"Available" doesn't mean its content is ready to use. Remember the
>ContentAvailable event. After receiving ContentAvailable, the object
>is really ready to use. However, "AvailabilityStatus equal to true"
>doesn't ensure it. Only the "RunningStatus is true" ensures the
>object is usable.
You are right! I have not considered that the content might not be available.
Sorry for this.
> Therefore, still our previous conclusion is valid:
> CursorShape shall be active (RunningStatus is true) when it's
> referenced.
OK, but, imho, the RunningStatus is never been set to "true".
In 8.3 (Activation behaviour of the Root class) the second note states:
"The generation of an IsRunning event and the modification of the
RunningStatus internal attribute are parts of the Activation behaviour
of the subclasses of the Root class."
The problem is that the CursorShape class (and Font and Palette) has no
explicit Activation behaviour. Maybe we should add one?
Activation:
1. Apply the Activation behaviour as defined in the base class.
2. Set the RunningStatus attribute to True and generate an IsRunning
event.
Very best regards,
Andreas
-- o _ Andreas Kraft (\_|_) GMD FOKUS, kraft@fokus.gmd.de, +49 30 25499-232 T> ] [ The sky is the limit