On Feb 16, 2006, at 9:55 AM, Dan Berghult wrote:
Hi,
Is it possible to move columns in a listbox like you can do in
Finder (by dragging the header of a Finder window).
There is no capability built-in to the listbox to move columns by
dragging, but, yes, it is possible to drag columns with some
programming. The basic approach involves drawing the text to a
column-sized canvas and dragging the canvas to provide the visual
effect, then swapping columns in code when the mouse releases the
drag. The latter, ie., swapping columns in code, is very simple. I
think examples of this in Rb may be available but I don't have a
link. You might do a Google search.
Thanks a lot!
I'll see if I find an example.
Dan
--
-------------------------------------------------------------------------
Let's get connected!
Download from:
http://www.reconnector.com
-------------------------------------------------------------------------
Dan Berghult
Infomaker
Sweden
[EMAIL PROTECTED]
Phone: +46 60 66 89 00
Mobile: +46 70-698 68 68
Fax: What is that?
Web: http://www.infomaker.se
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>