Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO: Open files/browse folders with a single click.

 
Subscribe to the RSS feed for this forum  Forum Index -> FileView.Net/WPF
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Tue Jul 14, 2009 9:50 am    Post subject: HOWTO: Open files/browse folders with a single click.

By default, FileView browses folders or opens files when they are double-clicked. To do this with a single-click, set the HotTracking property to True and call the ListItem.Open method in the ItemClick event as follows:
[C#]
Code:
private void fileView1_ItemClick(object sender, LogicNP.FileViewControl.FileViewEventArgs e)
{
  e.Item.Open();
}

[VB.Net]
Code:
Private Sub fileView1_ItemClick(ByVal sender As System.Object, ByVal e As LogicNP.FileViewControl.FileViewEventArgs) Handles fileView1.ItemClick
    e.Item.Open()
End Sub
Back to top
Display posts from previous:   
Forum Index -> FileView.Net/WPF All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group