Details about generics collections tlist (10): onnotify event

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, generics. collections; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); Private Procedure

Generics collections tqueue (3): onbench y, extract

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, generics. collections; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); Private Procedure

Test generics collections tstack (1): Push, pop, and peek. Other functions are the same as those of tqueue.

Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); end; var form1: tform1; implementation {

Generics collections tdictionary (1): Add, items, keys, values, remove

Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); end; var form1: tform1; implementation {

Generics collections tdictionary (4): onkeypolicy, onvaluenoworkflow

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, generics. collections; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); Private Procedure

Test string writing class: tstringwriter

I have never seen this class before. It is implemented based on tstringbuilder. It can be used to easily write various data types into strings. Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls,

JSON superobject (14): parsed from XML

There is also a superxmlparser unit in the superobject file package, which can parse isuperobject from XML. Superxmlparser has only three functions: xmlparsestring, xmlparsestream, and xmlparsefile, which are parsed from strings, streams, and

JSON-based superobject (17): instance-use Google for full-text translation

Address format for calling Google translation: Http://ajax.googleapis.com/ajax/services/language/translate? V = 1.0 & Q = "+ original text +" & langpair = "+ original language +" % 7C "+ target language The returned data format is as

Delphi interface (2)-First example

Operation live video in the first example: interface_test.rar CodeFile: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1:

Delphi interface (3)-release of interfaces

Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; button2: tbutton; button3: tbutton; button4: tbutton; Procedure

Generics collections tlist (3): insert, delete, remove, extract

Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); end; var form1: tform1; implementation {

Generics collections tlist (7): items, contains

Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); end; var form1: tform1; implementation {

Test generics collections tlist (9): binarysearch

Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; Procedure button1click (Sender: tobject); end; var form1: tform1; implementation {

Use a generic tarray to search for a specified element from a dynamic array

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; button2: tbutton; procedure button1click (Sender: tobject); Procedure button2click (

Use generic tarray to sort Dynamic Arrays

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) memo1: tmemo; button1: tbutton; button2: tbutton; Procedure button1click (Sender: tobject); Procedure

JSON-based superobject (2): construction method and asjson

A common method for constructing a JSON object using superobject: from a string, from a file, or from a stream. Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1

Test string Reading Class: tstringreader

Tstringreader has fewer methods than tstringwriter. It can be read by character, line, or all; The character encoding is obtained when the characters are read, and the string is obtained by reading all or by row. The character array is also

Generics collections tdictionary (5): Multiple create methods

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; button2: tbutton; button3: tbutton; button4: tbutton; button5: tbutton; Procedure

Test generics collections tlist (11): Create

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; button2: tbutton; button3: tbutton; Procedure button1click (Sender: tobject);

Test tstreamwriter and tstreamreader

Both tstreamwriter and tstringwriter inherit from the abstract class: ttextwriter; Both tstreamreader and tstringreader inherit from the abstract class: ttextreader. They have similar functions, but tstreamwriter and tstreamreader have the "stream"

Total Pages: 64722 1 .... 54245 54246 54247 54248 54249 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.