N
nomenklatura
Hi,
i call
Call treeviewXi_DoubleClick("Try", e)
from another procedur..
and in treeviewX_DoubleClick i use this string and do what i want
example : if sender="try" then doit
but in this case, when user do doubleclick, in treeview doubleclick event,
sender object is turn treeview object and give error due to "if sender="try"
then doit" row
i wantto this:
Private Sub treeviewwX_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles trwErisimAgaci.DoubleClick
dim x as string
if istypefunction(sender)=string then
x=sender
else
x=treeviewX.SelectedNode.Tag
endif
How?
Thanks in advance,
i call
Call treeviewXi_DoubleClick("Try", e)
from another procedur..
and in treeviewX_DoubleClick i use this string and do what i want
example : if sender="try" then doit
but in this case, when user do doubleclick, in treeview doubleclick event,
sender object is turn treeview object and give error due to "if sender="try"
then doit" row
i wantto this:
Private Sub treeviewwX_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles trwErisimAgaci.DoubleClick
dim x as string
if istypefunction(sender)=string then
x=sender
else
x=treeviewX.SelectedNode.Tag
endif
How?
Thanks in advance,
