請問edit元件可以向DBEdit一樣有editmask的屬性ㄇ?? |
答題得分者是:yenhorng
|
yabula
初階會員 發表:47 回覆:117 積分:42 註冊:2002-10-02 發送簡訊給我 |
|
hagar
版主 發表:143 回覆:4056 積分:4445 註冊:2002-04-14 發送簡訊給我 |
參考 Borland 的這篇解答(重點在紅色的部分):
Mask edit for TDBEdit controls - by Borland Developer Support Staff
Question and Answer Database
FAQ1861C.txt Mask edit for TDBEdit controls
Category :Database Issues
Platform :All
Product :C++Builder 1.x
Question:
How to I create a mask for a TDBEdit control?
Answer:
Edit masks are applied to the fields in the table (TField
components) and not in the data controls themselves.
Double-click on the TTable icon and add all the fields you
want from your table. When a field is highlighted, its
properties show up in the object inspector, including an
edit mask. Linking the TDBEdit and any of the other data
controls to this dataset will follow the edit mask rules
for the fields set this way.
7/2/98 10:32:32 AM --
Everything I say is a lie.
|
yenhorng
中階會員 發表:12 回覆:82 積分:94 註冊:2002-06-18 發送簡訊給我 |
|
ko
資深會員 發表:28 回覆:785 積分:444 註冊:2002-08-14 發送簡訊給我 |
|
yabula
初階會員 發表:47 回覆:117 積分:42 註冊:2002-10-02 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |