In addition to supporting the use of visual components to build applications WYSIWYG, it also supports the design of their own parts for the development of applications.
In this chapter, you will explain how to write parts for the Delphi application. This chapter will serve two purposes:
Teach you how to customize parts
Make your parts an integral part of the Delphi environment
19.1
Delphi API function Adjustwindowrect given a window style, calculate the desired window size for the target client area rectangle Anypopup Determine if there are any pop-ups on the screen arrangeiconicwindows arrange a parent window The minimized child window attachthreadinput connection thread input function Begindeferwindowpos starts the process of building a series of new window positions bringwindowtotop takes the specified window to the top of th
[Delphi] use of hook Mechanism
Author: edream Source: csndThe setwindowshookex function provides 15 different types of message monitoring, that is, different hooks in 15.It is used to capture messages of a specific type or range (such as keyboard messages and mouse messages ).Here we only use the mouse hook as an example to discuss how to compile the DLL progr
Delphi inserts GIF animated expressions into the RichEdit controlIn the UDP instant messaging software, a GIF animated expression is inserted into the RichEdit control.Convert the facial expression into a command when sending it. After receiving the command, convert it into an animated facial expression.You need to reference a qq dll file in the attachment. Import the DLL to Delphi.
Unit urichedit;
Interfac
Avoid new MDI child resizing animation (and delay) in Delphi MDI applications
Lock (prevent) window updating when creating new MDI child formsBy Zarko Gajic
If you are creating MDI applications using Delphi, you must have noticed some "quirks" or issues that you cannot simply handle/fix from your code.
MDI interface was designed in the days of Windows 3 (some 10 + years ago) and it was designed
Thread principle: in fact, there is no real multithreading. The so-called multithreading is only a high CPU execution efficiency. Dividing a task into multiple points can basically achieve simultaneous execution.
The multi-threaded applications in Delphi need to be noted that the number of threads enabled at the same time and the method of thread execution will affect the CPU execution efficiency. In general, don't use it without threads. Below is a
next loop of for, while, and repeat.The copy function returns a string of substrings.Cos function cosine functionWhether the ctl3d attribute has 3D effectCursor attribute: The shape after the mouse pointer is moved in
The date function returns the current date.The datetimetofiledate function converts the Delphi date format to the DOS date format.The datetimetostr function converts the datetime format to a string.The datetimetostring function converts
event handler, which passes the name string as the Var parameter into the event-handling process, so the event-handling process can also modify the string's value.
Onsetname incident
Statement: Property onsetname:tsetnameevent;
Onsetname event occurs before the Read object sets the Name property of a part, the var parameter name parameter of the Onsetname event process is a var parameter, so the event-handling procedure can modify the value of name before assigning name to the part. This is
Http://www.delphifeeds.com/go/f/86025? Utm_source = feedburner utm_medium = Email utm_campaign = feed % 3A + delphifeeds + % 28delphifeeds.com % 29
Btmemorymodule: http://code.google.com/p/memorymodule/downloads/list
Load a DLL from a resource directly from memory in Delphi applicationsuse DLL from resources (RES) without storing it on the hard-disk first
By Zarko Gajic, about.com Guide
Article idea by Mark E. MossThe article how to store a DLL ins
I. Overview
Borland wants Delphi 2005 to be the final complete solution on the Windows platform, for which Delphi 2005 is set to Delphi, C #, Microsoft. NET Framework and Win32, supporting the graphical user interface ( GUI), web development, databases, rich-client applications (Rich-client applications) and many other developments, integrating software lifecycl
http://bbs.guanjia.qq.com/forum.php?mod=forumdisplayfid=63; The computer housekeeper mistakenly reports, submits the address.Own company website http://www.kaideruixin.icoc.cc/Notebook Drive website http://www.dell800.com/thread-57450-1-1.htmlTechnology can be one of 1 million of the bosses making a lot of money.Have ideal + like-minded people + learn from each other to work together = Perfect teamFirst-class project + three-stream performer = Garbage ProjectThree-stream projects + First-class p
Delphi is a basically I forget the tool, if not in the use of Rapidsql, I was not received Embarcadero issued by the invitation to participate in the Delphi XE5 Conference.
Some people may ask why is Embarcadero (the name is very clumsy) instead of Borland Open Delphi Conference, this is because Borland that years can not survive, the IDE tool packaging set up Co
Procedure tbsadpartparadmsform. histogram (Sender: histogram; aitem: tcxcustomgridtableitem; var aallow: Boolean); var v_code: string; begin inherited; aallow: = true; If (Pos ('100', cxgriddbtableview3.controller. focusedrecord. values [cxgridparacode. index])> 0)// The POS function is used to retrieve the number of '123' strings contained in each row of the cxgridparacode column and (aitem. index = cxgrid
Questions about the lifecycle of the Delphi DBGrid dbctrlgrid Control
1. Mouse labeling is not supported
2. Mouse labels must be released to take effect.
3. When a dynamic condition is triggered, the data volume will also be dynamic (there are only different ways to calculate the missing value, it would be nice if multiple options are provided)
The above 1 and 2 points can be resolved now. No method found at 3: 00.
Usage
Tdbgridex. Create (applicatio
Delphi Source Code:
{Copyright (c) 2002 json.orgPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "software") to dealIn the Software without restriction, including without limitation the rightsTo use, copy, modify, merge, publish, distribute, sublicense, and/or sellCopies of the Software, and to permit persons to whom the Software isFurnished to did so, subject to the
Not now. Some POS machines are dual-screen (such as Casiva POS machine), a screen can be used when the customer display, when idle can also display some ads. In fact, using Delphi to write a dual-screen program is relatively simple, screen.monitorcount is the current number of system screen, Tform also have screen-related properties, such as Defalumonitor, But I
1. Introduction
When developing applications using Delphi, we usually need to design many documents and reports in various formats, and often create, edit, and modify files, although Delphi provides a lot of controls or methods for designing reports, there are obvious deficiencies, such as Chinese Input and Data Format control, which are troublesome. By using office tools that everyone is familiar with, yo
String operations in Delphi are very simple, but the background is quite complicated. The traditional string operation method of Pascal is different from that of Windows. Windows adopts the string operation method of C language. The 32-bit Delphi added the long string type, which is a string type that is indeed saved by Delphi.
String type
In Borland's Turbo Pasc
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.