如何设置popupmenu的背景颜色
答案:4 悬赏:70 手机版
解决时间 2021-02-11 20:36
- 提问者网友:無理詩人
- 2021-02-11 13:42
如何设置popupmenu的背景颜色
最佳答案
- 五星知识达人网友:雪起风沙痕
- 2021-02-11 14:26
procedure tform1.n1drawitem(sender: tobject; acanvas: tcanvas; arect: trect; selected: boolean);begin with acanvas do begin brush.color:= cllime; pen.color:= clred; floodfill(1,1,clblue,fsborder); textout(0,0,'hello!'); end;end;
全部回答
- 1楼网友:纵马山川剑自提
- 2021-02-11 16:22
android:background="@android:color/white"
如:
- 2楼网友:一袍清酒付
- 2021-02-11 15:32
procedure TForm1.N1DrawItem(Sender: TObject; ACanvas: TCanvas;
ARect: TRect; Selected: Boolean);
begin
with ACanvas do
begin
brush.Color:= clLime;
Pen.Color:= clRed;
FloodFill(1,1,clBLUE,fsBorder);
TextOut(0,0,'Hello!');
end;
end;
祝你愉快,满意请采纳哦
- 3楼网友:梦中风几里
- 2021-02-11 15:03
procedure TForm1.N1DrawItem(Sender: TObject; ACanvas: TCanvas;
ARect: TRect; Selected: Boolean);
begin
with ACanvas do
begin
brush.Color:= clLime;
Pen.Color:= clRed;
FloodFill(1,1,clBLUE,fsBorder);
TextOut(0,0,'Hello,');
end;
。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