Property Wizards

From Delphi for PHP Documentation Wiki

Jump to: navigation, search

For component developers, several wizards are included to reduce the amount of code that must be written to create a property

Image:add_public_property.png

Add Public Property: This option adds, at the current editor position, the source code that makes up a public property. A dialog is shown and the name of the property and default value are requested. After accepting the dialog, the right lines are added to the code editor.

Image:add_published_property.png

Add Published Property: This option adds, at the current editor position, the source code that makes up a published property. A dialog is shown and the name of the property and default value are requested. After accepting the dialog, the right lines are added to the code editor.

Image:publish_public_property.png

Publish Public Property: Use this option if you want to publish an existing public property. Only the getter and setter are needed to call the reader/writer so no default value is required.

Note:These options are enabled only when there is a code editor selected.

Personal tools