G
Guest
Hi all,
I am using a treeview to display data and want to display a customised popup
menu when the user right clicks.
I cannot get the MouseUp event of the treeview to work. It shows in the
Object Browser that it does indeed have such an event. However, when I
compile, I'm informed that "the procedure declaration does not match
description of event or procedure having the same name".
I'm using the following construct:
Private Sub trvData_MouseUp(Button As Integer, Shift As Integer, X As
Single, Y As Single)
MsgBox "okay"
End Sub
I guess the problem is that I am not using OLE_XPOS_PIXELS, but am using a
Single instead. I don't know in which library to find said object though.
Does anyone know or have a work around please?
Many thanks
A very fed up Dave!
I am using a treeview to display data and want to display a customised popup
menu when the user right clicks.
I cannot get the MouseUp event of the treeview to work. It shows in the
Object Browser that it does indeed have such an event. However, when I
compile, I'm informed that "the procedure declaration does not match
description of event or procedure having the same name".
I'm using the following construct:
Private Sub trvData_MouseUp(Button As Integer, Shift As Integer, X As
Single, Y As Single)
MsgBox "okay"
End Sub
I guess the problem is that I am not using OLE_XPOS_PIXELS, but am using a
Single instead. I don't know in which library to find said object though.
Does anyone know or have a work around please?
Many thanks
A very fed up Dave!