This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
VP COLUMN AUTOFIT

VP COLUMN AUTOFIT 


 

VP COLUMN AUTOFIT ( rangeObj ) 
Parameter Type   Description
rangeObj  Object in Range object

The VP COLUMN AUTOFIT command automatically sizes the column(s) in rangeObj according to their contents.

In rangeObj, pass a range object containing a range of the columns whose size will be automatically handled.

 

Example  

The following columns are all the same size and don't display some of the text: 

 

 

Selecting the columns and running this code:

 VP COLUMN AUTOFIT(VP Get selection("ViewProarea"))

 

Resizes the columns to fit the size of the contents: 

 



See also 

VP ROW AUTOFIT

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Language
Number: 9945

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v18 R2

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)