New line in text property

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

New line in text property

Post by soapagent »

In the following code #wrk50a = '2.00pm (10)'.

#COM_OWNER.Set_Label Name(tabSessions + '.Row%' + #x.AsString + '.Other') Text(#wrk50a)

Is there a way to force a line break in this string so that it appears as

2.00pm
(10)

Because of the form layout it will almost always wrap and never does in the right place.

Cheers
billcros
Posts: 18
Joined: Fri Apr 11, 2014 10:27 pm

Re: New line in text property

Post by billcros »

If you place the code below between the text it will add the new line

+ #COM_OWNER.LineFeed +
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: New line in text property

Post by soapagent »

Grate thanks.
Post Reply