EasyLanguage Object Reference

Form Class

Allows you to display a custom form window or dialog as part of a TradeStation analysis technique, strategy, or trading app.

Namespace: elsystem.windows.forms

[ Expand All ]
Properties
  Name Type Description
Public property Position object Gets or sets a Point object identifying the location of the upper left corner of the form in screen coordinates.
Public property TopMost boolean True when the form is to be displayed always-on-top of other windows.
Public property Visible boolean True when a control and all its child controls are displayed.
Public property WindowState enum Gets or sets the state of the window (maximized, minimized, or normal). See FormWindowState for a list of possible values.

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

Methods
  Name Description
Public property AddControl(control) Adds a control to a container within the form.
Public property Create() Creates a new instance of a form.
Public property Create(text,width,height) Creates a new instance of a form.  Parameters include the Text to appear on the title bar followed by the Width and Height of the control.
Public property Location(x,y) Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Public property RemoveGradient() Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Public property SetLinearGradient(mode, startColor, endColor) Creates a linear gradient listview background. See LinearGradientMode and Color for lists of possible values.
Public property SetRadialGradient(startColor, endColor) Creates a radial gradient listview background. See Color for a list of possible values.
Public property Show() Displays the form.
Event
  Name Description
Public event Resize Occurs when a form is resized. See EventArgs for the properties returned by the handler's args parameter.
Inheritance Hierarchy

elsystem.Object

  elsystem.DotNetObject

    elsystem.ELComponent

      elsystem.ELWFComponent

        elsystem.windows.forms.ContainerControl

          elsystem.windows.forms.Control

            elsystem.windows.forms.Form