D del520 Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-21 #1 如题!同一个LABEL,我只需要将某个字改变背景颜色,怎么办?
T tan_jian Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-21 #4 for i:=0 to label1.width-1 do for j:=0 to lable1.height-1 do if lable1.canvas.pixels[i,j]<>label1.颜色 lable1.canvas.pixels[i,j]:=clblack; 呵呵,最笨的方法!
for i:=0 to label1.width-1 do for j:=0 to lable1.height-1 do if lable1.canvas.pixels[i,j]<>label1.颜色 lable1.canvas.pixels[i,j]:=clblack; 呵呵,最笨的方法!
N Nizvoo Unregistered / Unconfirmed GUEST, unregistred user! 2002-07-21 #7 var I: Integer; J: Integer; begin for I := 0 to Label1.Width - 1 do for J := 0 to Label1.Height - 1 do if Label1.canvas.Pixels[I, J] <> Label1.Color then Label1.canvas.Pixels[I, J] := clBlue; end; 实现不了呀???
var I: Integer; J: Integer; begin for I := 0 to Label1.Width - 1 do for J := 0 to Label1.Height - 1 do if Label1.canvas.Pixels[I, J] <> Label1.Color then Label1.canvas.Pixels[I, J] := clBlue; end; 实现不了呀???