Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 7th, 2003, 12:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default TreeView Control

Hello,

I'm new to VB.NET, and I am trying to work with a tree view control. I have a control with mousedown, beforecollapse, beforeexpand, aftercollapse, afterexpand, and doubleclick events. However, when i go to click a node in the tree view and expand it, nothing happens. The only code I have in the before- and after- events is changing the mouse cursor. In the mouse down event, i select the node if the right mouse button was clicked, and i have nothing yet in the double-click event.

Specifically, I click on the plus sign, and the node text and nothing happens. I even double-click on both, nothing happens, but when I double-click the tree view in an empty area, it triggers the event.

Any ideas?

Brian Mains
__________________
Brian
 
Old July 10th, 2003, 05:01 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I don't quite follow the proble,... Yiou change the mouse cursor? COuld it happen so fast that you just don't see it? Use a msgbox or something in the event and then you can make sure the event is triggered.


Hal Levy
NOT a Wiley/Wrox Employee- Got a job for me?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Treeview Control cymerman ASP.NET 1.0 and 1.1 Basics 0 March 26th, 2008 08:57 AM
Treeview Control pavank ASP.NET 2.0 Professional 2 May 25th, 2007 03:42 AM
TreeView Control ugarcia BOOK: Expert One-on-One Access Application Development 0 April 20th, 2007 01:57 PM
how to use treeview control yogesh21 .NET Framework 2.0 0 September 7th, 2005 04:56 AM
Treeview Control Casanova1 VB.NET 2002/2003 Basics 0 January 8th, 2004 04:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.