Copyright ® (1997-2013) EDMGROUP Pty Ltd - EZY Prolog Reference
back to GUI elements
Download EZY Prolog
Property list object provides easy way of programming Property sheets for various objects. System supports various types of properties (strings, numbers, lists and etc) and provides easy way of programming such complex objects.
Automatic code generation:
EZY Designer provides visual tools to create Property List object with default set of properties and generates necessary code frame work, which includes GUI initialization code and necessary event handlers.
All Property List support predicates start with ezy_property and provide full functionality for initialization, reading and setting of various properties.
Click on EZY Property predicates for full list of built-in predicates.
Property list logical structure:
Property List is a list of Property Tables.
Each Property Table has it's title and list various Properties.
Each property has:
Unique property ID (integer)
Property Label (string)
Property Control (various types: string, integer, long, real, list, date, font, color)
Property Error prompt - message, which system displays if invalid value entered
Callback button flag (use or not to use callback button)
System supports the following Property Controls:
Numbers: Integer, Long, Real
List (list button or List Edit)
Each Property Control can have various properties (read-only, max, min, range and etc):
EZY Prolog programmer can define a Property List callback predicate, which will receive the events from object for processing.
This is a point where user can validate change of property values and perform necessary actions.
Property List object in EZY Designer:
EZY Designer supports various exterior properties of control (Border, Fonts, Colors). These properties are available only at design time and are stored in DCL file.
Please note that changing object properties doesn't require change of EZY Prolog program code.
See ezy_property.pro sample in EZY Prolog installation for more information
Copyright © 1997-2013 EDMGROUP (Australia)