One MVC window
Stan Warford (warford@pepperdine.edu)
Thu, 29 May 97 14:07:03 PDT
Hi all,
OK. Here's the problem. In Oberon/F 1.2.1, I have a model
and a view with no controller. The purpose of the view is
to show the progress of a simulation. When the user clicks
a button for the first time the view should appear. If he
clicks it a second time without closing the first view, a
duplicate view should _not_ appear. Instead, the old view
should become focussed. The behavior I want is similar to
the behavior of OpenAuxDialog but without having an external
file.
My problem is that the examples in the documentation show
allocation of a new view followed by Views.Deposit and
StdCmds.Open which has the effect of creating multiple views,
which I don't want. I have tried having a single view
variable but could not get it to work. Any ideas how to
insure that at most one view of my model is displayed?
Thanks.
Stan Warford
Professor of Computer Science
Pepperdine University
warford@pepperdine.edu