I would like to display a rather large table (>10000 lines of text) using a
BB view. I am running into two problems.
First, BB won't let me size my view to its full size with a call to
model.context.SetSize(w, h). It will let me size it to display about half
the entries. The documentation is (to me at least) not very helpful:
>PROCEDURE (c: Context) SetSize (w, h: INTEGER)
>NEW, EMPTY
>Requests the container to adapt the size of c's view to the given width
and
>height. The container may or may not grant this request.
I can't figure out under what conditions BB grants my resize request and
when it denies it. Can somebody please point me to the appropriate place in
the documentation or explain the behavior of SetSize?
The other problem is related to the sheer size of the view. AFAIK, BB
expects the full size of a view (universal coordinates) to be passed in a
call to SetSize. With the default font (Mac, Geneva 10pt), the height of my
view expressed in universal coordinates exceeds the range of INTEGER around
12000 lines of text. Has anyone faced this problem before? Ideas for a
user-friendly solution? (I won't accept the answer "12000 lines is too much
data anyway" :-))
Have fun, Stephan
---------------------------------------------------------
Stephan Gehring
---------------------------------------------------------