WinFBE Custom Controls

Started by James Klutho, February 18, 2020, 05:37:17 PM

Previous topic - Next topic

James Klutho

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

Paul Squires

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.
Paul Squires
PlanetSquires Software

James Klutho

Thanks.  I will give it a shot.