try this:
VAR v: Views.View; d: Documents.Document;
v := NewMyView(...);
d := Documents.dir.New(v, w, h);
d.SetPage(w, h, l, t, r, b, decorate);
(* w, h: page size, l, t, r, b: content on page *)
Views.OpenView(d); (* instead of Views.OpenView(v) *)
- Beat Heeb
====================================================================
Beat Heeb Oberon microsystems, Inc.
heeb@oberon.ch Technoparkstrasse 1
voice ++41-1-445-1751 CH-8005 Zurich
fax ++41-1-445-1752 http://www.oberon.ch/customers/omi
====================================================================
BooksJournal