4D v14.3

LIST OF STYLE SHEETS

Home

 
4D v14.3
LIST OF STYLE SHEETS

LIST OF STYLE SHEETS 


 

LIST OF STYLE SHEETS ( arrStyleSheets ) 
Parameter Type   Description
arrStyleSheets  Text array in Names of style sheets defined in the application

The LIST OF STYLE SHEETS command returns the list of application style sheets in the arrStyleSheets array.

If it was not already defined previously, the arrStyleSheets text array is created by the command. It is automatically sized according to the number of style sheets defined. 

After executing the command, each element of the array contains the name of a style sheet. These names are sorted alphabetically, as in the style sheet editor. The first array element always contains "__automatic__", which represents the "Automatic" style sheet.

Example  

In your application, the following style sheets are defined:

If you execute the following code:

 LIST OF STYLE SHEETS($arrStyles)
  // $arrStyles{1} contains "__automatic__"
  // $arrStyles{2} contains "Buttons"
  // $arrStyles{3} contains "default"
  // $arrStyles{4} contains "Input_fields"
  // $arrStyles{5} contains "Labels"
  // $arrStyles{6} contains "Variables"

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1255

 
HISTORY 

New
Created: 4D v14

 
SEE ALSO 

GET STYLE SHEET INFO
OBJECT SET STYLE SHEET

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)