CT SET ENTERABLE

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 6.0 (Modified)


CT SET ENTERABLE (area; mode{; buttonMode})

ParameterTypeDescription
areaLongint4D Chart area
modeIntegerEnterable or non-enterable
0 = Non-enterable
1 = Enterable
buttonModeInteger0 = Button if area is less than 150 points high
1 = Always an area

Description

The CT SET ENTERABLE command controls access to the document in area.

If mode equals 1, area is enabled and functions normally.

If mode equals 0, area is disabled.

A disabled area cannot be modified by the user but can be modified by the language. When an area is disabled, the user can scroll through the area and copy the selected objects to the Clipboard. The user cannot change the selection or use the 4D Chart menu bar or tool palettes.

The optional parameter buttonMode allows you to prevent an area smaller than 150 points high from becoming a button.

Example

This example is a form method that makes area non-enterable.


   If (Form event=On Load)   
      CT SET ENTERABLE (Area;0)    `Make the area non-enterable
   End if

See Also

CT SET DISPLAY.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next