Jump to content

VRLine

From EDM2
Revision as of 02:04, 31 March 2017 by Martini (talk | contribs) (Created page with "The Line Object is a simple object allows you to draw horizontal or vertical lines in a VX-REXX window. The Line Object has no methods other than the standard methods availa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Line Object is a simple object allows you to draw horizontal or vertical lines in a VX-REXX window.

The Line Object has no methods other than the standard methods available to any VX-REXX object:

  • DefineEvent
  • InvokeHelp
  • ListMethods
  • ListProperties
  • PostEvent
  • StartDrag

Properties

Specific Properties

The Line Object has the following specific properties:

oDirection oLineColor oThickness

Direction

Defines the direction of the line. When you change the Direction property, the line will pivot around its top/left anchor point.

Note: You can also use the first character of the word V or H to set the direction.

Data Type
String
Possible Values
  • Horizontal
  • Vertical

LineColor

Sets the color of the line to any of the standard VX-REXX colours.

Note: Using the "<default>" colour will make the line invisible.

Data Type
String
Possible Values
  • White
  • Black
  • Blue
  • Red
  • Pink
  • Green
  • Cyan
  • Yellow
  • DarkGray
  • DarkBlue
  • DarkRed
  • DarkPink
  • DarkGreen
  • DarkCyan
  • Brown
  • PaleGrey
  • <default>


Standard Properties

The Line Object also has the following standard properties:

oClassName oClipSiblings oEnabled oFirstChild oHeight oHelpTag oHelpText oHintText oHWnd oLeft oName oPainting oParent oSelf oSibling oSiblingOrder oTop oUserData oVisible oWidth