随笔分类 -  Delphi2010 IDE

摘要:引用单元 ;HttpAppprocedureTForm1.Button1Click(Sender:TObject);varStr:WideString;http:AnsiString;beginStr:=Memo1.Text;http:=HTTPEncode(UTF8Encode(Str));Memo2.Text:=http;end;procedureTForm1.Button2Click(Sender:TObject);varStr:WideString;http:AnsiString;beginStr:=Memo2.Text;http:=UTF8Decode(HTTPDecode(Str) 阅读全文
posted @ 2012-11-05 11:46 i努力i 阅读(1460) 评论(1) 推荐(1)
摘要:Application.ProcessMessages;LockWindowUpdate(Self.Handle); //锁住当前窗口 LockWindowUpdate(0)//解除锁定窗口LockWindowUpdate不但闪烁,而且有可能引起桌面闪烁。因为LockWindowUpdate并不忽略消息,只是暂时不响应,所以有可能积聚多个重画消息,并在使用LockWindowUpdate(0)之后依次响应。而使用SendMessage(ClientHandle,WM_SETREDRAW,0,0)之后,控件根本不接收重画消息,除非使用SendMessage(ClientHandle,WM_SET 阅读全文
posted @ 2012-06-29 14:02 i努力i 阅读(466) 评论(0) 推荐(0)
摘要:delphi 2010 refactor / refactoring 重构不能使用。经过实验的确是DelphiDistiller上的设置贴心的过头的原因.一切的罪魁祸首就是“Don't load .NET scap”,把"Don't load .NET scap的钩去掉,再确定,强大的重构功能又回来了。 阅读全文
posted @ 2011-11-29 10:04 i努力i 阅读(246) 评论(0) 推荐(0)