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

Home

 
4D v19
VP DELETE COLUMNS

VP DELETE COLUMNS 


 

VP DELETE COLUMNS ( rangeObj ) 
Parameter Type   Description
rangeObj  Object in Range object

The VP DELETE COLUMNS command removes the columns in the rangeObj.

In rangeObj, pass an object containing a range of columns to remove. If the passed range contains:

  • both columns and rows, only the columns are removed. 
  • only rows, the command does nothing.

Note: Columns are deleted from right to left.

Example  

To delete columns selected by the user (in the image below columns B, C, and D):

use the following code:

 VP DELETE COLUMNS(VP Get selection("ViewProArea"))



See also 

VP DELETE ROWS
VP INSERT COLUMNS
VP INSERT ROWS

 
PROPERTIES 

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

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v18 R2

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)