Form Designer • Component palette functions

Form Designer suite contains FDCmpPal unit with useful functions for creating the component palette based on the standard TPageControl component. You can create each button separately with CreatePaletteButton function, but the most convenient way is creating the palette page by one call of the CreatePalettePage function. The created component palette works and looks like the standard component palette from the IDE.

The function from the FDCmpPal unit register all used classes automatically, so you don't need to register them yourself by RegisterClasses when they are included into the component palette.