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

Home

 
4D v19
VP REMOVE STYLESHEET

VP REMOVE STYLESHEET 


 

VP REMOVE STYLESHEET ( vpAreaName , styleName {, scope} ) 
Parameter Type   Description
vpAreaName  Text in 4D View Pro area form object name
styleName  Text in Name of style to remove
scope  Longint in Target scope (default = current sheet)

The VP REMOVE STYLESHEET command removes the style sheet passed in the styleName from the vpAreaName.

In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.

Pass the style sheet to remove in the styleName parameter.

You can define where to remove the style in the optional scope parameter using the sheet index (counting begins at 0) or with the following constants:

 

Constant Value Comment
vk current sheet -1 Designates current sheet of the 4D View Pro area (default)
vk workbook -2 Designates the entire workbook of the 4D View Pro area.

Example  

To remove the GreenDashDotStyle style object from the current sheet:

 VP REMOVE STYLESHEET("ViewProArea";"GreenDashDotStyle")



See also 

VP ADD STYLESHEET
VP Get stylesheet
VP Get stylesheets

 
PROPERTIES 

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

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R6

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)