4D v18VP REMOVE STYLESHEET |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v18
VP REMOVE STYLESHEET
|
VP REMOVE STYLESHEET ( vpAreaName , styleName {, scope} ) | ||||||||
Parameter | Type | Description | ||||||
vpAreaName | Text |
![]() |
4D View Pro area form object name | |||||
styleName | Text |
![]() |
Name of style to remove | |||||
scope | Longint |
![]() |
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. |
To remove the GreenDashDotStyle style object from the current sheet:
VP REMOVE STYLESHEET("ViewProArea";"GreenDashDotStyle")
Product: 4D
Theme: 4D View Pro Language
Number:
9754
Created: 4D v17 R6
4D View Pro Reference ( 4D v18)