The OBJECT Get style sheet command returns the name of the style sheet associated with the object(s) designated by the object and * parameters.
Style sheets may have been assigned in Design mode using the Property List, or for the current process using the OBJECT SET STYLE SHEET command.
Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).
The command can return either:
- a style sheet name,
- the string "__automatic__" if the "Automatic" style sheet is assigned,
- an empty string ("") if no style sheet is assigned.
If the command designates several objects, the style sheet returned is only meaningful if the style sheet is assigned to all of the objects.