English Español Português Italiano
Tutorials Guide Help
Sitemap Adobe Autodesk Microsoft Corel Sony GNU Others

Borland Delphi 7 Tutorial - For Windows


 









Borland Delphi 7 Tutorial - For Windows

Borland Delphi 7 Tutorial - For Windows FREE DOWNLOAD THIS TUTORIAL
Tutorial in pdf format so you can save it to your PC, e-book reader or print.


Sponsored link



Note: The tutorial you are about to download is compressed format. Rar, if you do not have a decompressor rar files you can download 7-zip and you can display the Foxit PDF Reader.



Index Borland Delphi 7 Tutorial - For Windows


Component Writer’s Guide
Borland Delphi 7 for Windows
Chapter 1
Overview of component creation 1-1
Class library
Components and classes
Creating components
Modifying existing controls
Creating windowed controls
Creating graphic controls
Subclassing Windows controls
Creating nonvisual components
What goes into a component?
Removing dependencies
Setting properties, methods, and events
Properties
Methods
Events
Encapsulating graphics
Registering components
Creating a new component
Creating a component with the
Component wizard
Creating a component manually
Creating a unit file
Deriving the component
Registering the component
Creating a bitmap for a component
Installing a component on the Component palette
Making source files available
Testing uninstalled components
Testing installed components
Chapter 2
Object-oriented programming for component writers
Defining new classes
Deriving new classes
To change class defaults to avoid repetition
To add new capabilities to a class
Declaring a new component class
Ancestors, descendants, and class hierarchies
Controlling access
Hiding implementation details
Defining the component writer’s interface
Defining the runtime interface
Defining the design-time interface
Dispatching methods
Static methods
An example of static methods
Virtual methods
Overriding methods
Dynamic methods
Abstract class members
Classes and pointers
Chapter 3
Creating properties
Why create properties?
Types of properties
Publishing inherited properties
Defining properties
Property declarations
Internal data storage
Direct access
Access methods
The read method
The write method
Default property values
Specifying no default value
Creating array properties
Creating properties for subcomponents
Creating properties for interfaces
Storing and loading properties
Using the store-and-load mechanism
Specifying default values
Determining what to store
Initializing after loading
Storing and loading unpublished properties
Creating methods to store and load property values
Overriding the DefineProperties method
Chapter 4
Creating events
What are events?
Events are method pointers
Events are properties
Event types are method-pointer types
Event-handler types are procedures
Event handlers are optional
Implementing the standard events
Identifying standard events
Standard events for all controls
Standard events for standard controls
Making events visible
Changing the standard event handling
Defining your own events
Triggering the event
Two kinds of events
Defining the handler type
Simple notifications
Event-specific handlers
Returning information from the handler
Declaring the event
Event names start with “On”
Calling the event
Chapter 5
Creating methods
Avoiding dependencies
Naming methods
Protecting methods
Methods that should be public
Methods that should be protected
Abstract methods
Making methods virtual
Declaring methods
Chapter 6
Using graphics in components
Overview of graphics
Using the canvas
Working with pictures
Using a picture, graphic, or canvas
Loading and storing graphics
Handling palettes
Specifying a palette for a control
Off-screen bitmaps
Creating and managing off-screen bitmaps
Copying bitmapped images
Responding to changes
Chapter 7
Handling messages and system notifications
Understanding the message-handling system
What’s in a Windows message?
Dispatching messages
Tracing the flow of messages
Changing message handling
Overriding the handler method
Using message parameters
Trapping messages
Creating new message handlers
Defining your own messages
Declaring a message identifier
Declaring a message-record type
Declaring a new message-handling method
Sending messages
Broadcasting a message to all controls in a form
Calling a control’s message handler directly
Sending a message using the Windows message queue
Sending a message that does not execute immediately
Responding to system notifications using CLX
Responding to signals
Assigning custom signal handlers
Responding to system events
Commonly used events
Overriding the EventFilter method
Generating Qt events
Chapter 8
Making components available at design time
Registering components
Declaring the Register procedure
Writing the Register procedure
Specifying the components
Specifying the palette page
Using the RegisterComponents function
Providing Help for your component
Creating the Help file
Creating the entries
Making component Help context-sensitive
Adding component Help files
Adding property editors
Deriving a property-editor class
Editing the property as text
Displaying the property value
Setting the property value
Editing the property as a whole
Specifying editor attributes
Registering the property editor
Property categories
Registering one property at a time
Registering multiple properties at once
Specifying property categories
Using the IsPropertyInCategory function
Adding component editors
Adding items to the context menu
Specifying menu items
Implementing commands
Changing the double-click behavior
Adding clipboard formats
Registering the component editor
Compiling components into packages
Chapter 9
Modifying an existing component
Creating and registering the component
Modifying the component class
Overriding the constructor
Specifying the new default property value
Chapter 10
Creating a graphic control
Creating and registering the component
Publishing inherited properties
Adding graphic capabilities
Determining what to draw
Declaring the property type
Declaring the property
Writing the implementation method
Overriding the constructor and destructor
Changing default property values
Publishing the pen and brush
Declaring the class fields
Declaring the access properties
Initializing owned classes
Setting owned classes’ properties
Drawing the component image
Refining the shape drawing
Chapter 11
Customizing a grid
Creating and registering the component
Publishing inherited properties
Changing initial values
Resizing the cells
Filling in the cells
Tracking the date
Storing the internal date
Accessing the day, month, and year
Generating the day numbers
Selecting the current day
Navigating months and years
Navigating days
Moving the selection
Providing an OnChange event
Excluding blank cells
Chapter 12
Making a control data aware
Creating a data browsing control
Creating and registering the component
Making the control read-only
Adding the ReadOnly property
Allowing needed updates
Adding the data link
Declaring the class field
Declaring the access properties
An example of declaring access properties
Initializing the data link
Responding to data changes
Creating a data editing control
Changing the default value of FReadOnly
Handling mouse-down and key-down messages
Responding to mouse-down messages
Responding to key-down messages
Updating the field data link class
Modifying the Change method
Updating the dataset
Chapter 13
Making a dialog box a component
Defining the component interface
Creating and registering the component
Creating the component interface
Including the form unit
Adding interface properties
Adding the Execute method
Testing the component
Chapter 14
Extending the IDE
Overview of the Tools API
Writing a wizard class
Implementing the wizard interfaces
Installing the wizard package
Obtaining Tools API services
Using native IDE objects
Using the INTAServices interface
Adding an image to the image list
Adding an action to the action list
Deleting toolbar buttons
Debugging a wizard
Interface version numbers
Working with files and editors
Using module interfaces
Using editor interfaces
Creating forms and projects
Creating modules
Notifying a wizard of IDE events
Index
Tables
Component creation starting points
Levels of visibility within an object
How properties appear in the Object Inspector
Canvas capability summary
Image-copying methods
TWidgetControl protected methods for responding to system notifications
TWidgetControl protected methods for responding to events from controls
Predefined property-editor types
Methods for reading and writing property values
Property-editor attribute flags
Property categories
The four kinds of wizards
Tools API service interfaces
Notifier interfaces
Figures
Visual Component Library class hierarchy
Component wizard
Signal routing
System event routing







Download the file decompressor 7-zip.
Download the PDF reader Foxit PDF Reader.




TutorialsPDF.com © 2008 - This work is licensed under a Creative Commons License.