4D v16.3

What are active objects?

Home

 
4D v16.3
What are active objects?

What are active objects?  


 

 

An active object is anything on a form that performs a database task or an interface function. There are many kinds of active objects. Fields are considered 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.

In some cases, you can specify the active object’s action by making selections in the Property List window. For example, you can use built-in automatic button actions to specify the action of a button. In other cases, you specify the object’s action by writing a method that is automatically attached to the object.

You can use the following active objects in 4D:

A set of properties manages the appearance of active objects and how they work. There are specific properties covered in the descriptions for each type of objects as well as basic generic properties such as data entry control or display formats that are described in  Properties for active objects.

64-bit 4D applications running on OS X benefit from native animations that enhance user experience with 4D forms. In particular:

  • Fields and enterable variables, radio buttons and check boxes all display animation whenever they get the focus,
  • Radio buttons and check boxes trigger animation during mouse tracking,
  • Scrollbars have a special animated effect (Yosemite version only),
  • Tabbing in list forms causes columns to slide smoothly.

Here is an overview of these animations:

Note: Apple has published guidelines about how to use animations in your applications.  

 
PROPERTIES 

Product: 4D
Theme: Working with active objects

 
HISTORY 

 
ARTICLE USAGE

4D Design Reference ( 4D v16)
4D Design Reference ( 4D v16.1)
4D Design Reference ( 4D v16.3)