LogiView

Command 'row_set_limit'

     

This command is used to specifiy the maximum number of possible records (lines) for the specified widget (mask limitation). This command could be compared with the function 'mas_set_max_rec' of the DataView programming interface.

 

Syntax:

  row_set_limit({WDG_ID},{NUM_EXPR})
 

I/O parameters:

{WDG_ID} ID of the widget for the mask.
{NUM_EXPR} Maximum number of possible records in the specified widget. Only the integer portion of the forwarded value is accounted.
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
 70 if (row_ret_limit(widget_id()) < 500)
 80   row_set_limit(widget_id(),500)
 90   put("The mask limitation was increased to 500 records.")
100 endif
  Result:
  If the maximum number of displayed lines in the current widget is lower than 500, the limitation is increased to 500.

Functions and commands: Editing Masks