How can you use a case statement depending on the badge caption ? Tried :
procedure TForm2.Button1Click(Sender: TObject);
begin
case AdvBadgeGlowButton1.Caption of
'Test' : showmessage('Test')
end;
'' : showmessage('Empty')
end;
but am getting :
[dcc32 Error] Unit2.pas(29): E2001 Ordinal type required [dcc32 Error]
Unit2.pas(30): E2010 Incompatible types: 'Integer' and 'string'