Click here to Skip to main content
15,918,193 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Tree List Double Click Event Pin
Eddy Vluggen18-Feb-12 2:41
professionalEddy Vluggen18-Feb-12 2:41 
AnswerRe: Tree List Double Click Event (new) Pin
ProEnggSoft18-Feb-12 16:30
ProEnggSoft18-Feb-12 16:30 
QuestionRe: Tree List Double Click Event (new) Pin
Midnight Ahri19-Feb-12 20:09
Midnight Ahri19-Feb-12 20:09 
AnswerRe: Tree List Double Click Event (new) Pin
ProEnggSoft19-Feb-12 20:38
ProEnggSoft19-Feb-12 20:38 
The double click event of Treelist control does not have the hitinfo. Hence, the node cannot be detected.
Further the Double click has the default behaviour of collapsing and expanding the nodes. Hence, it is better to use the right click. In which case you can use the following code to handle the right click
VB
Private Sub treeList1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles treeList1.MouseUp
    If e.Button <> Windows.Forms.MouseButtons.Right Then
        Exit Sub
    End If
    ShowHitInfo(treeList1.CalcHitInfo(New Point(e.X, e.Y)))
End Sub


I think this may meet your requirement.
AnswerRe: Tree List Double Click Event (new) Pin
Midnight Ahri19-Feb-12 21:35
Midnight Ahri19-Feb-12 21:35 
AnswerRe: Tree List Double Click Event (new) Pin
ProEnggSoft19-Feb-12 21:55
ProEnggSoft19-Feb-12 21:55 
AnswerRe: Tree List Double Click Event (new) Pin
Midnight Ahri19-Feb-12 22:03
Midnight Ahri19-Feb-12 22:03 
GeneralRe: Tree List Double Click Event (new) Pin
ProEnggSoft19-Feb-12 22:09
ProEnggSoft19-Feb-12 22:09 
Questionhow to make slide puzzle game with VB 6.0 Pin
goteku17-Feb-12 2:38
goteku17-Feb-12 2:38 
AnswerRe: how to make slide puzzle game with VB 6.0 Pin
Simon_Whale17-Feb-12 3:14
Simon_Whale17-Feb-12 3:14 
AnswerRe: how to make slide puzzle game with VB 6.0 Pin
Dave Kreskowiak17-Feb-12 3:57
mveDave Kreskowiak17-Feb-12 3:57 
GeneralI used to love VB6 Pin
MacRaider417-Feb-12 2:24
MacRaider417-Feb-12 2:24 
AnswerRe: I used to love VB6 Pin
Midnight Ahri17-Feb-12 16:28
Midnight Ahri17-Feb-12 16:28 
QuestionIncluding domain admin/password in script - how to avoid? Pin
charlieg16-Feb-12 8:17
charlieg16-Feb-12 8:17 
AnswerRe: Including domain admin/password in script - how to avoid? Pin
Dave Kreskowiak16-Feb-12 8:43
mveDave Kreskowiak16-Feb-12 8:43 
GeneralRe: Including domain admin/password in script - how to avoid? Pin
charlieg16-Feb-12 9:01
charlieg16-Feb-12 9:01 
GeneralRe: Including domain admin/password in script - how to avoid? Pin
Dave Kreskowiak16-Feb-12 11:17
mveDave Kreskowiak16-Feb-12 11:17 
GeneralRe: Including domain admin/password in script - how to avoid? Pin
charlieg16-Feb-12 11:22
charlieg16-Feb-12 11:22 
AnswerRe: Including domain admin/password in script - how to avoid? Pin
phil.o22-Feb-12 9:59
professionalphil.o22-Feb-12 9:59 
QuestionSQL Error Pin
Pasan14816-Feb-12 5:38
Pasan14816-Feb-12 5:38 
AnswerRe: SQL Error Pin
Luc Pattyn16-Feb-12 5:49
sitebuilderLuc Pattyn16-Feb-12 5:49 
GeneralRe: SQL Error Pin
Pasan14816-Feb-12 5:56
Pasan14816-Feb-12 5:56 
AnswerRe: SQL Error Pin
David Mujica16-Feb-12 5:51
David Mujica16-Feb-12 5:51 
QuestionHow to create result Classification Pin
Member 865157216-Feb-12 0:44
Member 865157216-Feb-12 0:44 
AnswerRe: How to create result Classification Pin
Wayne Gaylard16-Feb-12 0:55
professionalWayne Gaylard16-Feb-12 0:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.