CreateSizingButtonGroup

function CreateSizingButtonGroup(targetLayer: TLayer32; sizingStyle: TSizingStyle; buttonShape: TButtonShape; buttonSize: integer; buttonColor: TColor32; buttonLayerClass: TButtonDesignerLayer32Class = nil): TSizingGroupLayer32;


Note: the buttonLayerClass parameter allows the user to define their own button class (eg. with custom drawing).

The Layers101 and Layers201 applications in the Samples folder demonstrate using this function.

See Also

TButtonShape, TLayer32, TSizingGroupLayer32, TButtonDesignerLayer32Class, TSizingStyle