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

同樣的分辨率為什么有不同的果?表單上的BitBtn變形了.

尚未結案
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-03-31 10:34:35 IP:218.17.xxx.xxx 未訂閱
在一台電腦上做的界面(有BitBtn按鈕)。到另一台同分辨率的電腦上變形了(變大了很多)。該如何調或設置.
william
版主


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

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-03-31 11:36:48 IP:147.8.xxx.xxx 未訂閱
Different font settings? Try to set the [b]Scaled[b] property of the forms to Fasle....
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-03-31 15:54:00 IP:218.18.xxx.xxx 未訂閱
引言: Different font settings? Try to set the [b]Scaled[b] property of the forms to Fasle....
多謝﹗我查了我的程序﹐是設置表單的Scaled為False,但我是打包程序﹐直接到另一台電腦上去執行exe文件﹐而不是在編輯,確出現這種情況。不知為什么?
william
版主


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

發送簡訊給我
#4 引用回覆 回覆 發表時間:2003-03-31 16:06:16 IP:147.8.xxx.xxx 未訂閱
引言: 多謝﹗我查了我的程序﹐是設置表單的Scaled為False,但我是打包程序﹐直接到另一台電腦上去執行exe文件﹐而不是在編輯,確出現這種情況。不知為什么?
This is one of the most annoying things to cope with Windows programming.... Try playing the the Scaled property and Font settings on the form (and should use True Type font if possible). Please make sure that the default system font setting on both machines match each other (e.g. small font 96 dpi). I think there exists some 3rd party VCL which deal with the screen resolution, etc.... Long time ago I had played around with a demo from GTSizer and it did work (even for different font settings) and I have no idea about other components nowadays... P.S. I always design for the system default (i.e. Small font) now.. anyway many applications won't display properly in a system using large font.
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#5 引用回覆 回覆 發表時間:2003-03-31 16:41:36 IP:218.18.xxx.xxx 未訂閱
引言: This is one of the most annoying things to cope with Windows programming.... ...... .....
謝謝﹐我也想可能是電腦上設置字體大小或外觀設置上有問題﹐我均查過﹐跟我編程用的電腦差不多設置是一樣的。均用小字體。其它的也看了看﹐就是沒發現什么問題﹐我現已裝過兩台﹐都沒什么問題。第三台時出現這種問題。我就犯愁了﹖我懷疑是系統設置上的問題﹖(從新格式化再裝過還是那樣,)可還是找不出問題.當然顯示器都一樣17寸三星.
william
版主


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

發送簡訊給我
#6 引用回覆 回覆 發表時間:2003-03-31 17:00:10 IP:147.8.xxx.xxx 未訂閱
引言: 謝謝﹐我也想可能是電腦上設置字體大小或外觀設置上有問題﹐我均查過﹐跟我編程用的電腦差不多設置是一樣的。均用小字體。其它的也看了看﹐就是沒發現什么問題﹐我現已裝過兩台﹐都沒什么問題。第三台時出現這種問題。我就犯愁了﹖我懷疑是系統設置上的問題﹖(從新格式化再裝過還是那樣,)可還是找不出問題.當然顯示器都一樣17寸三星.
Is it the BitBtn only? Just wonder if Anchors of the BitBtn has any side effects... Are all machines running the same OS? Tried any updated version of common control (could be a problem for 95)?
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#7 引用回覆 回覆 發表時間:2003-04-01 08:50:48 IP:218.17.xxx.xxx 未訂閱
引言: Is it the BitBtn only? Just wonder if Anchors of the BitBtn has any side effects... Are all machines running the same OS? Tried any updated version of common control (could be a problem for 95)?
當然是相同的系統﹐但絕不是win95.我想可能還是系統設置上的問題。但現一時找不出問題到底存在什么地方﹐另一問題是我想我如何才能控制表單不要移動?當然表單的屬性Resize不能為True.我查了如果為True,則在我的電腦上都已經變形了。且表單的Scaled也要為True.因為這些在我的winxp系統上沒問題﹐怎么到第三台會出現如此的問題?
william
版主


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

發送簡訊給我
#8 引用回覆 回覆 發表時間:2003-04-01 09:08:42 IP:147.8.xxx.xxx 未訂閱
引言:當然是相同的系統﹐但絕不是win95.我想可能還是系統設置上的問題。但現一時找不出問題到底存在什么地方﹐另一問題是我想我如何才能控制表單不要移動?當然表單的屬性Resize不能為True.我查了如果為True,則在我的電腦上都已經變形了。且表單的Scaled也要為True.因為這些在我的winxp系統上沒問題﹐怎么到第三台會出現如此的問題?
Do you mean the form will distort even on your machine used for development? (i.e. design time is fine while run time is incorrect)
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#9 引用回覆 回覆 發表時間:2003-04-02 08:50:14 IP:218.17.xxx.xxx 未訂閱
Do you mean the form will distort even on your machine used for development? (i.e. design time is fine while run time is incorrect) [/quote] 我的意思是我試改變了表單的屬性Resize不能為True.我查了如果為True,則在我的電腦上都已經變形了。所以改為False才可以(本來就是False只是試驗)。我猜想是由于系統設置上的問題。但找不出問題的所在。
william
版主


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

發送簡訊給我
#10 引用回覆 回覆 發表時間:2003-04-02 10:04:57 IP:147.8.xxx.xxx 未訂閱
引言:我的意思是我試改變了表單的屬性Resize不能為True.我查了如果為True,則在我的電腦上都已經變形了。所以改為False才可以(本來就是False只是試驗)。我猜想是由于系統設置上的問題。但找不出問題的所在。
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#11 引用回覆 回覆 發表時間:2003-04-03 08:51:18 IP:218.18.xxx.xxx 未訂閱
It sounds strange... Do you have anything triggered by the OnReSize or similar event? Could you reproduce this problem using a new and simple project, so that you could upload it for me and others to test? [/quote] Ok,因為其它原因暫時不能上載﹐我想辦法下星期上載。多謝﹗
比爾丐自
初階會員


發表:33
回覆:115
積分:29
註冊:2003-02-14

發送簡訊給我
#12 引用回覆 回覆 發表時間:2003-04-07 08:57:04 IP:218.17.xxx.xxx 未訂閱
[quote] 謝謝william,因是別人的系統﹐我最終找出原因是因為在系統中的名觀設置中的標題按扭等處大小有變動。表單的Scaled為True﹐OnReSize為False,就ok,多謝你了。
系統時間:2024-05-17 4:43:42
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!