ListView & CheckBoxes 
Author Message
 ListView & CheckBoxes



Quote:

> What's the best way to prevent the user from modifying the (un)checked
> stated of a listview item without disabling the entire listview?

FYI: the following works fine, but double clicking the item changes the
checked state, why?

    Private Sub lvwAct_ItemCheck(ByVal sender As Object, ByVal e As
System.Windows.Forms.ItemCheckEventArgs) Handles lvwAct.ItemCheck
        e.NewValue = e.CurrentValue
    End Sub

Thanks again,

--
SLE



Sun, 10 Apr 2005 16:54:49 GMT  
 ListView & CheckBoxes
Hi there,

I'm using a ListView control with CheckBoxes = True. In my situation, those
checkboxes are used to indicate whether the item has been "finished" and
should not be modified within the listview directly by the user.

What's the best way to prevent the user from modifying the (un)checked
stated of a listview item without disabling the entire listview?

Thanks,

--
SLE



Sun, 10 Apr 2005 16:49:59 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ListView & Checkboxes

2. Checkboxes in the Listview-control

3. Checkbox in ListView

4. Checkboxes disappearing in listview control on Access form

5. Three state checkbox in listview

6. Checkbox in a listview

7. Listview checkboxes

8. listview with checkboxes!Urgent

9. Assignment of records via the MS ListView (using checkboxes)

10. Locking a ListView's checkboxes

11. Change Checkbox Image in Listview Control

12. VB6:TripleState Checkboxes in TreeView and ListView controls?

 

 
Powered by phpBB® Forum Software