PPJ Web API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Web.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
      • stdole_Font
      • stdole_Picture
      • stdole_StdFont
      • stdole_StdPicture
    • Controls
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTimer
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
    • Interfaces
      • ISalType
      • ISalAccessory
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalListItem
      • ISalMenu
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalWindow
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuItem
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Web.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveComboBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Web.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • SalLine()
  • Properties
  • NamedProperties
  • Methods
  • BringWindowToTop()
  • CenterWindow()
  • ClearCursor(nType)
  • DestroyWindow()
  • DisableWindow()
  • EnableWindow()
  • FindChild(sWindowName)
  • FireWindowActions(nMsg, nMywParam, nMylParam)
  • FormUnitsToPixels(nFormUnits, bVertical)
  • GetClassName()
  • GetControlType()
  • GetFirstChild(nTypeMask)
  • GetFont(sName, nSize, nEnhancement)
  • GetLocation(nX, nY)
  • GetName(sText)
  • GetName()
  • GetNextChild(nTypeMask)
  • GetParent()
  • GetProperty(sName, sValue)
  • GetProperty(sName)
  • GetSize(nWidth, nHeight)
  • GetText(sText, nMaxLen)
  • GetText(nMaxLen)
  • GetWindowColor(nColorIndex)
  • GetWindowState()
  • HideWindow()
  • InvalidateWindow()
  • IsDerivedFromClass(tClass)
  • IsEnabled()
  • IsVisible()
  • KillTimer(nIDEvent)
  • MoveWindow(nXOffset, nYOffset)
  • PixelsToFormUnits(nNumPixels, bVertical)
  • PostMessage(nMsg, nMywParam, nMylParam)
  • SendMessage(nMsg, nMywParam, nMylParam)
  • SendMessageToChildren(nMsg, nMywParam, nMylParam)
  • SetContextMenu(sMenuName, nFlags)
  • SetContextMenu(menuType, nFlags)
  • SetCursor(nResourceId, nType)
  • SetCursor(sBlob, nType)
  • SetCursorFile(sFile, nType)
  • SetFocus()
  • SetFont(sName, nSize, nEnhancement)
  • SetLocation(nX, nY)
  • SetProperty(sName, sValue, nLength)
  • SetSize(nWidth, nHeight)
  • SetText(sText)
  • SetTimer(nIDEvent, nElapseMilliSec)
  • SetWindowColor(nColorIndex, nColor)
  • ShowWindow()
  • TrackPopupMenu(sMenuName, nFlags, nX, nY, callback)
  • TrackPopupMenu(menuType, nFlags, nX, nY, callback)
  • UpdateWindow()
  • Events
  • WindowActions
  • Implements
  1. PPJ.Web.49
  2. Controls

SalLine

PPJ.Runtime.Windows.SalLine

PreviousSalHorizontalScrollBarNextSalListBox

Last updated 2 years ago

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.49 (4.9.0.0)

Represents a control that draws a line.

public class SalLine : Line, ISalWindow
Public Class SalLine
    Inherits Line
    Implements ISalWindow

Constructors

SalLine()

Constructs a new SalLine control. This class cannot be used as second-base class.

Properties

NamedProperties

: Returns the collection of named properties.

Methods

Brings a window to the top of all overlapping windows.

Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.

Clears a window's cursor.

Parameter
Type
Description

nType

Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.

Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.

Enables keyboard and mouse input to a window.

This function finds a child window of a given name in the specified window.

Parameter
Type
Description

sWindowName

Dispatches the specified message (Window Actions) directly to the control's WindowActions event handlers, without going through Windows message loop.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.

Parameter
Type
Description

nFormUnits

bVertical

Return the name of a window's class as a string.

Returns an object's type.

Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.

Parameter
Type
Description

nTypeMask

Parameter
Type
Description

sName

nSize

nEnhancement

Parameter
Type
Description

nX

nY

Parameter
Type
Description

sText

Gets the name of an object.

Returns the handle of the next child window that matches a specified type.

Parameter
Type
Description

nTypeMask

Returns the handle of an object's parent window.

Parameter
Type
Description

sName

sValue

Gets the value of a named property.

Parameter
Type
Description

sName

Parameter
Type
Description

nWidth

nHeight

Parameter
Type
Description

sText

nMaxLen

Retrieves the text of a window.

Parameter
Type
Description

nMaxLen

Gets a window's color.

Parameter
Type
Description

nColorIndex

Returns a window's current state.

Hides a window.

Causes a window to be repainted.

Determines whether a window is an instance of the specified class.

Parameter
Type
Description

tClass

Determines whether a window is enabled for mouse and keyboard input.

Determines whether a window is currently visible.

Destroys an object's system timer.

Parameter
Type
Description

nIDEvent

Moves a window a given number of form units on the X and Y axes relative to its current position.

