摘要:
代码如下:unit Upassword;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Edit1: TEdit; Label1: TLabel; Label2: TLabel; Edit2: TEdit; Button1: TButton; Button2: TButton; Button3: TButton; proce... 阅读全文
posted @ 2012-08-09 17:12
时间的子民
阅读(126)
评论(0)
推荐(0)
摘要:
在用delphi设计登录框的使用,发现当账号密码输入错误的时候,重定位到相应的编辑框是非常有用的技巧,这里需要使用控件的隐藏属性setfocus.例如:1 PassWordEd.SetFocus;//定位密码框 阅读全文
posted @ 2012-08-09 16:55
时间的子民
阅读(135)
评论(0)
推荐(0)

浙公网安备 33010602011771号