增加隐藏modal窗口

This commit is contained in:
sgwp 2024-07-22 15:32:40 +08:00
parent 41c4a5933c
commit b1119eed0b

View File

@ -85,7 +85,7 @@ begin
if trim(mStyleCode) = '' then
mStyleCode := '01';
fFontSize := getSystemFontSize(ADOTmp,PWideChar(mStyleCode));
fFontSize:= getSystemFontSize(ADOTmp,PWideChar(mStyleCode));
if fFontSize <= 9 then
fFontSize := 9;
@ -100,6 +100,8 @@ begin
begin
if mForm.Components[i] is Tlabel then
begin
if mForm.Components[i].Tag<>10 then
Tlabel(mForm.Components[i]).Font.Size:= fFontSize ;
if Tlabel(mForm.Components[i]).Left >= fFontSize then
Tlabel(mForm.Components[i]).Left := Tlabel(mForm.Components[i]).Left - fFontSize;
continue;