Still Problems with depositing a number of views

From: [at]} <cameronp{>
Date: Mon, 05 Jan 1998 11:42:40 +1000

cameronp{([at]})nowhere.xy


Hi all again, didnt get a response for this question..
Are you sure noone knows what the problem is?
Thanks for you time
Cameron
>
> Hi all,
> Got another problem I cant seem to solve...
> >From a function in one of my classes, I want to create a number of
> 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
Received on Wed Apr 22 1998 - 03:23:33 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:42 UTC