Jump to content

State of a checkbox in a treeview ?


cire
 Share

Recommended Posts

Hello everybody

I'm a new user of AutoIt and in this example, how can i know the state of a define checkbox that has been selected ?

The sample don't explain how to test the status of a checkbox in a treeview

$treeTwo = GuiCtrlCreateTreeView(100, 200, 120, 120, $TVS_CHECKBOXES)

GuiCtrlCreateTreeViewItem("TreeView", $treeTwo)

GuiCtrlCreateTreeViewItem("With", $treeTwo)

GuiCtrlCreateTreeViewItem("tvs_checkboxes", $treeTwo)

GuiCtrlSetState(-1, $GUI_CHECKED)

GuiCtrlCreateTreeViewItem("Style", $treeTwo)

thanks for your help

Edited by cire
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...