PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WinFBE Custom Controls  (Read 152 times)

James Klutho

  • Senior Member
  • ***
  • Posts: 248
  • Petroleum Software Solutions
WinFBE Custom Controls
« 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
Logged

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 9202
  • Windows 10
    • PlanetSquires Software
Re: WinFBE Custom Controls
« Reply #1 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.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

James Klutho

  • Senior Member
  • ***
  • Posts: 248
  • Petroleum Software Solutions
Re: WinFBE Custom Controls
« Reply #2 on: February 19, 2020, 09:51:26 AM »

Thanks.  I will give it a shot.
Logged