Hello,
I am hoping that this isn't a duplicate request or I have an inkling it could be, please accept my apologies in advance.
Please can you make it possible for us to disable/stop this Listview Context Menu from appearing.
By no means a high priority enhancement, but nice all the same.
ListView ContextMenu
ListView ContextMenu
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: ListView ContextMenu
I'll try to add this.
Re: ListView ContextMenu
What's wrong about the menu? The context menu is intentional and does always exist for the list's title object. For example the menu is the only way to make invisible column visible again, i.e. if you resized a column too small to become hidden.
Re: ListView ContextMenu
I am using hidden columns to store data inside the MUI structure that I don't necessary need the user to be able to see.
Fore instance, I may have a column with a filename in it, a second column with a category, and a third hidden column with an absolute URL to an online resource. The end user is not interested in the URL.
I am not asking for it to be removed altogether, but for the developer to be able to choose whether to enable it or not either at startup or during runtime.
Side comment: Its actually useful to have for debugging.
Fore instance, I may have a column with a filename in it, a second column with a category, and a third hidden column with an absolute URL to an online resource. The end user is not interested in the URL.
I am not asking for it to be removed altogether, but for the developer to be able to choose whether to enable it or not either at startup or during runtime.
Side comment: Its actually useful to have for debugging.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
Re: ListView ContextMenu
MUI cannot know which data is considered private and which is public. Hence it shows everything that it is requested to show. And hidden columns are not meant to store private stuff, but only to hide information which currently not required to be visible, but which in general is public.I am using hidden columns to store data inside the MUI structure that I don't necessary need the user to be able to see.
As I already said, hiding columns by resizing them to zero width is nothing special. But without the menu you won't be able to let them reappear. Users will hate you if you disable the menu and they have no way to get the (accidentally) hidden columns back again.
If the user is not interested in the URL then there should be no column for it in the list. If you are interested in the URL then you need a different approach to access it. Either by printing it to the shell or by setting a different MUIA_List_Format string which then includes the additional column containing the URL.Fore instance, I may have a column with a filename in it, a second column with a category, and a third hidden column with an absolute URL to an online resource. The end user is not interested in the URL.
Re: ListView ContextMenu
The most ideal solution will be to implment Set()/Get() .userdata on ListView rows during runtime similar to the ListTree problem encountered here which Andreas said he would look further into implementing.
http://forums.hollywood-mal.com/viewtop ... f=21&t=961
That is the only reason why I have opted to use hidden column for 'private' data; lack of other options.
In response to your reply specifically, I can see now why the ContextMenu should not be hideable and retract that enhancement.
http://forums.hollywood-mal.com/viewtop ... f=21&t=961
That is the only reason why I have opted to use hidden column for 'private' data; lack of other options.
In response to your reply specifically, I can see now why the ContextMenu should not be hideable and retract that enhancement.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com