KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to Insert Line Break in Listbox Column Title
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: March 7, 2022

A listbox column's header title can be split into multiple lines. This can be a good idea if the title is too long or simply to acheive a certain look and feel. The image below shows a split in a listbox column titled "Customer Email".



The column title can be assigned programmatically or manually.

When setting the column title manually, open the properties list for the column header and insert a backslash character to signify a new line in the title.



When setting the column title programmatically, use a carriage return character to signify a new line in the title.

OBJECT SET TITLE(*; "COLUMN_HEADER_NAME"; "Customer"+Char(Carriage return)+"Email")