Skip to content

Set_default_map_mode Command

Obsolete

This command is obsolete. This command is valid only in character-mode DataFlex.

See Also

Purpose

To set the default map mode to be used by the system.

Syntax

set_default_map_mode to value

Argument Explanation

value - An integer value for the map_mode property:

  • MAP_DEVICE
  • MAP_CHARACTER
  • MAP_DIALOG

What It Does

set_default_map_mode sets the value of the map_mode property for the desktop. This mode applies to all objects that do not set their own map_modes explicitly in either their class definitions or their object definitions. This map_mode is MAP_DIALOG unless a previous set_default_map_mode statement has set it to a different value. See the Map_mode Property for explanations of the modes.

set_default_map_mode to MAP_DIALOG

In this example, the default map_mode is set to MAP_DIALOG.