Dear Emma,
do you have a code snipped how to use this beginupdate, endupdate functions
Thx for your quick response(s)
Hi
Sorry for the late reply:
In the form code file I just added the following to override the
Resize functionality
protected override void OnResizeBegin(EventArgs e)
{
base.OnResizeBegin(e);
FindXXXTreeView().BeginUpdate();
FindXXXXTreeView().BeginUpdate();
}
You then have a normal public function called BeginUpdate() in user
control that has the component in need of flicker management. This
just calls the appropriate call on the control.
public void BeginUpdate()
{
treeViewXXX.BeginUpdate();
}
I'm not sure if you can use this technique for your tab control, it
depends if you can find a suitable method to put it in and then do the
same when it needs to end the update. My problem was with resizing so
I had ResizeBegin and ResizeEnd available to me to use.
Hope that helps,
Emma