如何改变InputBox的字体? 如题。用默认的字体老是出现最后一个半边显示不出来 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 procedure InputBoxSetPasswordChar(var Msg: TMessage); message InputBoxMessage;procedure TForm1.InputBoxSetPasswordChar(var Msg: TMessage);begin with Screen.Forms[0] do begin TButton(Controls[2]).SetFocus; TEdit(Controls[1]).font.name:='宋体'; TEdit(Controls[1]).SetFocus; font.Name:= '宋体'; font.Size:=15; end;end;procedure TForm1.Button1Click(Sender: TObject);var InputString : string;begin PostMessage(Handle, InputBoxMessage, 0, 0); InputString := InputBox('Input Box', '输入字符', '');end;end. Delphi如何写出拦截例外 并可显示错误讯息. 请问RAVE如何在DataBind中固定打印的行数 Treeview节点的动态实现,会的不难!! 问几个关于delphi 的函数问题。 两个DBGrid,用什么方法能将其中的一个DBGrid中的数据加到另一个DBGrid中? 怎么我的DBGrid不能删除列? delphi数据库系统代码中出错 大家来讨论一下车牌识别的技术吧 一个InputBox,怎么才能知道用户是按的确定或者是取消? 如何用DELPHI写一个邮件群发系统?分数无限! 又升内裤了,但我很郁闷,散分! D6下写的ActiveForm在D7下无法Web deploy,求救
message InputBoxMessage;
procedure TForm1.InputBoxSetPasswordChar(var Msg: TMessage);
begin
with Screen.Forms[0] do
begin
TButton(Controls[2]).SetFocus;
TEdit(Controls[1]).font.name:='宋体';
TEdit(Controls[1]).SetFocus;
font.Name:= '宋体';
font.Size:=15;
end;end;procedure TForm1.Button1Click(Sender: TObject);
var
InputString : string;
begin
PostMessage(Handle, InputBoxMessage, 0, 0);
InputString := InputBox('Input Box', '输入字符', '');end;end.