Replies: 2 comments
-
You've passed the atom 'HEADER to the table browser create function, instead of passing the window that is the value of the atom HEADER. You've also put the header repaintfn on the main window instead of the heading window. |
Beta Was this translation helpful? Give feedback.
-
I changed
The full code is here: TBDEMO.TXT Now the header does show up but slightly offset and partially erased. And the header doesn't repaint or scroll in sync with the main window, but it's something I can probably figure. |
Beta Was this translation helpful? Give feedback.
-
To learn how to use TableBrowser I wrote this simple Interlisp program: TBDEMO.TXT
Evaluating
(TBD.INIT)
creates a table with 3 columns and populates it with sample items. The table is supposed to have this header:However, the header area is completely blank and looks like this:
I did expect the header text to be partially offset or cropped but hoped its location would hint at how to fix it. However, I didn't expect the text wouldn't show up at all. Is there anything obviously wrong with my code?
I checked the File Browser code but the implementation of the header is a bit involved and I haven't figured how it works.
Beta Was this translation helpful? Give feedback.
All reactions