Introduction to Delphi xe2 firemonkey (42)-control basics: tcombobox and tcomboedit

Tlistbox has two brothers: tcombolistbox and tcomboeditlistbox; Although tcombobox and tcomboedit do not inherit from them, they are included separately, so they are used a bit like tlistbox. Tcombobox is more like tlistbox, with more selected

Winapi: queryperformancefrequency-obtains the number of high-performance timer frequencies per second.

// Declaration: queryperformancefrequency (VAR lpfrequency: tlargeinteger {This parameter obtains the number of timer frequencies per second; tlargeinteger = int64}): bool; {if the return value is false, the hardware does not support

Learn more about GDI + [1]: Install the file header

If you use Versions later than Delphi 2009, we recommend that you use: Http://www.cnblogs.com/del/archive/2009/12/11/1621790.html. The following figure shows how to use 2007. GDI + is a function library in windows. It comes from

Show System Tray list (hide and display)-Reply to "anybet" question

Problem Source: http://www.cnblogs.com/del/archive/2008/12/30/1364557.html#1417716 In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs,

Tclientdataset [8]: Index and sorting

The purpose of the index is to quickly locate, sort, and create a master-slave table. The following are related attributes and methods: Indexdefs; {} indexfieldcount; {} indexfieldnames; {} indexfields []; {} indexname ;{} addindex () ;{}

Wave file (14): waveoutsetplaybackrate and waveoutsetpitch

Both parameters can also be get (waveoutgetplaybackrate, waveoutgetpitch) The default playback speed of the device is $00010000. If this value is multiplied by 2, the playback speed is doubled. If this value is divided by 2, the playback speed

Multi-thread control for WinSock programming

1 Introduction The Windows Sockets Specification defines a set of network programming interfaces in Microsoft Windows based on the socket interface popular in U. C. Berkeley University bsd unix. It not only contains the familiar Berkeley socket

What is stream?

What is stream? Stream, in short, is an abstract data processing tool built on an object-oriented basis. The stream defines some basic operations for data processing, such as reading data and writing data, Program The operator performs all

Winapi: getwindowrect and getclientrect-obtain the exterior and interior rectangles of the window

Tip: 1. In fact, it is very convenient to use the same functions in Delphi, but the system functions are global; 2. When getclientrect is used, windows. getclientrect is generally required, because the parent class of tform has a function of the

Learn more about GDI + [44]: text output-font

In this example: Code File: Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) listbox1: tlistbox; Procedure formpaint (Sender:

Cxgrid dynamically creates footer

Procedure createsumfooter (cxtableview: tcxgriddbtableview;Const fieldlist: string );VaRI: integer;F: tcxgriddbtablesummaryitem;L: tstringlist;BeginL: = tstringlist. Create;L. delimitedtext: = fieldlist;L. delimiter: = ',';Cxgrid1dbtableview1.

Winapi: ShellExecute-open an external program or file

ShellExecute (hwnd: hwnd; {specify the parent window handle} Operation: pchar; {specify the action, for example, open, print} filename: pchar; {specify the file to open or Program } Parameters: pchar; {specify parameters for the program to be opened;

Delphi Embedded Assembly [17]-logic operation

This is exactly the same as the logic commands of Delphi. // Logical non-not: {not 1 = 0; not 0 = 1;} var bytenum: byte; begin // assign a value of 111111b (255); reverse: ASM mov Al, 11111111b {eax contains ax; ax contains al; Al is the low

Winapi: createrectrgn, createrectrgnindirect, fillrgn, and framergn-create a rectangular area

In this example: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs; Type tform1 = Class (tform) Procedure formpaint (Sender: tobject); end; vaR form1: tform1; implementation {$ R *.

Learning structure [Record] type (9)-Variant Structure

The variant structure, that is, the variant record, is a complicated concept and is not recommended by experts. I want to figure it out. The maximum cardinal is 4294967295, which is 4 bytes in size and its binary representation is:11111111 111111

Introduction to Delphi xe2 firemonkey (33)-control basics: tfmxobject: savetostream, loadfromstream, savetobinstream

Savetostream () and loadfromstream () correspond to text streams; Savetobinstream () and loadfrombinstream () correspond to binary streams. Compared with text streams, binary streams are smaller. With these methods, it is too easy to serialize

Mitsubishi PWM Format File ladder code format

. PMW file format descriptionThe input and output port numbers are in octal format. Program start address: 15chFor example: X0-X7-> 0-7 (h) X40-X47-> 20-27 (h) X80-X87-> 40-47 (h)X10-X17-> 8-f (h) X50-X57-> 28-2f (h) X90-X97-> 48-4f (h)X20-X27-> 10-1

Memory Management 4

An example of using a private heap:Unit unit1;InterfaceUsesWindows, messages, sysutils, variants, classes, graphics, controls, forms,Dialogs, stdctrls;TypeTform1 = Class (tform)Button1: tbutton;Procedure button1click (Sender: tobject );End;VaRForm1:

Memory Management 3

The memory allocated by virtualalloc is 4 K as the smallest unit and continuous memory address (but it is not necessarily continuous when mapped to the real memory). As mentioned above, it is not suitable for allocating small memory (for example,

Tprinter print any table control

Unit MyLib; Interface UsesClasses, Printers, DBGrids, Graphics, Sysutils, Windows, Forms, DB, Grids,Dialogs, ComObj, Controls, StdCtrls, ShellAPI; Type // print TdbgridTPrnOut = class (TObject)Procedure PrintHeader (s: string );Procedure PrintFoot

Total Pages: 64722 1 .... 13070 13071 13072 13073 13074 .... 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.