en · de

SnTT: Round corners and layers

by Bernd,
assono GmbH, Standort Hamburg,


SNTT.gifSince Ben Langhinrichs has showed how to build a table with round corners quite easily I wanted to use this feature in a productive environment. But there is this old issue with “Notes and Printing” which prevented me from doing so. During the Lotusphere - Session: Designing the User Experience: Why Your Interface Matters from Chris Blatnick and Nathan T Freeman I figured out a solution.

But start with the beginning. For round corners in tables two ingredients are needed: a image resource like this one A picture named M2 and of course a table.

Tabellen-EigenschaftenIn the property box of the table the border style “Image” has to be selected and the name of the image resource has to be given. To see the round corners clearly the thickness of the border has to be fairly large. In the example I used 9 pixels.

The result is quite nice.A picture named M4


Until you start to print it.
Druckvorschau/

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.)
A picture named M6

The only thing to remember is setting the hide-when option for printing in the line where the layer anchor is.
A picture named M7

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.

Technical article IBM Notes IBM Notes Traveler Development

You have questions about this article? Contact us: blog@assono.de

Sie wollen eine individuelle Beratung oder einen Workshop? Read more

More interesting entries

Any questions? Contact us.

If you want to know more about our offers, you can contact us at any time. There are several ways to contact us for a non-binding first consultation.

assono GmbH

Location Kiel (headquarters)
assono GmbH
Lise-Meitner-Straße 1–7
24223 Schwentinental

Location Hamburg
assono GmbH
Bornkampsweg 58
22761 Hamburg

Phone numbers:
Human resources department: +49 4307 900 407
Marketing department: +49 4307 900 411

E-Mail adresses:
contact@assono.de
bewerbung@assono.de