Edit Class

From DevWiki

Jump to: navigation, search

Applications,Python API,MC Module

Contents


Overview

GetEdit(controlId:Integer):Edit
Represents an edit control in the user interface. Get the object by calling GetEdit().

  1. edit = mc.GetWindow(14000).GetEdit(3500)
  1. <onclick lang="python"><![CDATA[
  2. edit = mc.GetWindow(14000).GetEdit(3500)
  3. ]]></onclick>


GetText

GetText():String
Gets the text of the edit control.

  1. editText = edit.GetText()


SetText

SetText(editText:String):Void
Sets the text of the edit control.

  1. newText = "I Love Boxee!"
  2. edit.SetText(newText)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox