原创 excel和word代碼片斷

unit ExcelConst;interfaceconst  xlCenter = -4108;  xlLeft = -4131;  xlRight = -4152;  xlDistributed = -4117;  xlJustify

原创 making mdi child forms MODAL

making mdi child forms MODAL --------------------------------------------------------------------------------You can n

原创 拷貝控件的問題

拷貝控件的問題。其實Delphi提供了非常好的持久化機制,筆者寫了一個類,提供兩個方法,一個是將多個控件保存到流中,另一個是從流中讀出控件。2008-11-13 16:02 拷貝控件的問題。其實Delphi提供了非常好的持久化機制,筆者寫

原创 Delphi棧對象

  //如需轉載請註明出處//作者: 逍遙蕭//來源: http://www.xy13.cn 估計很多用了Delphi很多年的都不知道Delphi有支持棧對象.C++裏對象即可以創建爲堆對象,也可以創建爲棧對象常用的對象都是從TObjec

原创 How to get the published properties of an persistent object

How to get the published properties of an persistent object The TypeInfo unit of Delphi declares several types and func

原创 Delphi動態事件深入分析

Delphi動態事件深入分析2009-2-7 作者:不得閒核心提示:本實驗證明了在類中方法的調用時候,所有的方法都隱含了一個Self參數,並且該參數作爲對象方法的第一個參數傳遞... 首先做一個空窗體,放入一Button。在impleme

原创 How do I use IStream?

IStream is a Win32 interface, accessable to alot of programing languages, but is not well documented for Delphi. How do

原创 save all TWebbrowser Frame Sources

save all TWebbrowser Frame Sources? Author: Thomas Stutz  [ Print tip ]     Tip Rating (5):            // Code 1 uses

原创 Delphi字符串函數大全

Delphi字符串函數大全 uses StrUtils; 【字符串函數大全】       首部 function AnsiResemblesText(const AText, AOther: string): Boolean;      

原创 MDI without scrollbar

Etienne, this has no effect since the scrollbars do not belong to the MDI frame window itself, they belong to the clie

原创 Automating IE

Automating IE       Connect   to   a   running   instance   of   Internet   Explorer                   1.   Using   Obj

原创 Delphi Question: Proper using of a Record Field/Property in a Class?

Delphi Question: Proper using of a Record Field/Property in a Class? Want to test your Delphi knowledge? Take a look a

原创 For those interested in storing components onto a stream

From: [email protected] (Mark R. Johnson) Subject: Re: [Delphi] Solution: Using TStream/TWri Date: 19 May 1995 14:

原创 揭開Outlook Express編輯器的奧祕

揭開Outlook Express編輯器的奧祕   【前言】  Outlook Express是一款大家比較熟悉的郵件工具,其HTML編輯器一直是衆多程序員競相模仿的目標。作者最近在一個項目的開發中,開始接觸HTML編輯器的設計,並遇到了

原创 Serialize / Stream (Read/Write) Configuration Settings

Serialize / Stream (Read/Write) Configuration SettingsStore Application Settings in a Delphi Class and Serialize it Bin