I am using CB10.3.3 and the newest UI Pack. Is there a CheckBox and RadioButton that can be linked to a Styler?
I have the HTMLCheckBox and HTMLRadioButton on a AdvPanel and I find the button caption color does not change when I change the Style. I am using the AdvPanelStyler and AdvFormStyler and AdvAppStyler.
I uses
procedure TAppearance.CareHTMLCheckBox(const AComp: THTMLCheckBox);
begin
AComp.ParentDoubleBuffered := True;
AComp.OnKeyPress := oGlobalVar.ActualForm.HandleKeyPress;
AComp.Transparent := True;
AComp.ButtonType := ButtonType;
end;
procedure TAppearance.CareAdvOfficeCheckBox(const AComp: TAdvOfficeCheckBox);
begin
AComp.ParentDoubleBuffered := True;
AComp.OnKeyPress := oGlobalVar.ActualForm.HandleKeyPress;
AComp.ParentColor := True;
AComp.Themed := FAdvOfficeCheckBoxThemed;
end;
procedure TAppearance.CareAdvOfficeRadioButton(const AComp: TAdvOfficeRadioButton);
begin
AComp.ParentDoubleBuffered := True;
AComp.OnKeyPress := oGlobalVar.ActualForm.HandleKeyPress;
AComp.ParentColor := True;
AComp.Themed := FAdvOfficeRadioButtonThemed;
end;