Re: Fixed Width Characters

new topic     » topic index » view thread      » older message » newer message

----- Original Message -----
From: Jim <futures8 at PCOLA.GULF.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, November 12, 2000 11:09 AM
Subject: Re: Fixed Width Characters


> Ken;
>
> Thanks for the response. Had already tried your suggestion; made no
difference, though.
>
> Ken Roger wrote:
>
> > Try--
> > setFont(winwhichever,"Courier New", 10,0)

If you set the font of the listbox itself to "Courier", it will work. I use
this kind of thing all the time, without any problem. There's no need to
worry about character widths or anything, because all Courier characters,
just like on a typewriter, take up the same amount of space.
If you're still having trouble lining up text, take a look at the input and
see if there are any control characters imbedded. This can be as simple as
reading the first line and using ? to display it. Any number less than 32 in
that line should be suspicious.

If you still can't get this to work, e-mail me a sample of the data.
Regards,
Irv Mullins

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu