PlanetSquires Forums

Support Forums => WinFBE - Code Editor and Visual Designer => Topic started by: James Klutho on February 18, 2020, 05:07:17 PM

Title: WinFBE Custom Controls
Post by: James Klutho on February 18, 2020, 05:07:17 PM
Paul

What is the recommended way to add custom controls to the designer code.  Where would you suggest I put the code as to not trip on the designer workflow?

Thanks
Jim
Title: Re: WinFBE Custom Controls
Post by: Paul Squires on February 18, 2020, 06:06:06 PM
Hi Jim,

Probably in the Load event of the Form would be a good place. The hWnd handle of the Form is valid at that point.

If you have to initialize the control then anywhere at the top of your main code prior to calling the Application.Run(frmMain) would be a good place.
Title: Re: WinFBE Custom Controls
Post by: James Klutho on February 19, 2020, 09:51:26 AM
Thanks.  I will give it a shot.