1. Re: Fixed Width Characters (Again)
----- 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.
Try the following short program. It will let you know whether you are really
using monospaced characters or not.
-- code generated by Win32Lib IDE v0.9j
include Win32Lib.ew
without warning
----------------------------------------------------------------------------
----
-- Window Window1
global constant Window1 = create( Window, "Font Test", 0, 0, 0, 500, 400,
0 )
global constant List2 = create( List, "List2", Window1, 8, 12, 476, 228, 0 )
----------------------------------------------------------------------------
----
procedure Window1_onOpen ()
setFont( List2,"Courier New",12,0)
addItem( List2,"All three lines should be the same length")
addItem( List2,"iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii")
addItem( List2,"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM")
end procedure
onOpen[Window1] = routine_id("Window1_onOpen")
WinMain( Window1, Normal )
--Irv