Replies: 3 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.
-
I rewrote the repaint and reshape functions of the header window like this: TBDEMO.TXT
Now the header of the table browser displays the way I intended: However, the table browser and the header don't scroll in sync but each scrolls independently: Reshaping has layout issues too: Part or all of the issues may be fixed by properly setting the extent of the header window, which the code doesn't yet. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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