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

Home

 
4D v20 R7
WP DELETE HEADER

WP DELETE HEADER 


 

WP DELETE HEADER ( wpSection ) 
Parameter Type   Description
wpSection  Object in 4D Write Pro section or subsection

The WP DELETE HEADER command deletes the header element associated to the section or subsection defined by the wpSection parameter.

If no header element exists for the section or subsection, the command does nothing.

Example  

You want to delete the header of the right pages of a section:

 C_OBJECT($section;$subsection;$header)
  //Retrieve the reference on the first section
 $section:=WP Get section(wpDoc;1)
  //Retrieve the reference on right subsection of the first section
 $subsection:=WP Get subsection($section;wk right page)
 
  //Remove the header
 WP DELETE HEADER($subsection)



See also 

WP Get header
WP New header

 
PROPERTIES 

Product: 4D
Theme: 4D Write Pro Language
Number: 1588

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R3

 
ARTICLE USAGE

4D Write Pro Reference ( 4D v20 R7)