line spacing

Is there some way to set the space betwee lines in a tekst
field in IM 10.5?
0
Cor
12/12/2007 9:13:21 PM
📁 sybase.infomaker.general
📃 4461 articles.
⭐ 0 followers.

💬 5 Replies
👁️‍🗨️ 2174 Views

Cor;

    Would that be on a FORM or a REPORT?

-- 
Regards ... Chris
http://chrispollach.pbdjmagazine.com
 ,\|/,
(0 0)
-(_)-


 wrote in message news:[email protected]...
> Is there some way to set the space betwee lines in a tekst
> field in IM 10.5? 


0
Chris
12/13/2007 12:48:24 PM
Actually it is a computed field in a datawindow.

Kind regards,
Cor van Loon

> Cor;
>
>     Would that be on a FORM or a REPORT?
>
> --
> Regards ... Chris
> http://chrispollach.pbdjmagazine.com
>  ,\|/,
> (0 0)
> -(_)-
>
>
>  wrote in message
> > news:[email protected]... Is there
> > some way to set the space betwee lines in a tekst field
> in IM 10.5?
>
>
0
Cor
12/14/2007 11:40:10 PM
Cor;

    Not directly, however ...

1)    Since this is a CC - you can call a global function that returns a 
"String" data type for the CC's data. If you have PowerBuilder around, 
create a global function that takes a String argument and calculates 
appropriate text line length. At the end of a line, add an extra line feed 
(~r). That will at least "double-space"  the output in effect.
2)     Use a Child DW for the source of the CC. In the child DW, format the 
text from the database and in the Detail Band, stretch the band to give the 
line spacing you require.

HTH

-- 
Regards ... Chris
http://chrispollach.pbdjmagazine.com
 ,\|/,
(0 0)
-(_)-


 wrote in message news:[email protected]...
> Actually it is a computed field in a datawindow.
>
> Kind regards,
> Cor van Loon
>
>> Cor;
>>
>>     Would that be on a FORM or a REPORT?
>>
>> --
>> Regards ... Chris
>> http://chrispollach.pbdjmagazine.com
>>  ,\|/,
>> (0 0)
>> -(_)-
>>
>>
>>  wrote in message
>> > news:[email protected]... Is there
>> > some way to set the space betwee lines in a tekst field
>> in IM 10.5?
>>
>> 


0
Chris
12/17/2007 12:54:54 PM
If it is a computed column, you can add the extra ~r~n yourself.
But there is no concept of single, double or 1.5 spacing in IM like you have 
in Word for instance.

-- 
Terry Dykstra (TeamSybase)
http://powerbuilder.codeXchange.sybase.com/
http://cas#express.sybase.com/cx/cx.stm (remove the # from the address)
product enhancement requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

"Chris Pollach"  wrote in message 
news:[email protected]...
> Cor;
>
>    Not directly, however ...
>
> 1)    Since this is a CC - you can call a global function that returns a 
> "String" data type for the CC's data. If you have PowerBuilder around, 
> create a global function that takes a String argument and calculates 
> appropriate text line length. At the end of a line, add an extra line feed 
> (~r). That will at least "double-space"  the output in effect.
> 2)     Use a Child DW for the source of the CC. In the child DW, format 
> the text from the database and in the Detail Band, stretch the band to 
> give the line spacing you require.
>
> HTH
>
> -- 
> Regards ... Chris
> http://chrispollach.pbdjmagazine.com
> ,\|/,
> (0 0)
> -(_)-
>
>
>  wrote in message 
> news:[email protected]...
>> Actually it is a computed field in a datawindow.
>>
>> Kind regards,
>> Cor van Loon
>>
>>> Cor;
>>>
>>>     Would that be on a FORM or a REPORT?
>>>
>>> --
>>> Regards ... Chris
>>> http://chrispollach.pbdjmagazine.com
>>>  ,\|/,
>>> (0 0)
>>> -(_)-
>>>
>>>
>>>  wrote in message
>>> > news:[email protected]... Is there
>>> > some way to set the space betwee lines in a tekst field
>>> in IM 10.5?
>>>
>>>
>
> 


0
Terry
12/18/2007 12:21:02 AM
 True if you only need one CR, however - when you need to compute and insert 
many CR's though-out long textual data, the Global function would be my 
approach.  :-)


"Terry Dykstra"  wrote in message 
news:[email protected]...
> If it is a computed column, you can add the extra ~r~n yourself.
> But there is no concept of single, double or 1.5 spacing in IM like you 
> have in Word for instance.
>
> -- 
> Terry Dykstra (TeamSybase)
> http://powerbuilder.codeXchange.sybase.com/
> http://cas#express.sybase.com/cx/cx.stm (remove the # from the address)
> product enhancement requests:
> http://my.isug.com/cgi-bin/1/c/submit_enhancement
>
> "Chris Pollach"  wrote in message 
> news:[email protected]...
>> Cor;
>>
>>    Not directly, however ...
>>
>> 1)    Since this is a CC - you can call a global function that returns a 
>> "String" data type for the CC's data. If you have PowerBuilder around, 
>> create a global function that takes a String argument and calculates 
>> appropriate text line length. At the end of a line, add an extra line 
>> feed (~r). That will at least "double-space"  the output in effect.
>> 2)     Use a Child DW for the source of the CC. In the child DW, format 
>> the text from the database and in the Detail Band, stretch the band to 
>> give the line spacing you require.
>>
>> HTH
>>
>> -- 
>> Regards ... Chris
>> http://chrispollach.pbdjmagazine.com
>> ,\|/,
>> (0 0)
>> -(_)-
>>
>>
>>  wrote in message 
>> news:[email protected]...
>>> Actually it is a computed field in a datawindow.
>>>
>>> Kind regards,
>>> Cor van Loon
>>>
>>>> Cor;
>>>>
>>>>     Would that be on a FORM or a REPORT?
>>>>
>>>> --
>>>> Regards ... Chris
>>>> http://chrispollach.pbdjmagazine.com
>>>>  ,\|/,
>>>> (0 0)
>>>> -(_)-
>>>>
>>>>
>>>>  wrote in message
>>>> > news:[email protected]... Is there
>>>> > some way to set the space betwee lines in a tekst field
>>>> in IM 10.5?
>>>>
>>>>
>>
>>
>
> 


0
Chris
12/18/2007 1:37:54 PM