Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Treenode automatically clickable

0 views
Skip to first unread message

Ken Foskey

unread,
Nov 30, 2009, 6:49:07 AM11/30/09
to

I want to create a forms treenode that simply opens a URL when clicked.

Problem is that I have to do a static method to register the callback on
after select on the treeview object and this makes it less than user
(programmer) friendly. I forgot once already :-(

eg view.beforeexpand += some handler.

Is there a way to capture these things, I did 'override' in VS and could
not find an obvious way to tap into functions like expand or selecting a
node.

Is there a way to track the assignment of a parent so that I can
automatically run the registration code like the above so that my classes
work without requiring special setup.

Ta
Ken

0 new messages