Page 1 of 1

Image showing

Posted: 29 Nov 2017, 13:00
by deservengg
From: deservengg


Dear Mr.Tiku

I am happily using your Explorer Style treeView Version 1.5.1, and it is better than the Microsoft designed Treeview control.

What I wanted to ask you is: is it possible to select a folder from the Treeview (axtvw) and see the Picture contents only?
By the way the click event shows nothing in the msgbox ,rather it does not popup for reason unknown to me, maybe I am doing something wrong.
Example:
Your control is on my Left with all Drives shown
I click any specific drive , I get the folders.
Then I choose a folder (This contains Pictures), upto this your Treeview is working
But when I want to know which File I clicked through my VB.net code by clicking on your Treeview Control
Nothing happens the msgbox event does not fire up.look below
Private Sub axTvw_ClickEvent(ByVal sender As Object, ByVal e As System.EventArgs) Handles axTvw.ClickEvent
MsgBox(axTvw.Path & "click")
_Image1_0.Image = axTvw.Path <--- Says "Error2 Value of type 'String' cannot be converted to 'System.Drawing.Image'.

End Sub
Please help what to do,

Thanks & Regards
Deserve
Top

Re: Image showing

Posted: 01 Dec 2017, 00:44
by TiKu
Regarding the Click event, have a look here: https://www.timosoft-software.de/forum/ ... =671#p1898