Results 1 to 10 of 10

Thread: Check and Uncheck treeview when ask for user

Threaded View

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question Check and Uncheck treeview when ask for user

    Hi

    I have a treeview with checkbox , Ordered me when the user click in Checkbox of the treeview I must to ask if the user want really to check , if Answer equal yes keep checked , but if the user responds NO , I must uncheck

    How can I to it ?

    I tried something like

    Code:
    Private Sub tvLista_NodeCheck(ByVal node As MSComctlLib.node)
        
        Dim mIndAtiva As String
        Dim strSQL As String
        Dim Ds As Object
        Dim mnode As node
        Dim msgNode As String
            
        On Error GoTo ErrorHandler
        
       '----ask to user
       if anwwer is NO  
               node.CHECKED = False
    But no worked

    Tia
    Last edited by mutley; Feb 1st, 2018 at 08:34 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width