You build and customize your application forms by manipulating the objects on them. You can add objects, reposition objects, set object properties, enforce business rules by specifying data entry constraints, or write object methods that run automatically when the object is used.
Active and static objects
4D forms support a large number of built-in active and static objects:
- active objects perform a database task or an interface function. Fields are active objects. Other active objects — enterable objects (variables), combo boxes, drop-down lists, picture buttons, and so on — store data temporarily in memory or perform some action such as opening a dialog box, printing a report, or starting a background process.
- static objects are generally used for setting the appearance of the form and its labels as well as for the graphic interface. Static objects do not have associated variables like active objects. However, you can insert dynamic objects into static objects.
Handling form objects
You can add or modify 4D form objects in the following ways:
4D language: Commands from the Objects (Forms) theme such as
OBJECT SET FONT STYLEallow to create and define form objects.
Editor de formulários: arraste um objeto da barra de ferramentas do editor de formulários ao formulário. Then use the Property List to specify the object's properties.
See the Dynamic Forms page for information.
Example for a button object: