Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other hexagora products
 Programs (Programmi)
 Listview with no Item selected possible?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

catweazle
Novice

9 Posts

Posted - 05 Nov 2014 :  02:32:07  Show Profile  Visit catweazle's Homepage  Reply with Quote
I developped an 'Explorer-like' control, using a treeview and a listview. When I click on a treeview node, its childnodes are listed in the listview.
As the controls standard behaviour, the first ListItem is selected. Is it possible, that no ListItem becomes selected?
I already tried: .SelectAll False
This works when I debug the code, but not if I run the code without breakpoint.

Btw. Same behaviour in frmListView of your Sample Project1, if you add .SelectAll false in the Form_Load Event.

s.dav
Site Admin

Italy
3364 Posts

Posted - 05 Nov 2014 :  08:26:37  Show Profile  Visit s.dav's Homepage  Reply with Quote
It should work as the standard ListView control. I removed the auto selection for the first item but I need some tests before releasing it because it can cause many problems

Regards, Davide
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 17 Nov 2014 :  00:28:10  Show Profile  Visit s.dav's Homepage  Reply with Quote
Added a new proprerty: "AutoSelectFirstItem"

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000