Thought from looking at your code that you had solved the problem.
However after taking a look at your example, the columns don't line up
:<(.
If you've had it working before I would appreciate having you take a
look at your code. Maybe you transcribed something in error. If you
make the select box in your example with a size of 10 it's easier to
see the columns.
Thanks for your efforts.
Rick Mason
----- Original Message -----
From: Dave Francis <[EMAIL PROTECTED]>
Date: Wed, 29 Sep 2004 16:09:34 -0400
Subject: Re: Order in multi-column select box
To: CF-Talk <[EMAIL PROTECTED]>
This isn't pretty, but it works for me
http://205.150.218.7/test/tsel.cfm:
(assumes max length 10 chars for any column)
<!--- dummy test columns --->
<cfset ls1="wwwwww,iii,jklmno">
<cfset ls2="ab,xxxx,jklmno">
<cfset ls3="aa,bbbb,cccccccc">
<cfset sp=repeatString(" ",10)>
<form action="" method="post">
<select name="x" style="font:10pt Andale Mono">
<cfloop from=1 to=#Listlen(ls1)# index="x">
<cfoutput>
<option value="#x#">#replace(left(listgetAt(ls1,x) & sp,10)," "," ","ALL")#
#replace(left(listgetAt(ls2,x) & sp,10)," "," ","ALL")#
#listgetAt(ls3,x)#</cfoutput>
</cfloop>
</select>
</form>
----- Original Message -----
From: Rick Mason
To: CF-Talk
Sent: Wednesday, September 29, 2004 2:51 PM
Subject: Re: Order in multi-column select box
Michael,
I really thought that a mono-spaced font would fix it - but it
doesn't. I can add a dash (instead of a space) in my code and count
the total characters and they're equal but the columns still don't
line up, not even close ;<(.
Surely someone has solved this problem before ?
Rick Mason________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

