Problems with depositing a number of views

cameronp@corplink.com.au
Sun, 01 Feb 1998 13:37:20 +1000

Hi all,
Got another problem I cant seem to solve...
views, and *deposit* open them up.. To do this, I called a function as
below, which was based on the deposit function.

This procedure is inside my view class

PROCEDURE InitView*( l: G1Lecturer.Lecturer);
VAR
v: View;
m: Model;
str : Views.Title;
tmpstr: G1Strings.String;
BEGIN
NEW(m);
Init(m);
NEW(v);
v.model := m;
lecturer := l;
tmpstr := lecturer.GetName();
Strings.Replace(str,0,64,tmpstr^);
(*Views.Deposit(v);*)
Views.OpenAux(v,str);
StdCmds.Open;

END InitView;

Now I also wanted to give the view a particular name at the top, hence
the call to openaux.. But even if I dont use openaux, and just go with
deposit call, it doesnt work.. It actually displays them if i have 2 or
more, but the first one always appears and then it vanishes...

Any ideas as to what I'm doing wrong?
Cheers
Cam