{{tag>category:"OpenInsight 32-Bit" author:"SCarlson" author:"Richard Hunt" author:"The Sprezzatura Group" author:"Sean FitzSimons" author:"dsig@sigafoos.org"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== How to set Column width in List Box (OpenInsight 32-Bit) ====
=== At 05 FEB 2004 12:22:50PM SCarlson wrote: ===
The column width of a list box is 5
characters for each tab.
How can I set the width of the columns in a
listbox to be something like
15 char, 5 char, 10 char.
Thanks..
Steve C.
----
=== At 05 FEB 2004 01:13PM Richard Hunt wrote: ===
Maybe the "TABSTOPS" property would help you.
----
=== At 05 FEB 2004 01:34PM The Sprezzatura Group wrote: ===
As an addendum to Richard's comment it is worth noting that the primary definition is correct and the second is a little misleading. That is to say, you don't set pixels between tabs, but a distance from the left side of the box - and you have to use pixels, so in your case values closer to ten times bigger are in order!
The Sprezzatura Group
[i]World Leaders in all things RevSoft[/i]
[img]http://www.sprezzatura.com/zz.gif[/img]
----
=== At 05 FEB 2004 01:55PM SCarlson wrote: ===
hhmmmmmmm!
Tabstops property is not listed as a property
for list boxes in "Which Controls Support Which Properties?"
OI 4.13
Steve C.
----
=== At 05 FEB 2004 02:18PM Sean FitzSimons wrote: ===
Steve,
Thank you for the heads up. Did you find TABSTOPS in the Properties Chapter of the Prrogrammer's Reference in the Help?
Sean
----
=== At 05 FEB 2004 03:00PM SCarlson wrote: ===
Yep... Found it there.
Steve C.
----
=== At 05 FEB 2004 04:48PM SCarlson wrote: ===
Sean,
Also, from debugger "View", "Properties" for the list box,
the "Tabstops" property does not appear.
Steve C.
----
=== At 06 FEB 2004 07:44AM Sean FitzSimons wrote: ===
Steve,
Not all properties are exposed in the Form Designer. TABSTOPS just happens to be one that can only be set programmatically.
Sean
----
=== At 06 FEB 2004 08:37AM SCarlson wrote: ===
Sean:
Yes, but I would think the debugger view
(debugger "View", "Properties" for the list box,
the "Tabstops" property does not appear.)
would show all properties.
Steve C.
----
=== At 06 FEB 2004 09:05AM dsig@sigafoos.org wrote: ===
so this is going to get fixed .. yes?
dsig@sigafoos.org
[url=http://www.sigafoos.org/samweb]DSigs Radio Free Oregon[/url]
Phone: 971-570-2005
OS: WinXP Pro
OI: 7.0
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=20BBFA5AA1B18F3E85256E31005F79A6|View this thread on the Works forum...]]