Home » Developer & Programmer » Forms » How to display a long text in multiple lines  () 1 Vote
How to display a long text in multiple lines [message #134718] Fri, 26 August 2005 07:03 Go to next message
Mohanraj@roadmapit.com
Messages: 16
Registered: August 2005
Location: Pondicerry
Junior Member

In case of alerts Can any one tell me how to display a large text in multiple lines

MESS:= ( 'Created By : '||arr(0)||
chr(13) ||'Created Date : '||arr(1)||
CHR(13) || 'Updated By : '||arr(2)||
CHR(13) || 'Updated Date : '||arr(3));

Set_Alert_Property(alert_id, alert_message_text, mess );
al := Show_Alert( alert_id );

I want the messages to be in new line (in 4 lines) but in forms 6i it works properly
currently im using 10g
Re: In case of alerts Can any one tell me how to display a large text in multiple lines [message #134897 is a reply to message #134718] Sun, 28 August 2005 18:35 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Are you saying that it isn't working in 10g?

David
Re: In case of alerts Can any one tell me how to display a large text in multiple lines [message #134944 is a reply to message #134897] Mon, 29 August 2005 02:57 Go to previous messageGo to next message
Mohanraj@roadmapit.com
Messages: 16
Registered: August 2005
Location: Pondicerry
Junior Member

yes martin in case of oracle 10g forms it does not work but in case of 6i it works properly
Re: In case of alerts Can any one tell me how to display a large text in multiple lines [message #135079 is a reply to message #134944] Mon, 29 August 2005 17:34 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try chr(10), if that doesn't work then try chr(11), chr(12), and perhaps the good old CR-LF chr(13)||chr(10).

We use a couple of simple forms which takes a 'header', that is display in bold and left justified, then up to 5 other parameters (unfortunately, maximum length of 53 or 71 depending on whether it is the 'small' or 'big' display form - unfortunately you do the splitting yourself) which are displayed on a series of lines that are indented.

David

[Updated on: Wed, 31 August 2005 17:37]

Report message to a moderator

Dear Sir i have a doubt in alerts [message #135341 is a reply to message #134718] Wed, 31 August 2005 03:16 Go to previous messageGo to next message
Mohanraj@roadmapit.com
Messages: 16
Registered: August 2005
Location: Pondicerry
Junior Member

Thank u martin now im able to display the alerts in multiple lines using chr(10)

Can any tell me how to display the alerts in a standard format (size)

In Oracle forms 6i whatever be the alert's message text the alert displayed is of same size .
But in case of 10g the alerts are sized according to the length of the message.
I want the alert to be in same size (As in 6i) for any sort of message
Re: Dear Sir i have a doubt in alerts [message #135498 is a reply to message #135341] Wed, 31 August 2005 18:00 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try splitting the message line into 60 or 55 or 50 character 'lengths' and see if that changes the font size.

David
Re: Dear Sir i have a doubt in alerts [message #135500 is a reply to message #135498] Wed, 31 August 2005 18:07 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try specifying a 'property class' that contains font name and font size for your alert.

David
Previous Topic: how can i call an exe file in form??
Next Topic: Error Ora-00600
Goto Forum:
  


Current Time: Fri Sep 20 03:36:04 CDT 2024