Hello,
I am building a GUI using MultiColumnList to display life feed information but I am running into a flicker problem. I am updating the screen once every 3 seconds. Each time I update, the screen blinks no matter how many items have changed (even zero). I know with other tool kit, there is a way to disable screen painting first, then update the values, and re-enable painting after the values have been updated.
In addition, each time I update the values, the list scrolls back to the beginning even though I scrolled the window downward already, For example, I might have a screen that can display 20 items but the length of my data is, say, 30 items. The items of interest might be, say, the last 20 items instead of the top items. So, I might have scrolled the list downwards first and looking at the values that came in for the bottom part of the list. With the next update however, the display jumps back to the top which is very annoying because I have to keep scrolling the displaying by using the vertical scroll bar.
With tree, and text area controls, the behavior desired is standard. But how I do these with MultiColumnList ?
Regards,
I would try calling Freeze, update the control, and then Thaw it. Here’s an old tutorial that demos how this works:
Hope that helps.
Mike
···
On Monday, March 9, 2015 at 3:52:15 PM UTC-5, John Henry wrote:
Hello,
I am building a GUI using MultiColumnList to display life feed information but I am running into a flicker problem. I am updating the screen once every 3 seconds. Each time I update, the screen blinks no matter how many items have changed (even zero). I know with other tool kit, there is a way to disable screen painting first, then update the values, and re-enable painting after the values have been updated.
In addition, each time I update the values, the list scrolls back to the beginning even though I scrolled the window downward already, For example, I might have a screen that can display 20 items but the length of my data is, say, 30 items. The items of interest might be, say, the last 20 items instead of the top items. So, I might have scrolled the list downwards first and looking at the values that came in for the bottom part of the list. With the next update however, the display jumps back to the top which is very annoying because I have to keep scrolling the displaying by using the vertical scroll bar.
With tree, and text area controls, the behavior desired is standard. But how I do these with MultiColumnList ?
Regards,
Works. That’s exactly what I was looking for.
Thanks,
···
On Monday, March 9, 2015 at 2:13:30 PM UTC-7, Mike Driscoll wrote:
On Monday, March 9, 2015 at 3:52:15 PM UTC-5, John Henry wrote:
Hello,
I am building a GUI using MultiColumnList to display life feed information but I am running into a flicker problem. I am updating the screen once every 3 seconds. Each time I update, the screen blinks no matter how many items have changed (even zero). I know with other tool kit, there is a way to disable screen painting first, then update the values, and re-enable painting after the values have been updated.
In addition, each time I update the values, the list scrolls back to the beginning even though I scrolled the window downward already, For example, I might have a screen that can display 20 items but the length of my data is, say, 30 items. The items of interest might be, say, the last 20 items instead of the top items. So, I might have scrolled the list downwards first and looking at the values that came in for the bottom part of the list. With the next update however, the display jumps back to the top which is very annoying because I have to keep scrolling the displaying by using the vertical scroll bar.
With tree, and text area controls, the behavior desired is standard. But how I do these with MultiColumnList ?
Regards,
I would try calling Freeze, update the control, and then Thaw it. Here’s an old tutorial that demos how this works:
Hope that helps.
Mike