map_items_to_scroll()

Purpose

Returns the number of records to be brought in with the function pick_record()

Old name

#define items_to_scroll map_items_to_scroll

Syntax

int map_items_to_scroll(mapnr, direction)

Parameters

int mapnr

Number of display map

 

int direction

Direction corresponding to cursor input

Description

The map_items_to_scroll() function is used by the functions pick_record() and pick_list(). It is for private use only.

See the code for the function pick_record() for more details on its use in pick lists.

Return values

Returns the number of records to be brought in according to the row and column arrangement of the map