wstevens
Member
Hi all
I have a flickering form on resizing.
I created a form with one button anchored to the "Bottom,Right". I set the appsetting property binding for the form to client size. Thus allowing the last location to be saved in the resource file settings on close
I then set the app setting property location of the button. Thus allowing it to save the last location of the button in the resource file settings on close
Everything works fine except that on resizing in runtime the screen flickers and the button looks like it is being dragged on the form. It looks ugly.
I disabled only the button app setting property and then saved the button settings on save using code This seemed to solve the problem.
However saving the button and reloading its location with code is doing the exact same thing as using the app setting property binding location for the button. I am sure it should work.
I do however think that it might be tracking the button XY while dragging and this might be causing the flicker
Why is this occuring? Is this a bug in VS2005 Pro Edition?
Please try it and see what it does.
Thanks
I have a flickering form on resizing.
I created a form with one button anchored to the "Bottom,Right". I set the appsetting property binding for the form to client size. Thus allowing the last location to be saved in the resource file settings on close
I then set the app setting property location of the button. Thus allowing it to save the last location of the button in the resource file settings on close
Everything works fine except that on resizing in runtime the screen flickers and the button looks like it is being dragged on the form. It looks ugly.
I disabled only the button app setting property and then saved the button settings on save using code This seemed to solve the problem.
However saving the button and reloading its location with code is doing the exact same thing as using the app setting property binding location for the button. I am sure it should work.
I do however think that it might be tracking the button XY while dragging and this might be causing the flicker
Why is this occuring? Is this a bug in VS2005 Pro Edition?
Please try it and see what it does.
Thanks