ListViewColumn Click Event

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

ListViewColumn Click Event

Post by djrikki »

Hi,

When I right-click over a column title I get a nice little context-menu called Columns in which it gives option for Showing/Hiding columns.
However, how do I detect a left-click? The gadget does depress, but I cannot seem to get a notification. .ClickColumn only works on the ListView itself not the Column Title.

I'd like to introduce the opportunity to sort the column (its not a DirList), ListViewColumn doesn't mention (in the Royale documenation at least) a .Sort method.

I take it that it simply isn't possible right now?
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ListViewColumn Click Event

Post by airsoftsoftwair »

I think MorphOS' MUI supports such an event. I have to check if it's possible on OS4 too. Then I could implement it in MUI Royale.
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ListViewColumn Click Event

Post by airsoftsoftwair »

Implemented now. Requires a bugfix for the OS4 MUI, though, which hasn't been released yet.
Post Reply