Description
Resizes the grid in the GridChoiceDialog to display based on the number of rows specified. This eliminates white space in the dialog window.
Applicable Events
Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.FitToRows(nNumberOfRows)
Parameters
Object is a reference to the GridChoiceDialog object. For more information, see GridChoiceDialog Object (page GridChoiceDialog Object).
FitToRows is the command.
nNumberOfRows is the number of rows to base the height on. This can be a literal number or a numeric variable.
Example
GridChoiceDialog.FitToRows( GridChoiceDialog.NumberRows )