语法: 
------- 

myTcolor:=rgbtocolor(redvalue,greenvalue,bluevalue); 


例子: 
-------- 

form1.color:=rgbtocolor(255,0,0); 


函数: 
--------- 

function RGBToColor(R,G,B:Byte): TColor; 
begin 
  Result:=B Shl 16 Or 
          G Shl 8  Or 
          R; 
end; 

相关文章:

  • 2022-12-23
  • 2022-02-18
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-11-07
  • 2022-12-23
猜你喜欢
  • 2021-05-27
  • 2022-02-19
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2021-05-17
相关资源
相似解决方案