Larry01 Posted September 18, 2010 Share Posted September 18, 2010 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. Link to comment Share on other sites More sharing options...
wakillon Posted September 18, 2010 Share Posted September 18, 2010 (edited) Welcome to the forum why don't you post your script ? Edited September 18, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
seandisanti Posted September 18, 2010 Share Posted September 18, 2010 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now