Delphi5 developer's guide by Steve Teixeira, Xavier Pacheco

By Steve Teixeira, Xavier Pacheco

Show description

Read Online or Download Delphi5 developer's guide PDF

Best programming: programming languages books

Objektorientierte Programmiersprache C++: Vollständige Einführung anhand von Beispielen (VDI-Buch) (German Edition)

In diesem Werk werden alle Aspekte der Sprache C++ behandelt, deshalb ist das Buch ebenso für Einsteiger, mit oder ohne Vorkenntnisse über eine andere Programmiersprache, als auch für Umsteiger von anderen Programmiersprachen bzw. C-Programmierer geeignet. Die Darstellung der Sachverhalte erfolgt knapp und systematisch, die Beispiele sind kurz, prägnant und compiler- unabhängig und auf allen Rechnern mit C++ 2.

Additional info for Delphi5 developer's guide

Sample text

The TEmployee type declaration might look like this: 2-8 Developer’s Guide Using the object model type TEmployee = class(TObject) private FName: string; FTitle: string; FHourlyPayRate: Real; public property Name: string read FName write FName; property Title: string read FTitle write FTitle; property HourlyPayRate: Real read FHourlyPayRate write FHourlyPayRate; function CalculatePay: Real; end; In addition to the fields, properties, and methods you’ve defined, TEmployee inherits all the methods of TObject.

Use this component: When you want users to do this: ScrollBar Select values on a continuous range TrackBar Select values on a continuous range (more visually effective than scroll bar) UpDown Select a value from a spinner attached to an edit component HotKey Enter Ctrl/Shift/Alt keyboard sequences Scroll bars The scroll bar component is a Windows scroll bar that you can use to scroll the contents of a window, form, or other control. In the OnScroll event handler, you write code that determines how the control behaves when the user moves the scroll bar.

The visibility of a member determines its accessibility to other objects and units. • A private member is accessible only within the unit where it is declared. Private members are often used within a class to implement other (public or published) methods and properties. • A protected member is accessible within the unit where its class is declared and within any descendant class, regardless of the descendant class’s unit. • A public member is accessible from wherever the object it belongs to is accessible—that is, from the unit where the class is declared and from any unit that uses that unit.

Download PDF sample

Rated 4.52 of 5 – based on 17 votes