当前位置:主页>销售管理软件> 列表

win xp下窗体表现效果与win 2000不一样,似乎边 找sql进销存管理系统

记账软件版1楼: 怎样保证在不同系统下效果都一样?

2楼: 和操作系统的主题有关吧。想修改的话,有困难。估计是行不通的。除非用皮肤控件。 如sql进销存管理系统

3楼: 1:可以用皮肤工具,
2:可以修改桌面主题,
3:也可以将窗体设置小一点,字体选中文可以避免显示不全的问题

4楼: 建议
Label设置宽一点,长一点,然后AutoSize:=FALSE
Form不允许自动滚动条

5楼: 这是个大问题,
这是个有普遍性的问题,
实用的解决方案???

6楼: 这个是系统的,修改是麻烦的

记账软件版7楼: 找到办法了
1. Form 的字体:宋体 小五 字符集:chinese_GB2312
2. Form 的scaled改成false

8楼: 再讨论一下
1. 不太可行.用中文字符集是肯定的,但字体大小要看具体应用
2....
看delphi的帮助, 似乎也不合适
Scaled determines [b]whether the form adjust itself to differences between the font used at design time and the current system font used by a system at runtime. [/b]If Scaled is true, the form resizes itself and all its child controls to maintain the relationship between the size of controls and the height of text displayed in the default font. If Scaled is false, no such resizing occurs.



By setting Scaled to true, the form can adjust to fonts that are not scalable (that is, fonts that only supply discrete point sizes) or to differences such as forms designed using small fonts at design time that are run on systems that use large fonts.

The degree of resizing is determined by the PixelsPerInch property, which measures the proportion of the font on the system used when designing the form.

9楼: 可行的
根据自己的需要设置字体就可以了
到任何界面上都一样

10楼: 获取不同的Windows系统定义的非客户区边框宽度:

function GetWindowNCBorderWidth:integer;
var
Ncm: TNonClientMetrics;
begin
Ncm.cbSize := SizeOf(TNonClientMetrics);
SystemParametersInfo(SPI_GetNonClientMetrics, Ncm.cbSize, @Ncm, 0);
Result:=Ncm.iBorderWidth;
end;

11楼: 多人接受答案了。