Sign in to follow this  
Followers 0
cire

State of a checkbox in a treeview ?

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Welkom in forums.. Open help files and look in

GuiCtrlRead()

and if you post please use code tags


-jaenster

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