Caption Title across two lines

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
johnberman
User
Posts: 210

Caption Title across two lines

Post by johnberman »

Hi

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

General
Discussion

Regards
John B


mobhar
User
Posts: 11660

Post 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");


Post Reply