EditBox

Parent: Window

Table of Content


Event

EditBoxChanged

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • strText (String) - The new text

Event

EditBoxChanging

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • strNewText (String)
  • strOldText (String)
  • bAllowed (Boolean)

Event

EditBoxEscape

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened

Event

EditBoxReturn

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • strText (String)

Event

EditBoxTab

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened
  • strText (String)

Event

EditBoxTextTooLarge

Params

  • wndHandler (Window) - The window that fires the event
  • wndControl (Window) - The window control with the event happened

Method

AddHistoryString(strHistoryString)

Description

Adds to the caller's string list the parameter sHistoryString.

Params

  • strHistoryString (String)

Method


Method

ClearHistoryStrings()

Description

Clears the caller's string list.


Method

ClearText()

Description

Sets the caller's text to null then collapses and moves the caller's window rectangle.


Method

CopyTextToClipboard() (Deprecated)

Description

Calls OnCopy() which copies the caller's text to clipboard.


Method


Method

GetHistoryStrings()

Description

Does a lua push of the caller's string list count number and string.


Method

GetMaxTextLength()


Method

GetSel()


Method

GetText()

Description

Does a lua_pushwstring of the caller's m_pText as a string.


Method

HitTest()


Method

InsertText()


Method

PasteTextFromClipboard()

Description

Calls OnPaste() which pastes the clipboard's contents into the caller's text.


Method


Method

SetMaxTextLength()


Method

SetPrompt()


Method

SetPromptColor()


Method

SetSel(nBegin, nEnd)

Description

Sets the caller's selection range starting with iBegin and ending with iEnd.

Params

  • nBegin (Integer)
  • nEnd (Integer)

Method

SetText(strText)

Description

Sets the caller's text to sText.

Params

  • strText (String)

results matching ""

    No results matching ""