Delphi: Create two custom controls (checkbox and radiobutton)
Budget: $30 – $250 USD
Implement in Delphi 11 (or compatible), two custom visual controls:
TPTZCheckBox is descendant of TCheckBox that has two additional properties: AutosizeW and AutosizeH. If AutosizeW is enabled, the control's width is automatically set to fully fit the control's caption text using the current height of the control.
If AutosizeH is enabled, the control's height is automatically set to fully fit the control's caption text using the current width of the control.
TPTZRadioButton is a descendant of TRadioButton that also has the AutosizeW and AutosizeH properties similary as the TPTZCheckBox.
TPTZCheckBox is descendant of TCheckBox that has two additional properties: AutosizeW and AutosizeH. If AutosizeW is enabled, the control's width is automatically set to fully fit the control's caption text using the current height of the control.
If AutosizeH is enabled, the control's height is automatically set to fully fit the control's caption text using the current width of the control.
TPTZRadioButton is a descendant of TRadioButton that also has the AutosizeW and AutosizeH properties similary as the TPTZCheckBox.