Parameter
Type
Description

nXOffset

nYOffset

Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.

Parameter
Type
Description

nNumPixels

bVertical

Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Sends a message to all child items of a form window, dialog box, table window, or MDI window.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

Parameter
Type
Description

sMenuName

nFlags

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

Parameter
Type
Description

menuType

nFlags

Sets a window's cursor.

Parameter
Type
Description

nResourceId

nType

Sets a window's cursor from a string variable.

Parameter
Type
Description

sBlob

nType

Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.

Parameter
Type
Description

sFile

nType

Sets the focus to a specified window.

Sets a window's font, font size, and font enhancements.

Parameter
Type
Description

sName

nSize

nEnhancement

Moves a window to a new position (x, y) on the X and Y axes.

Parameter
Type
Description

nX

nY

Sets the value of a named property.

Parameter
Type
Description

sName

sValue

nLength

Resizes a window.

Parameter
Type
Description

nWidth

nHeight

Sets the text of a window.

Parameter
Type
Description

sText

Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.

Parameter
Type
Description

nIDEvent

nElapseMilliSec

Sets a window's color.

Parameter
Type
Description

nColorIndex

nColor

Makes a window visible.

Creates pop-up menus at runtime.

Parameter
Type
Description

sMenuName

nFlags

nX

nY

callback

Creates pop-up menus at runtime.

Parameter
Type
Description

menuType

nFlags

nX

nY

callback

Forces the update of a window.

Events

Implements

Name
Description

All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface.

BringWindowToTop()

Returns: .

CenterWindow()

Returns: .

ClearCursor(nType)

Returns: .

DestroyWindow()

Returns: .

DisableWindow()

Returns: .

EnableWindow()

Returns: .

FindChild(sWindowName)

Returns: .

FireWindowActions(nMsg, nMywParam, nMylParam)

Returns: .

FormUnitsToPixels(nFormUnits, bVertical)

Returns: .

GetClassName()

Returns: .

GetControlType()

Returns: .

GetFirstChild(nTypeMask)

Returns: .

GetFont(sName, nSize, nEnhancement)

Returns: .

GetLocation(nX, nY)

Returns: .

GetName(sText)

Returns: .

GetName()

Returns: .

GetNextChild(nTypeMask)

Returns: .

GetParent()

Returns: .

GetProperty(sName, sValue)

Returns: .

GetProperty(sName)

Returns: .

GetSize(nWidth, nHeight)

Returns: .

GetText(sText, nMaxLen)

Returns: .

GetText(nMaxLen)

Returns: .

GetWindowColor(nColorIndex)

Returns: .

GetWindowState()

Returns: .

HideWindow()

Returns: .

InvalidateWindow()

Returns: .

IsDerivedFromClass(tClass)

Returns: .

IsEnabled()

Returns: .

IsVisible()

Returns: .

KillTimer(nIDEvent)

Returns: .

MoveWindow(nXOffset, nYOffset)

Returns: .

PixelsToFormUnits(nNumPixels, bVertical)

Returns: .

PostMessage(nMsg, nMywParam, nMylParam)

Returns: .

SendMessage(nMsg, nMywParam, nMylParam)

Returns: .

SendMessageToChildren(nMsg, nMywParam, nMylParam)

Returns: .

SetContextMenu(sMenuName, nFlags)

Returns: .

SetContextMenu(menuType, nFlags)

Returns: .

SetCursor(nResourceId, nType)

Returns: .

SetCursor(sBlob, nType)

Returns: .

SetCursorFile(sFile, nType)

Returns: .

SetFocus()

Returns: .

SetFont(sName, nSize, nEnhancement)

Returns: .

SetLocation(nX, nY)

Returns: .

SetProperty(sName, sValue, nLength)

Returns: .

SetSize(nWidth, nHeight)

Returns: .

SetText(sText)

Returns: .

SetTimer(nIDEvent, nElapseMilliSec)

Returns: .

SetWindowColor(nColorIndex, nColor)

Returns: .

ShowWindow()

Returns: .

TrackPopupMenu(sMenuName, nFlags, nX, nY, callback)

Returns: .

TrackPopupMenu(menuType, nFlags, nX, nY, callback)

Returns: .

UpdateWindow()

Returns: .

WindowActions

SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalNumber
SalNumber
SalString
SalNumber
SalWindowHandle
SalBoolean
SalBoolean
SalBoolean
SalString
SalWindowHandle
SalWindowHandle
SalBoolean
SalString
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
WindowActionsEventHandler
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalString&
SalNumber
SalString
SalString&
SalString
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalNumber
Type
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
Type
SalNumber
Int32
SalNumber
SalString
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
Action<ContextMenu>
Type
SalNumber
SalNumber
SalNumber
Action<ContextMenu>
ISalWindow
Control
Line
SalLine
SalNamedProperties