[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Forms' (#lcl)

# Reference for unit 'Forms': Procedures and functions

`CreateWidgetset` |  | Creates the widgetset singleton.
`dbgs` |  | Formats debugger messages for various types by converting their values into readable text.
`FindRootDesigner` |  | Gets the designer object for the specified persistent object (or its parent).
`FreeWidgetSet` |  | Destroys singletons for the Screen, Application, and WidgetSet.
`GetDesignerForm` |  | Gets the Form with the designer object for the specified control or persistent object.
`GetFirstParentForm` |  | Performs a recursive search for the first Parent of type TCustomForm.
`GetLongHint` |  | Returns the long version of a Hint string.
`GetParentDesignControl` |  | Gets the control which is the top-most TCustomDesignControl instance for the specified control, or Nil when not a TCustomDesignControl instance.
`GetParentForm` |  | Gets the form instance for the specified Control.
`GetShortHint` |  | Returns the short version of a Hint string.
`GetTopFormSkipNonDocked` |  | Gets the top-most form which hosts the specified control docksite form instances.
`IsAccel` |  | Determines whether the specified virtual key is used as an accelerator (short cut) in the given caption string.
`KeyboardStateToShiftState` |  | Converts virtual key state codes to TShiftState values.
`KeyDataToShiftState` |  | Converts modifier keys from the LParam in a keyboard message (WM_KEYUP for example) to a TShiftState value.
`KeysToShiftState` |  | Converts modifier keys in the LParam for a mouse message to a TShiftState value.
`NeedParentDesignControl` |  | Ensures that a TCustomDesignControl instance is found for the specified control.
`NotifyApplicationUserInput` |  | Signals all user input handlers for the application using the specified message.
`Register` |  | Registers components declared in this unit.
`RestoreFocusState` |  | Restores the previous focus state for an application to the specified value.
`SaveFocusState` |  | Saves the last focus state (focused control) in an application.
`ShiftStateToKeys` |  | Converts a shift state into a key state value compatible with the key state of a Windows API LParam.
`StrToWindowState` |  | Converts a string to a TWindowState enumeration value.
`ValidParentForm` |  | Gets a valid parent form for the specified control.
`WindowStateToStr` |  | Converts a TWindowState enumeration value to its String representation.