LIST BOXES- COLUMNS (OpenInsight Specific)
At 09 MAR 1999 02:29:26PM STEVE C. wrote:
If a List Boxe is set for multiple columns, what
delimiter is used for this in the LIST property?
Thanks
Steve C.
At 09 MAR 1999 02:36PM Oystein Reigem wrote:
Steve,
It's tab, aka char(9).
- Oystein -
At 09 MAR 1999 03:29PM Steve C. wrote:
Thanks Oystein,
After working with tabs and "TABSTOP", it looks
like it will be easier for me to use an edit table
for what I need to do.
Thanks again… for the quick reply.
Steve C.
At 10 MAR 1999 06:56AM Oystein Reigem wrote:
Steve,
The multi-col list box isn't very flexible. I never used it.
It would have been better if each tab stop could be set individually.
And there is the problem with long items causing the next item(s) on the same line to shift to the right, distorting your columns. Btw - there might be ways around that problem. You could either truncate long items, or you could shift the whole column to the right by putting in extra tabs in the other lines. To do either you need to be able to calculate the length of strings. If you use a monospace font like Courier it's easy. For proportional fonts you must use the TEXTRECT Utility service. It can take some time to get the programming right, but edit tables certainly have their limitations too.
![]()
- Oystein -