Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: Mine is Bet...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 758 of 861
Post > Topic >>

Re: Mine is Better Than mline()

by Gene Wirchenko <genew@[EMAIL PROTECTED] > Apr 19, 2007 at 09:51 AM

"Olaf Doschke" <olaf.doschke@[EMAIL PROTECTED]
> wrote:

>but if you were only dealing with leading spaces, you could
>simply use ltrim(mline(...)) and you would be done, if it
>wasn't for putting "..." at the end of some number of lines
>and hyphenating words too long to fit in one line.

     No, because I have indenting of paragraphs.  How does one
distinguish between spaces that are there, because 1) they are at the
start of the paragraph and 2) of this mline() glitch?  mline() does
not indicate this, and simply applying ltrim() to each line would loss
the paragraph indenting.

>In fact I would still base such a function on mline() and
>not go back to substr().

     I did have a function based on mline() and found this space
glitch.  Because the memo is being put into a letter, it became
im****tant to eliminate the extraneous spaces.

>What I did once was  to automate word to make text
>work in a given width (in pixels) at a given Font by setting
>up the page margins an font and then could even make use
>of Words automatic hyphenation.
>
>Let's see if I find that code.

     I initially suggested using Office Automation to my boss, but he
decided to go with the obvious way.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
     I have preferences.
     You have biases.
     He/She has prejudices.
 




 6 Posts in Topic:
Mine is Better Than mline()
Gene Wirchenko <genew@  2007-04-18 20:27:21 
Re: Mine is Better Than mline()
"Olaf Doschke"   2007-04-19 07:58:28 
Re: Mine is Better Than mline()
Gene Wirchenko <genew@  2007-04-19 09:51:51 
Re: Mine is Better Than mline()
Josh Assing <XjoshX@[E  2007-04-20 16:04:48 
Re: Mine is Better Than mline()
"Olaf Doschke"   2007-04-21 13:01:06 
Re: Mine is Better Than mline()
"Fernando D. Bozzo&q  2007-04-25 14:55:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:06:25 CST 2008.