Sign in to follow this  
Followers 0
Stephane.P

listview + checkboxes

4 posts in this topic

Hi,

autoit : release beta 3.1.1.48.

I'm using a listview with the $LVS_EX_CHECKBOXES extended style

I need to add an empty row (or something like a separator) between some items

But if I use :

$mylist = GUICtrlCreateListView("cols 1| cols 2", 10, 154, 580, 300, -1, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_CHECKBOXES, $LVS_EX_GRIDLINES, $LVS_EX_REGIONAL)) 

GUICtrlCreateListViewItem("aaa|bbb", $mylist)
.
.
GUICtrlCreateListViewItem("", $mylist)
.
.

I got an empty line but with a checkbox, and I don't want it

Any solution ?

Thanks

Share this post


Link to post
Share on other sites



Nope, you create an empty item, it's still an item and will have the check box


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Nope, you create an empty item, it's still an item and will have the check box

<{POST_SNAPBACK}>

Too bad !

Do you know if it's possible to disable (gray) the checkbox of the empty line ?

Best,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0