Skip to main content
Version: 20 R6

VP REMOVE STYLESHEET

VP REMOVE STYLESHEET ( vpAreaName : Text ; styleName : Text { ; sheet : Integer } )

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
styleNameText->Name of style to remove
sheetInteger->Sheet index (current sheet if omitted)

Description

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 sheet parameter using the sheet index (counting begins at 0) or with the following constants:

  • vk current sheet
  • vk workbook

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