全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:844
推到 Plurk!
推到 Facebook!

顏色問題

尚未結案
BorlandUser
中階會員


發表:148
回覆:217
積分:73
註冊:2004-02-19

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-02-23 14:24:19 IP:203.185.xxx.xxx 未訂閱
請問要如何設定自己想要的顏色係的Tedit, Tform等等呢? 因為佢本身的color吾係我想要的color 吾該
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-02-23 14:58:49 IP:147.8.xxx.xxx 未訂閱
Set their corresponding Color property.
BorlandUser
中階會員


發表:148
回覆:217
積分:73
註冊:2004-02-19

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-02-23 15:14:10 IP:203.185.xxx.xxx 未訂閱
Does you mean the color property of TEdit? It can do it, but if I want to set the color that is not existed in that property, so how to do it? Because the property has default of series color ... In HTML, it can say color ='#FFCC00' so, how to do it in Delphi Thx
Fishman
尊榮會員


發表:120
回覆:1949
積分:2163
註冊:2006-10-28

發送簡訊給我
#4 引用回覆 回覆 發表時間:2004-02-23 15:36:38 IP:210.65.xxx.xxx 未訂閱
Hi:    
procedure TForm1.Button36Click(Sender: TObject);
begin
    Form1.Color := TColor($FFCC00)
end;
---------------------------------- 小弟才疏學淺,若有謬誤尚請不吝指教 ----------------------------------
------
Fishman
BorlandUser
中階會員


發表:148
回覆:217
積分:73
註冊:2004-02-19

發送簡訊給我
#5 引用回覆 回覆 發表時間:2004-02-23 15:54:36 IP:203.185.xxx.xxx 未訂閱
Thank You ^_^
系統時間:2024-06-29 7:56:42
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!