jackson at ximian.com
Thu Mar 22 09:11:10 EDT 2007
Those are 2.0 features that haven't been implemented yet. Try using
MouseClick for now and GetNodeAt.
Or if you would like, you could have a go at implementing those events.
It's not very much work, I just don't have time to do it right now
because we are focusing on lowering the bug count.
On Thu, 2007-03-22 at 10:50 +0100, Sponsel, Carsten (ext) wrote:
> I want to use the TreeView in my application, but unfortunately it does
> not call my Mouse event handlers on clicking into the tree view. Is that
> a known error and is there an estimation when it will be fixed, or am i
> using it wrong (under Windows the same code works).
> I'm using mono version 184.108.40.206 and also tried one of the recent daily
> I tried using the following event handlers:
> //$$$BUG$$$ mono 220.127.116.11 does not support NodeMouseClick and
> #if DOTNET
> System.Console.WriteLine ("...... .NET .....");
> m_Tree.NodeMouseClick += new TreeNodeMouseClickEventHandler
> m_Tree.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler
> m_Tree.MouseClick += new MouseEventHandler (m_Tree_MouseClick);
> System.Console.WriteLine ("...... MONO .....");
> this.DoubleClick += new EventHandler (m_Tree_DoubleClick);
> m_Tree.DoubleClick += new EventHandler (m_Tree_DoubleClick);
> this.MouseClick += new MouseEventHandler (m_Tree_MouseClick);
> this.MouseDown += new MouseEventHandler (m_Tree_MouseClick);
> this.MouseUp += new MouseEventHandler (m_Tree_MouseClick);
> this.Click += new EventHandler (m_Tree_Click);
> But none of the event handlers will ever be called.
> Any help?
> Thanks :-)
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
More information about the Mono-winforms-list