[fxruby-users] FXTable: how to prevent a particular column from being resized?
Jeroen van der Zijp
jeroen at fox-toolkit.org
Tue Oct 9 08:34:23 EDT 2007
On Tuesday 09 October 2007 02:13, Philippe Lang wrote:
> Jeroen van der Zijp wrote:
>
> > On Monday 08 October 2007 06:51, Philippe Lang wrote:
> >> Hi again,
> >>
> >> I'm using FXTables with a few hidden columns, which have 0 width.
> >>
> >> Is there a way to prevent the user from resizing these columns, which
> >> only have an internal meaning?
> >
> > You can disable resizing of rows and/or columns. However, its an
> > all-or-nothing thing; you can't turn resizing off for a single
> > row/column only.
> >
> > I can suggest a sneaky trick, maybe:- as the cursor moves, enable or
> > disable the resizability based on the column its hovering over. I
> > admit its not super elegant but it might work...
>
> Hi again,
>
> I think I found a bug while playing with zero-width columns: as soon as
> the extreme right column is shrinked to zero width, it cannot be
> stretched anymore: when getting to the place where the stretch should
> start, the mouse icon is correct, but after the clic, nothing happens.
OK, yes that indeed sounds like a bug; probably, its because there
is no header-item there there's nothing to click on.
I'll try and fix that, for the next FOX patch level.
Regards,
Jeroen
--
+----------------------------------------------------------------------------+
| Copyright (C) 07:30 10/ 9/2007 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
More information about the fxruby-users
mailing list