LIST BOXES, COLUMNS, AND TABS (OpenInsight Specific)
At 10 MAR 1999 10:56:05AM Steve C. wrote:
Thought I would use an edit table instead of a List box,
but now that I can't get a =to a Dblclick I'm
back to a List box.
I tried setting a single tab with
existingprop=Set_Property(Window_Name:".LIST_TYPE", "TABSTOPS",30)
This does not work. The original tab spacing remains and the "highlight"
on a row selection only highlights the first column with the background color and font highlight, The second "tabbed" column changes the font color but not the background color (in my case
making the 2nd column invisible since the changed font color is the
same as my list box background color)
In help would be appreciated.
Thanks..
Steve C.
At 10 MAR 1999 11:41AM Oystein Reigem wrote:
Steve,
I tried setting a single tab with existingprop=Set_Property(Window_Name:".LIST_TYPE", "TABSTOPS",30) This does not work. The original tab spacing remains… etc….
Works here. But only when "Multiple column" is unchecked!!!! A bug, obviously. Either I have been lucky before (forgot to check "Multiple column"), or the bug must have been introduced some time between 3.3 and 3.61. I think perhaps the last.
- Oystein -
At 10 MAR 1999 11:59AM Steve C. wrote:
Oystein,
Thanks…..
I unchecked the "multiple column" box and it works.
So much for trying to do what's intuitive (and documented).
Hopefully when RevSoft "fixes" this bug they'll let us
know in BIG LETTERS to check those "multiple column" boxes that
we left unchecked.
Thanks again.
Hopefully I can help you one of these days.
Steve C.
At 15 MAR 1999 10:20AM Gene Gleyzer wrote:
Steve and Oystein,
I would not call this a bug, but rather not quite clearly documented functionality, which has not changed since OpenInsight 3.12. The multi-column list box is the one that takes an @FM delimited array of items and places them in a list that has a fixed height, any number of columns and an optional horizontal scrollbar. In this case the TABSTOPS property is used to specify the width of the columns and the processing of TAB (\09\) characters is done by the Windows default (which I belive is set to 4 dialog units). For the single-column listbox the TABSTOPS property represents an array of tab-stop positions in a list box. In the case when the length of items in the list varies in the big degree you may notice that adjusting columns in a listbox using TAB character doesn't work that well because of the algorithm that the Windows is using – a text that follows the TAB is placed to the next "TABSTOP" position that is GREATER than the current text position. To fix this behavior the listbox has a feature called "Ove
rlapping tabs" that truncates a part of the text that exceeds the specified TABSTOP value if needed.
Gene
At 16 MAR 1999 06:37AM Oystein Reigem wrote:
Gene,
Thanks.
- Oystein -