About Duffbert...

Duffbert's Random Musings is a blog where I talk about whatever happens to be running through my head at any given moment... I'm Thomas Duff, and you can find out more about me here...

Email Me!

Search This Site!

Custom Search

I'm published!

Co-author of the book IBM Lotus Sametime 8 Essentials: A User's Guide
SametimeBookCoverImage.jpg

Purchase on Amazon

Co-author of the book IBM Sametime 8.5.2 Administration Guide
SametimeAdminBookCoverImage.jpg

Purchase on Amazon

MiscLinks

Visitor Count...



View My Stats

« Book Review - Service-Oriented Architecture Compass | Main| Never know *who* you'll find in a book! »

Formatting column headings in a view/folder? (Question from a reader)

Category IBM/Lotus
Hi, everyone...  I got a question from a blog reader who is trying to do some formatting of column headings in a folder design.  I don't know of an answer to this, but Show and Tell Thursday has proven to me that the group knowledge is greater than any single person's input.  Can anyone offer up any suggestions, hacks, what have you?

I am trying to organize a fairly complicated folder, particularly the column headings.  I have column headings that have up to 3 rows of information and I know how to specify multiple rows for headings in the folder properties, but I am at a loss to figure out how to have the headings break where I want them.  Here is an example:


Marketer
# of
Open
Quotes
Total
$'s
Quotes

Closing
Ratio


To achieve this look, I need a couple of carriage returns before the value of "Marketer" in the column heading, and one before "Closing".  By default, Notes starts everything on the top line, which has terrible visual appeal.  My actual requirement for this folder is far more complex, which is why I am not using a view and why I need to control my headings more tightly.  Is there any way you know of to put these line feeds into the text of the column headings?

Comments

Gravatar Image1 - Thanks for the input, everyone... this gave the reader a number of options to pursue.

Gravatar Image2 - The only way that I know of is to use spaces, eventually the words will be pushed to the correct lines.

Gravatar Image3 - Addendum:

In re-reading the original post, I realized that my solution didn't address the real issue. The technique is the same though. The first column title would look like this:

[<br><br>]Marketer

Gravatar Image4 - The way to achive this is to include pass-through HTML in the column title. For instance, your second column would be:

# of[<br>]Open[<br>]Quotes

You can also reference Shared Resources image files like this:
[<img src=spacer.gif width=140 height=1>]

Gravatar Image5 - Passthru HTML in the headers only works if it's being viewed in a browser. Even though the client can render HTML in some places, I've never been able to make it recognize passthru formatting in view/folder column headers. Unless there's some trick I'm missing?

Gravatar Image6 - This appears to be a limitation to the Designer UI. I just did a test and found that you can set the column title programatically and include carriage returns. You just can't enter them directly into the field in the Designer UI properties box. The following code works:

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim col As NotesViewColumn
Set db = session.CurrentDatabase
Set view = db.GetView("viewname")
Set col = view.Columns(0)
col.Title = Chr$(13) + "Testing"

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Want to support this blog or just say thanks?

When you shop Amazon, start your shopping experience here.

When you do that, all your purchases during that session earn me an affiliate commission via the Amazon Affiliate program. You don't have to buy the book I linked you to (although I wouldn't complain!). Simply use that as your starting point.

Thanks!

Thomas "Duffbert" Duff

Ads of Relevance...

Monthly Archives