Page 1 of 1

Caption Title across two lines

Posted: Tue Mar 14, 2017 1:16 am
by johnberman

Hi

IF I have a caption say General Discussion how can I split it and have

General
Discussion

Regards
John B


Re: Caption Title across two lines

Posted: Tue Mar 14, 2017 9:01 am
by mobhar

You may simply use "setFieldPhrase" method that belongs to "Language" object. Let's say you want to change the caption of "OrderDate" field that belongs to the "orders" table into two lines, then simply put the following code in "Page_Load" server event under your desired table/page:

Language()->setFieldPhrase("orders", "OrderDate", "FldCaption", "Order<br>Date");