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
  • SalMultilineField()
  • Properties
  • CultureInfo
  • NamedProperties
  • Text
  • Methods
  • BringWindowToTop()
  • CenterWindow()
  • Clear()
  • ClearCursor(nType)
  • DestroyWindow()
  • DisableWindow()
  • DisableWindowAndLabel()
  • EnableWindow()
  • EnableWindowAndLabel()
  • FindChild(sWindowName)
  • FireWindowActions(nMsg, nMywParam, nMylParam)
  • FormUnitsToPixels(nFormUnits, bVertical)
  • GetClassName()
  • GetControlType()
  • GetDataLength()
  • GetDataType()
  • GetFirstChild(nTypeMask)
  • GetFont(sName, nSize, nEnhancement)
  • GetFormat(sPicture)
  • GetFormat()
  • GetFormatCode()
  • GetFormattedText(sText, bFormat)
  • GetFormattedText(bFormat)
  • GetInputMask(sMask)
  • GetInputMask()
  • GetLabel()
  • GetLabelText(sText, nMaxLength)
  • GetLabelText(nMaxLength)
  • GetLocation(nX, nY)
  • GetName(sText)
  • GetName()
  • GetNextChild(nTypeMask)
  • GetParent()
  • GetProperty(sName, sValue)
  • GetProperty(sName)
  • GetSize(nWidth, nHeight)
  • GetText(sText, nMaxLen)
  • GetText(nMaxLen)
  • GetTextUnmasked(sText)
  • GetTextUnmasked()
  • GetWindowColor(nColorIndex)
  • GetWindowState()
  • HideWindow()
  • HideWindowAndLabel()
  • InvalidateWindow()
  • IsDerivedFromClass(tClass)
  • IsEmpty()
  • IsEnabled()
  • IsModified()
  • IsValid()
  • IsValidDateTime()
  • IsValidDecimal(nPrecision, nScale)
  • IsValidInteger()
  • IsValidNumber()
  • 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)
  • SetDataLength(length)
  • SetFocus()
  • SetFont(sName, nSize, nEnhancement)
  • SetFormat(sPicture)
  • SetFormatCode(nFormat)
  • SetInputMask(sMask)
  • SetLabelText(sText)
  • SetLocation(nX, nY)
  • SetModified(bSet)
  • SetProperty(sName, sValue, nLength)
  • SetSize(nWidth, nHeight)
  • SetText(sText)
  • SetText(sValue, bFormat)
  • SetTimer(nIDEvent, nElapseMilliSec)
  • SetWindowColor(nColorIndex, nColor)
  • ShowWindow()
  • ShowWindowAndLabel()
  • TrackPopupMenu(sMenuName, nFlags, nX, nY, callback)
  • TrackPopupMenu(menuType, nFlags, nX, nY, callback)
  • UpdateWindow()
  • Validate()
  • Validate(nValidate)
  • Events
  • WindowActions
  • Implements
  1. PPJ.Web.49
  2. Controls

SalMultilineField

PPJ.Runtime.Windows.SalMultilineField

PreviousSalListBoxNextSalNavigationBar

Last updated 2 years ago

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.49 (4.9.0.0)

Represents an editable control that allows the user to enter multiple lines of text.

public class SalMultilineField : TextBox, ISalWindow, ISalEditControl, ISalControl, IConvertible
Public Class SalMultilineField
    Inherits TextBox
    Implements ISalWindow, ISalEditControl, ISalControl, IConvertible

Constructors

SalMultilineField()

Constructs a SalMultilineField object.

Properties

CultureInfo

: Returns/Sets the culture to use for this control. (Default: null)

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 the value from a data field, multiline field, or table window column.

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.

Disables keyboard and mouse input to a window and grays out its associated label. A label is the label control that immediately precedes the window in the outline. The label control must have a mnemonic. 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.

Enables keyboard and mouse input to a window and enables its associated label as well. A label is the label control that immediately precedes the window in the outline.

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 maximum length of a data field, multiline text field, or table window column.

Returns a data field's or table window column's data 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

sPicture

Gets the picture format of a data field or table window column.

Returns the current format of a data field or table window column.

Parameter
Type
Description

sText

bFormat

Copies the contents of a data field or table window column to a string. This function also lets you copy the format of the data.

Parameter
Type
Description

bFormat

Parameter
Type
Description

sMask

Gets the input mask of a data field or table window column.

Retrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.

Parameter
Type
Description

sText

nMaxLength

Retrieves the text of the label associated to a control. Important: The label control does not require a mnemonic for the functions listed above to operate.

Parameter
Type
Description

nMaxLength

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

Parameter
Type
Description

sText

Unmasks the text from a masked edit control.

Gets a window's color.

Parameter
Type
Description

nColorIndex

Returns a window's current state.

Hides a window.

Hides a window and its associated label.

Causes a window to be repainted.

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

Parameter
Type
Description

tClass

Verifies whether a data field, multiline text field, or table window column is null or empty.

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

Returns the setting of the Field Edit Flag for a data field, multiline field, combo box, table window's context row cell, or picture.

Validates the contents of a data field or table window column using the current profile.

Verifies whether a data field, multiline text field, or table window column contains a valid date/time value. For multiline text fields, the date/time value must be the only item in the field.

Verifies whether a data field, multiline text field, or table window column contains a valid decimal value. For multiline text fields, the decimal value must be the only item in the field.

Parameter
Type
Description

nPrecision

nScale

Verifies whether a data field, multiline text field, or table window column contains a valid integer value. For multiline text fields, the integer value must be the only item in the field.

