用这个(是800X600开发在1024中显示的):
type
TFooClass = class(TControl);
......................
..................
function tshwpic.trScreen(strdd : string):string;
var
devmode:tDevicemode;
orignwidth : integer;
orignheight,i : integer;
begin
orignwidth := 800; orignheight := 600;
swidth := screen.Width;
sheight := screen.Height;
scaled := true;
if (screen.width <> 800) then
begin
height := longint(height) * longint(screen.height) div 600;
width := longint(width) * longint(screen.width) div 800;
scaleBy(screen.width, 800);
for i := ControlCount - 1 downto 0 do
TFooClass(Controls).Font.Size :=
(screen.width div 800) *
TFooClass(Controls).Font.Size;
end;
end;
请问这方面有什么控件吗?