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.


Best,

Jack

_______________________________________________
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>

Reply via email to