CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 how to determine the width of a listbox?

Print topic Send  topic

Author Message
CodeChargenewbie

Posts: 114
Posted: 11/15/2007, 9:30 AM

Say I create a listbox in design view containing various values, each of which may different lengths. Is there a structure that exists in html to return the length of the maximum size the listbox will reach, so that I may plug said return value into the style property. Yes, I know I may set the width to anything I wish. That's not what I'm talking about there. I can stretch a listbox, textbox, whatever, in design view, but that doesn't tell me the width, in pixels. Is there such a method for returning width of a listbox, in pixels, using html?

Thank you in advance.
View profile  Send private message
CodeChargenewbie

Posts: 114
Posted: 11/15/2007, 9:47 AM

nevermind...stretching it in design view will give me the value in pixels.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.