08.03.2007
SnTT: Round corners and layers
>>Author: Bernd Hort
>>Ort: Hamburg
URL: http://www.assono.de/blog/d6plinks/BHOT-6Z4S8YCategory: Show-n-Tell Thursday, Lotus Notes, Entwicklung, Interface Design
But start with the beginning. For round corners in tables two ingredients are needed: a image resource like this one
The
result is quite nice.
Until you start to print it.
During printing the image resource is not used. But the thickness of 9 pixels of the border will result in a big ugly border. Even if you use a white border it is not really good looking.
As mentioned above there is a solution: Layers. There are two tables in the form. The one with the round corners is in a layer. The second one is just for printing and will be covered by the layer with the other table. (In the screen shot I moved the layer, so that the underlying table could be seen.)
The only thing to remember is setting the hide-when option for printing in the line where the layer anchor is.
With this settings the layer with the table with the round corners will be shown on screen but for printing the simple table will be used.

Comments
Bernd, how did I do?
I'm curious if you could put one layer on another and set the image properties of the layer to use the rounded table graphic and see if Notes would respect this for printing. Did you try that by any chance?
In any event, thank you for the translation! Even though I work for a German company, my German skills are not so good!
You could probably even make that image a cell background and use "size to fit" to get some level of dynamic adjustment out of it.
And that might even print properly, y'know. :)