Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4695
Not good when forms init
posted

Dear all,

I have the ultragroupbox on the panel. On the ultragroupbox, there are some user controls of textbox with dynamic positioning. When form init, it show below screen. after 2 seconds, it becomes normal.

Actually is there any method to do with this, e.g. on the ultragroupbox??

  • 20872
    Suggested Answer
    Offline posted

    Hello rchiu5hk,

    I have been looking into the behavior that you are describing and it seems to me the your user controls needs some time to be painted, so that why you are seeing just the borders and maybe the back color of the UltraPanel.

    One thing that you could try is setting the BackColor to Transparent in order to verify if this will have any effect on your application.

    Other thing that you could try is using BeginUpdate() and EndUpdate() methods of the UltraGroupBox, and populating your UserControl between both methods in order to give some time to the controls to be rendered correctly on your form.

    If you have any other questions please feel free to let us know.