Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
procedure TForm1.cbDrawItem(Control: TWinControl;
Index: Integer; Rect: TRect; State: TOwnerDrawState);
begin
if Odd(Index) then begin
cb.canvas.brush.color := clAqua;
cb.Canvas.Font.color := clRed;
end;
cb.canvas.TextRect( Rect, rect.left, rect.top, cb.items[index] );
end;