Re: Display problems

Walter Haslbeck <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Organization AMG GmbH
Message-ID <[email protected]>
Hello,

Rob Kottler wrote:

>   I have display fields defined similar to this:
> LABEL l1 = formonly.labelout1 ;
> 
> and it is 24 characters long
> 
> When I display a string to it, or a char variable, it truncates halfway 
> through the 17th character, although the string is usually another 5 to 
> 10 characters more.

My crystalball says: Your host-variable is to short.

> How do I centre a field on the screen?
> How to I right align text fields ?

You have do caculate the postion in you 4gl and prepend the adequate 
number of spaces to the string.

Walter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.