Verifies whether a data field, multiline text field, or table window column contains a valid numeric value. Valid numbers are integers or floating point numbers, negative and positive. For multiline text fields, the numeric value must be the only item in the field.

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 a limit on the number of characters that a user can enter into a data field, multiline text field, or table window column.

Parameter
Type
Description

length

Sets the focus to a specified window.

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

Parameter
Type
Description

sName

nSize

nEnhancement

Sets the picture format of a data field or table window column.

Parameter
Type
Description

sPicture

Sets a data field's or table window column's format.

Parameter
Type
Description

nFormat

Sets the input mask of a data field or table window column.

Parameter
Type
Description

sMask

Sets the text of the associaetd label control.

Parameter
Type
Description

sText

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

Parameter
Type
Description

nX

nY

Sets or clears the field edit flag for an editable data field, combo box, multiline text field, table window column, or picture.

Parameter
Type
Description

bSet

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

Copies a string to a data field or table window column. After copying the string to the field, formats the string.

Parameter
Type
Description

sValue

bFormat

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.

Makes a window and its associated label visible. A label is the label control that immediately precedes the window in the outline.

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.

Validates and formats a data field's or table window column's contents.

Validates and formats a data field's or table window column's contents.

Parameter
Type
Description

nValidate

Events

Implements

Name
Description

All SAL controls implement this interface.

SAL Editable controls implement this interface

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

NamedProperties

: Returns the collection of named properties.

Text

: Returns/Sets the text of the multiline field. (Default: "")

BringWindowToTop()

Returns: .

CenterWindow()

Returns: .

Clear()

Returns: .

ClearCursor(nType)

Returns: .

DestroyWindow()

Returns: .

DisableWindow()

Returns: .

DisableWindowAndLabel()

Returns: .

EnableWindow()

Returns: .

EnableWindowAndLabel()

Returns: .

FindChild(sWindowName)

Returns: .

FireWindowActions(nMsg, nMywParam, nMylParam)

Returns: .

FormUnitsToPixels(nFormUnits, bVertical)

Returns: .

GetClassName()

Returns: .

GetControlType()

Returns: .

GetDataLength()

Returns: .

GetDataType()

Returns: .

GetFirstChild(nTypeMask)

Returns: .

GetFont(sName, nSize, nEnhancement)

Returns: .

GetFormat(sPicture)

Returns: .

GetFormat()

Returns: .

GetFormatCode()

Returns: .

GetFormattedText(sText, bFormat)

Returns: .

GetFormattedText(bFormat)

Returns: .

GetInputMask(sMask)

Returns: .

GetInputMask()

Returns: .

GetLabel()

Returns: .

GetLabelText(sText, nMaxLength)

Returns: .

GetLabelText(nMaxLength)

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: .

GetTextUnmasked(sText)

Returns: .

GetTextUnmasked()

Returns: .

GetWindowColor(nColorIndex)

Returns: .

GetWindowState()

Returns: .

HideWindow()

Returns: .

HideWindowAndLabel()

Returns: .

InvalidateWindow()

Returns: .

IsDerivedFromClass(tClass)

Returns: .

IsEmpty()

Returns: .

IsEnabled()

Returns: .

IsModified()

Returns: .

IsValid()

Returns: .

IsValidDateTime()

Returns: .

IsValidDecimal(nPrecision, nScale)

Returns: .

IsValidInteger()

Returns: .

IsValidNumber()

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: .

SetDataLength(length)

Returns: .

SetFocus()

Returns: .

SetFont(sName, nSize, nEnhancement)

Returns: .

SetFormat(sPicture)

Returns: .

SetFormatCode(nFormat)

Returns: .

SetInputMask(sMask)

Returns: .

SetLabelText(sText)

Returns: .

SetLocation(nX, nY)

Returns: .

SetModified(bSet)

Returns: .

SetProperty(sName, sValue, nLength)

Returns: .

SetSize(nWidth, nHeight)

Returns: .

SetText(sText)

Returns: .

SetText(sValue, bFormat)

Returns: .

SetTimer(nIDEvent, nElapseMilliSec)

Returns: .

SetWindowColor(nColorIndex, nColor)

Returns: .

ShowWindow()

Returns: .

ShowWindowAndLabel()

Returns: .

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

Returns: .

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

Returns: .

UpdateWindow()

Returns: .

Validate()

Returns: .

Validate(nValidate)

Returns: .

WindowActions

SalNamedProperties
String
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalWindowHandle
SalBoolean
SalBoolean
SalString
SalNumber
SalBoolean
SalString
SalBoolean
SalString
SalWindowHandle
SalNumber
SalString
SalBoolean
SalBoolean
SalString
SalWindowHandle
SalWindowHandle
SalBoolean
SalString
SalBoolean
SalNumber
SalString
SalBoolean
SalString
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
WindowActionsEventHandler
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalString&
SalNumber&
SalNumber&
SalString&
SalString&
SalBoolean
SalBoolean
SalString&
SalString&
SalNumber
SalNumber
SalNumber&
SalNumber&
SalString&
SalNumber
SalString
SalString&
SalString
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalString&
SalNumber
Type
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
Type
SalNumber
Int32
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalString
SalString
SalNumber
SalNumber
SalBoolean
SalString
SalString
SalNumber
SalNumber
SalNumber
SalString
SalString
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
Action<ContextMenu>
Type
SalNumber
SalNumber
SalNumber
Action<ContextMenu>
SalNumber
ISalControl
ISalEditControl
ISalWindow
Control
TextBoxBase
TextBox
SalMultilineField
CultureInfo