|
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:
|
||||||||||
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 |