Image showing

The place for threads about version 1.x of TimoSoft ExplorerTreeView.
Post Reply
deservengg
Cadet
Posts: 2
Joined: 29 Nov 2017, 10:27

Image showing

Post 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
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: Unterföhring
Contact:

Re: Image showing

Post by TiKu »

Regarding the Click event, have a look here: https://www.timosoft-software.de/forum/ ... =671#p1898
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Post Reply