We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

using SetAsMDIChild

I am trying to use this API to tab a control right at creation time. If I call the API after a call to DockControl, the window flashes (it docks the control, and then tabs it - please see example). Is there a way to do this without the flash? Thanks, Bruno

2 Replies

AD Administrator Syncfusion Team October 6, 2003 04:41 PM UTC

Hi Bruno, Thanks for the sample. I have tested for this issue and could observe the flash here. A simple workaround for this would be to use zero Size value in the DockControl method, and then set the desired size for the control by handling the DockStateChanged event and using the SetControlSize method. I have modified your sample accordingly and attached it here. Please let me know if this helps. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion Inc.


BV Bruno Vais October 6, 2003 06:05 PM UTC

Yeap, it works. Why didn't I think of this before? Thanks.

Loader.
Live Chat Icon For mobile
Up arrow icon