如何让窗口保持激活状态 就像dialog一样,但是由于某些原因不能直接用窗口的ShowModal。还有其他什么方法吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我傻,原来From在visible为true的时候不能showmodal的。为什么关毕该窗口后为什么点击其他窗口都没反应了@_@在“确定”里直接用visible := false来隐藏窗口的...正确该怎么做.... 下面是showmodal窗口“确定”按钮的程序,只看最后一句就好了,怎么将这个窗口正确得关闭啊procedure TFontSet.btOKClick(Sender: TObject);var abmp : Tbitmap; width, height : Integer;begin TextRect := GetRect; width := TextRect.Right - TextRect.Left; Height := TextRect.Bottom - TextRect.Top; abmp := Tbitmap.Create; try aBmp.Width := Width; aBmp.Height := Height; Bitblt(abmp.Canvas.Handle, 0, 0, width, height, TextImage.Canvas.Handle,TextRect.Left, TextRect.Top, SRCCOPY); FTextBmp.Assign(abmp); finally abmp.Free; end; //上面的程序都是为了传出一张bitmap,可以忽略不看 Fontset.Visible := false;end; delphi xe DataSpan 返回 TDataSet 中文乱码 两个菜鸟问题 ,大家995 请帮改一下这个存储过程,谢谢! dbchart组件的困惑。为什么出现莫名其妙的错误,高手帮忙啊,送分。 超简单问题:IdUDPServer如何发送消息 简单查询语句,帮我看看有什么错 AnsiCompareText(s1,s2)函数是什么函数?用来干什么的? 放分!祝大家节日快乐! 小问题,小分数,嘿嘿。 dephi中有没有将10#转换成16#的函数? ADOTable低级问题 在Mdi编程下主窗体如何"通用"调用子窗体的函数/过程?
为什么关毕该窗口后为什么点击其他窗口都没反应了@_@
在“确定”里直接用visible := false来隐藏窗口的...正确该怎么做....
procedure TFontSet.btOKClick(Sender: TObject);
var
abmp : Tbitmap;
width, height : Integer;
begin
TextRect := GetRect;
width := TextRect.Right - TextRect.Left;
Height := TextRect.Bottom - TextRect.Top;
abmp := Tbitmap.Create;
try
aBmp.Width := Width;
aBmp.Height := Height;
Bitblt(abmp.Canvas.Handle, 0, 0, width, height, TextImage.Canvas.Handle,TextRect.Left, TextRect.Top, SRCCOPY);
FTextBmp.Assign(abmp);
finally
abmp.Free;
end; //上面的程序都是为了传出一张bitmap,可以忽略不看
Fontset.Visible := false;
end;