線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:648
推到 Plurk!
推到 Facebook!

請問如何讓Grid隨畫面最大化

答題得分者是:Fishman
t0288542
中階會員


發表:216
回覆:254
積分:94
註冊:2004-10-06

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-11-17 13:51:49 IP:61.221.xxx.xxx 未訂閱
請問~ 表單資料中有個Grid元件~ 當使用者按點右上方最大化時~ 並不會會限制它的大小~ 可顯示Grid所有欄位資料~ 謝謝~ ^^
Fishman
尊榮會員


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

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-11-17 14:05:28 IP:210.65.xxx.xxx 未訂閱
Hi t0288542,    將該 Grid 的 Align 屬性設為 alClient 試試!    OR 設定其 Anchors 屬性 akTop : The control position is fixed with respect to the top edge of its parent. akLeft : The control position is fixed with respect to the left edge of its parent. akRight : The control position is fixed with respect to the right edge of its parent. akBottom : The control position is fixed with respect to the bottom edge of its parent.     ---------------------------------- 小弟才疏學淺,若有謬誤尚請不吝指教 ----------------------------------
------
Fishman
cashxin2002
版主


發表:231
回覆:2555
積分:1937
註冊:2003-03-28

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-11-17 14:06:09 IP:202.62.xxx.xxx 未訂閱
您好﹗    可視元件有個Anchors屬性﹐將其內akLeft, akRight, akTop, akBottom皆設 為True﹐可使用此可視元件的大小隨Form的大小改變而改變﹒    ========================= 我是您的朋友﹐有您真好﹗ =========================
------
忻晟
系統時間:2024-07-01 9:57:45
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!