Tags:C BuilderTstringlist

One of the most commonly used types of list is a list of character strings. Examples include items in a combo box, lines in a memo, names of fonts, and names of rows and columns in a string grid. BaseCLX provides a common interface to any list of strings through an object called TStrings and its descendants such as TStringList and THashedStringList. TStringList implements the abstract properties and methods introduced by TStrings, and introduces properties, events...

Programming - C++Builder

Tags:C BuilderCbuilderClxDelphiIntroductionTbucketlistTlistTthreadlistVcl


TObjectBucketList is a simple hash table that stores objects that are identified by other objects.

TObjectBucketList is in Unit Contnrs.


Use TObjectBucketList as a simple hash table to store objects that are indexed by other objects. TObjectBucketList includes methods to add, remove, and locate items in the list, as well as a method that executes a callback for every item in the...

Programming - Delphi

Tags:C BuilderCbuilder

Many 32-bit Windows applications store their information in the system Registry instead of ini files because the Registry is hierarchical and doesn't suffer from the size limitations of ini files. If you are accustomed to using ini files and want to move your configuration information to the Registry instead, you can use the TRegistryIniFile class. You may also want to use TRegistryIniFile in cross-platform applications if you want to use the system Registry on Windows...

Programming - C++Builder

Tags:C BuilderCbuilderDelphiTstringlist

This article give you descriptions to the TCollection, TStringList and THashedStringList in Delphi / C++Builder. These base vcl/clx component are very useful in programming.


TCollection is a container for TCollectionItem objects.

TCollection is in Unit Classes.


Each TCollection holds a group of TCollectionItem descendants. TCollection maintains an index of the collection items in its Items array. The Count property contains...

Programming - Delphi

Tags:C BuilderCbuilderDelphi

Although the various list classes contain different types of items and have different ancestries, most of them share a common set of methods for adding, deleting, rearranging, and accessing the items in the list.

Adding list items

Most list classes have an Add method, which lets you add an item to the end of the list (if it is not sorted) or to its appropriate position (if the list is sorted). Typically, the Add method takes as a parameter the item you are...

Programming - Delphi

Tags:C BuilderCbuilderTinifileVcl

Many applications use ini files to store configuration information. BaseCLX includes two classes for working with ini files: TIniFile and TMemIniFile. Using ini files has the advantage that they can be used in cross-platform applications and they are easy to read and edit. For information on these classes, see Using TIniFile and TMemIniFile below for more information.

Many Windows applications replace the use of ini files with the system Registry. The...

Programming - C++Builder

Tags:C BuilderCbuilderClxFilesVcl

Working with Files.

BaseCLX supports several ways of working with files. In addition to using file streams, there are several runtime library routines for performing file I/O. Both file streams and the global routines for reading from and writing to files are described in Approaches to file I/O.
In addition to input/output operations, you may want to manipulate files on disk. Support for operations on the files themselves rather than their contents is...

Programming - C++Builder

Tags:C BuilderDelphiFilesMeasurementsStreamsStringsVcl

The base VCL and CLX in Delphi means the base classes which are invisible. Some of these are very important, you will always meet them and use them when you programming in the future.

There are a number of units that are common to both the VCL and CLX that provide the underlying support for both component libraries. Collectively, these units are called BaseCLX. BaseCLX does not include any of the components that appear on the component...

Programming - Delphi

Do you know what a HTTP 400 code means? When you are looking at your server logs, you may see codes like 400, 403, 404 and 410? What does it mean? You should have a strong desire to know all its meanings. This article can tell you most common codes returned by the server.

Client Error 4xx:
Means the request may be wrong, prevent the server from processing. Details showed following:

400: Server does not understand the syntax of the request.

403: Server rejected the request.

404: Server...

Operating system - Windows

More Articles...