随笔分类 - DELPHI
摘要:http://www.delphipages.com/forum/showthread.php?t=58391Hi,How would I restrict a form from being resized smaller than say a height of 400 and a width ...
阅读全文
摘要:http://delphi.about.com/cs/adptips2004/a/bltip0504_4.htmWhen using ShellExecute (as explained in the above article) to open a web site or a htm file w...
阅读全文
摘要:http://www.chami.com/tips/delphi/112696D.htmlSometimes it's necessary to pass undefined number of [different type] variables to a function-- look at F...
阅读全文
摘要:http://www.aha-soft.com/faq/delphi-imagelist-png.htmQuery:"Embarcadero Delphi ImageList does not show transparent PNG icons correctly. How to fix it?"...
阅读全文
摘要:How to let TVirtualStringTree to display an icon in disabled state?I need to display files in a directory to a TVirtualStringTree.So, I use SHGetFileI...
阅读全文
摘要:http://blog.csdn.net/wishfly/article/details/3726985你在主线程用了WaitForSingleObject,导致了消息循环的阻塞,界面假死。然后在线程中调用了SetDlgItemText,而SetDlgItemText实际上调用的是SendMessa...
阅读全文
摘要:http://users.atw.hu/delphicikk/listaz.php?id=2471&oldal=52Problem/Question/Abstract:What are the new virtual styles in the TListbox for, and whay are ...
阅读全文
摘要:QuestionDoes anyone know the fastest way to read large text files (10Mb) into a string.Readlnis just too slow.Answer 1You may try this:function R(cons...
阅读全文
摘要:ByHellinger Software.Class to handle text files as memory mapped files.Including efficient methodes for access like sequentiell reador random access r...
阅读全文
摘要:http://forum.codecall.net/topic/75946-autocomplete-tedit/OverviewAutocompletefeature really helpful for us speeding up our typing job.For you who is n...
阅读全文
摘要:I would like a user to be able to type in the second or third word from aTComboBoxitem and for that item to appear in theAutoSuggestdropdown optionsFo...
阅读全文
摘要:unit Searches;(*-----------------------------------------------------------------------------*| Components TSearch & TFileSearch ...
阅读全文
摘要:The most complex process in Virtual Treeview is without doubts its painting.Read here what stages Virtual Treeview enters during paint and how you can...
阅读全文
摘要:http://blog.csdn.net/dongyonggan/article/details/5780979用法:ASSERT(表达式)如果为假,ASSERT会产生一个EASSERTIONFAiled异常,显示为Assertion Failed (C:/src/unit1.pas, [size=...
阅读全文
摘要:delphi中类引用的使用实例类引用类引用(Class Reference)是一种数据类型,有时又称为元类(MetaClass),是类的类型的引用。类引用的定义形式如下: class of type例如:type SomeClass = class of TObject;var AnyObj...
阅读全文
摘要:http://blog.csdn.net/henreash/article/details/3183119Delphi中有一个线程类TThread是用来实现多线程编程的,这个绝大多数Delphi书藉都有说到,但基本上都是对TThread类的几个成员作一简单介绍,再说明一下Execute的实现和Syn...
阅读全文
摘要:http://www.2ccc.com/btdown.asp?articleid=5953ftp://download:S3cirpYW3DoR@www.2ccc.com/vcl/system/20120301114502_ThreadPool.rarDelphi线程池控件说明:模仿.Net的Thr...
阅读全文
摘要:http://sourceforge.net/projects/threadpoolpas/http://hivelocity.dl.sourceforge.net/project/threadpoolpas/ThreadPool-1.0.6%20%28with%20compiled%20examp...
阅读全文
摘要:http://pages.videotron.com/aminer/threadpool.htmhttp://pages.videotron.com/aminer/zip/threadpool.zipFPC Pascal v2.2.0+ / Delphi 5+http://pages.videotr...
阅读全文
摘要:http://blog.sina.com.cn/s/blog_6250a9df0101kref.html在网上查找Delphi线程池,结果发现寥寥无几。看了半天源代码,弄得一头雾水,觉得不容易理解和使用,于是自己想写一个线程池。什么样的线程池更好呢?我觉得使用起来要可靠,并且一定要简单,这样才是更好...
阅读全文