x2 Column Positions
Moderators: fgagnon, nikos, Site Mods
-
Scot_Free
- New Member
- Posts: 7
- Joined: 2003 Oct 23, 11:06
x2 Column Positions
Using x2-47 on WinXP. If I open Control Panel, reposition the column width (so that everything is readable), check "Save setting now" under Actions and then leave Control Panel, the columns return to original position.
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
column positions are saved only for filesystem and zipfolders
there are so many types of virtual folders like "control panel" and what have you that would have clogged up your registry, had they all been saved
a slight consolation is that you can double-click on a column divider to autosize any column
there are so many types of virtual folders like "control panel" and what have you that would have clogged up your registry, had they all been saved
a slight consolation is that you can double-click on a column divider to autosize any column
-
Scot_Free
- New Member
- Posts: 7
- Joined: 2003 Oct 23, 11:06
Column Positions
Well, could you code the program so that the column widths are wide enough to read?
Sure don't want to put anything in that registry!!
Sure don't want to put anything in that registry!!
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
nikos,
I agree with Scot_Free, in that I think that the default column widths for 'name' & 'comments' sb wider than currently (perhaps 2x for name & 2x-3x for comments in virt.folders 'my computer' and 'control panel').
Default widths in other virt.folders (e.g.: 'recycle bin', 'my network places') are okay for the most part, except 'name' & 'comments' could be wider there too -- they are already 1.5x of width in 'my computer' & 'control panel'.
I agree with Scot_Free, in that I think that the default column widths for 'name' & 'comments' sb wider than currently (perhaps 2x for name & 2x-3x for comments in virt.folders 'my computer' and 'control panel').
Default widths in other virt.folders (e.g.: 'recycle bin', 'my network places') are okay for the most part, except 'name' & 'comments' could be wider there too -- they are already 1.5x of width in 'my computer' & 'control panel'.
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
everything is possible
one day you add a statement "if folder is control panel, override the column sizes"
then m$ in the next windows $$ correct the problem, so your program has to be modified like "if folder is control panel, override the column sizes, but check the windows version first because for new windows you don't have to do that anymore". Repeat that for all folders that require exceptional handling... and before you know it you are kicked out of the shaolin tower
one day you add a statement "if folder is control panel, override the column sizes"
then m$ in the next windows $$ correct the problem, so your program has to be modified like "if folder is control panel, override the column sizes, but check the windows version first because for new windows you don't have to do that anymore". Repeat that for all folders that require exceptional handling... and before you know it you are kicked out of the shaolin tower
-
Jaykul
- Member

- Posts: 31
- Joined: 2003 Jul 02, 19:09
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
And another "what about something like ..." might be:
if column_type = Name
set col_width = max(get_column_width, good_min_name_width)
end
if column_type = Comments
set col_width = max(get_column_width, good_min_comments_width)
end
(or whatever the correct syntax is)
This would get around needing to check whether Windows version ever gets it right; although the query & explicit set_width would be often not necessary to widen column width. (Don't know how if this test would be a noticeable resource sink.)
if column_type = Name
set col_width = max(get_column_width, good_min_name_width)
end
if column_type = Comments
set col_width = max(get_column_width, good_min_comments_width)
end
(or whatever the correct syntax is)
This would get around needing to check whether Windows version ever gets it right; although the query & explicit set_width would be often not necessary to widen column width. (Don't know how if this test would be a noticeable resource sink.)
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
fgagnon
- Site Admin

- Posts: 3737
- Joined: 2003 Sep 08, 19:56
- Location: Springfield
-
nikos
- Site Admin

- Posts: 16341
- Joined: 2002 Feb 07, 15:57
- Location: UK
-
Jaykul
- Member

- Posts: 31
- Joined: 2003 Jul 02, 19:09
I for one am willing to take that chance.nikos wrote:could do
however, a few freakish long names here and there and you'd be chasing the right edge of the window... on the monitor next desk on the right!
--
::Jaykul
::Jaykul
-
tallrobert
- New Member
- Posts: 2
- Joined: 2003 Dec 11, 13:37
- Location: Washington, DC
x2 Column
Hi,
I too, would like to see a way to resize the columns. One thing the Windows Explorer has, which is WONDERFUL, is the the key sequence Ctrl-Plus (Ctrl + grey "+") while situated in the file list area (not the tree view). This automatically resizes all the columns to the contents. There must be a Windows API or something that does this because I've seen this behavior on many grid components (just my guess).
Something like this would be very nice. <hint, hint>
Robert
I too, would like to see a way to resize the columns. One thing the Windows Explorer has, which is WONDERFUL, is the the key sequence Ctrl-Plus (Ctrl + grey "+") while situated in the file list area (not the tree view). This automatically resizes all the columns to the contents. There must be a Windows API or something that does this because I've seen this behavior on many grid components (just my guess).
Something like this would be very nice. <hint, hint>
Robert