Apply a style to a form item
Styles defined in a style file (4st) can be applied to forms and form items for form previews and style dialogs.
Before you begin:
Identify the style file to use. You may have created your own, you may be using a shared style file with other developers, or you may be relying on a default style file. Understand which file you are using before you start this procedure.
Important: The
styleFile
property is only used by the Form Designer when previewing the form and for populating Form
Designer-related style dialogs. To apply a style file with your Genero application, you must load
the style file using the ui.Interface.loadStyles
method. See the Genero Business Development Language User Guide for more
information regarding the use of style files by Genero applications.