WireLess Studio Widgets Developer's Guide
WSWDG Contents → WStFactory class reference

WStFactory class

The WStFactory class allows the creation of forms and widgets,  the creation of custom fonts and the load of icons from a resource library (dll).

The objects created with this class will be destroyed when the application is closed.

WStFactory methods

The following table shows list of available methods for class WStFactory.

Name Description
CloneObject Creates an exact copy of a widget.
CreateCustomFont Creates a custom font that can be used by almost all the widgets.
CreateForm Creates a new form that can be modified and shown using the WStForm object.
CreateWidget Creates a new widget. All widgets can be customized with the WStWidget class.
FindForm Indicates if a given form was created before or not.
IsConnected Checks the current state of the connection with the mobile unit.
LoadExternalIcon Loads icons from a dynamic link library (Dll).
LoadFormsFromFile Loads the forms used by an application.