Click or drag to resize

TopAppWindow Class (Typed)

X#
Create a top-level application window.
Inheritance Hierarchy
Object
  VObject
    EventContext
      Window
        AppWindow
          TopAppWindow

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS TopAppWindow INHERIT AppWindow
Request Example View Source

The TopAppWindow type exposes the following members.

Constructors
  NameDescription
Public methodTopAppWindow
Create a top-level application window.
Top
Functions
  NameDescription
Public methodDestroy
Provide a method to free memory resources allocated for an AppWindow object and its derived objects.
(Overrides Destroy.)
Public methodResize
Provide a method that is invoked when the window changes size.
(Overrides Resize(ResizeEvent).)
Public methodToolBarHeightChanged (Overrides ToolBarHeightChanged(ControlNotifyEvent).)
Top
Remarks
A top-level application window is the main window of an application; it has no owner windows. As with other application windows, a top application window can have icons, captions, resizeable borders, menus, and system menus. An application can have more than one top application window.
Examples
This example creates a top application window with the caption "TopAppWindow":
X#
1METHOD Start() CLASS App
2MyWin := TopAppWindow{}
3MyWin:Caption := "TopAppWindow"
4MyWin:Show()
5SELF:Exec()
See Also