Xojo Documentation Xojo Documentation

  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Log in
  • Xojo Documentation
  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

WebTextField

From Xojo Documentation

Supported Platforms
Project Types: Web     Platforms: macOS, Windows, Linux


For desktop applications, see TextField.

Class (inherits from WebTextControl)


New in 2010r4

A single line, editable text control. The web equivalent of the desktop TextField control.

Events
Close KeyPressed MouseUp
ContextualMenuAction LostFocus Open
DoubleClick MouseDown Resized
DropObject MouseEnter Shown
GotFocus MouseExit TextChanged
Hidden MouseMove
Properties
AutoCapitalize HorizontalCenter ReadOnly
AutoComplete Left Style
AutoCorrect LimitText Text
ContextualMenu LockBottom TextAlign
ControlID fa-lock-32.png LockHorizontal Top
CueText LockLeft Type
Cursor LockRight VerticalCenter
DragOverStyle LockTop Visible
Enabled LockVertical Width
HasFocusRing Name fa-lock-32.png Zindex
Height Page fa-lock-32.png
HelpTag Parent fa-lock-32.png
Methods
AcceptPictureDrop AllowRawDataDrag MsgBox
AcceptRawDataDrop AllowTextDrag PresentContextualMenu
AcceptTextDrop Close SetFocus
AllowPictureDrag ExecuteJavaScript ShowURL

Sample Code

Display text in the text field:

TextField1.Text = "Hello, World!"

See Also

WebLabel, WebTextArea, WebSearchField

Retrieved from "http://docs.xojo.com/index.php?title=WebTextField&oldid=58804"
Categories:
  • Classes
  • Language Reference
  • Language Reference Index
  • New2010r4
  • Web
  • Text Controls
  • This page was last edited on 22 January 2019, at 18:55.
  • Privacy policy
  • About Xojo Documentation
  • Disclaimers
  • Send Doc Feedback
  • Powered by MediaWiki