Jump to content
Sign in to follow this  
Larry01

TreeView control

Recommended Posts

Larry01

I have a treeview control, and when I click on one of the items it sends a gtext to a lable. It is supposed to work like the windows help files. Problem is, my code to write to the label control is in the part where it says if $msg=, in that while/wend loop, and so it is always selected and it constantly sends the text to the label replacing the old contents, and thus flickering making it hard to read. Any way to only write to the label one time? I'm rather new to Autuit3. I've only been using it for less than a week, but it is so easy in some ways, and yet somethings asre hard for me to understand.

Share this post


Link to post
Share on other sites
wakillon

Welcome to the forum Posted Image

why don't you post your script ?

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
seandisanti

I have a treeview control, and when I click on one of the items it sends a gtext to a lable. It is supposed to work like the windows help files. Problem is, my code to write to the label control is in the part where it says if $msg=, in that while/wend loop, and so it is always selected and it constantly sends the text to the label replacing the old contents, and thus flickering making it hard to read. Any way to only write to the label one time? I'm rather new to Autuit3. I've only been using it for less than a week, but it is so easy in some ways, and yet somethings asre hard for me to understand.

you could just add a check to only update if it's a different value

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.