Creation/Dev/Script/Client/GuiMLTextCtrl: Difference between revisions

From Graal Bible
mNo edit summary
 
No edit summary
Line 1: Line 1:
<pre>
Inherits [[Creation/Dev/Script/Client/GuiMLTextCtrl|GuiMLTextCtrl]].
    GuiMLTextCtrl (GuiControl):
 
      allowcolorchars - boolean
 
      allowedtags - string
=Variables=
      alpha - float
 
      deniedsound - string
allowcolorchars - boolean
      disallowedtags - string
 
      maxchars - integer
allowedtags - string
      parsetags - boolean
 
      syntaxhighlighting - boolean
alpha - float
      text - string
 
      wordwrap - boolean
deniedsound - string
      addtext(str, bool)
 
      getcursorline() - returns integer
disallowedtags - string
      getline(int) - returns string
 
      getlinecount() - returns integer
maxchars - integer
      getlines() - returns object - array of lines
 
      gettext() - returns string
parsetags - boolean
      reflow()
 
      scrolltobottom()
syntaxhighlighting - boolean
      scrolltotag(int)
 
      scrolltotop()
text - string
      setlines(obj)
 
      settext(str)
wordwrap - boolean
</pre>
 
 
=Functions=
 
addtext(str, bool)
 
getcursorline() - returns integer
 
getline(int) - returns string
 
getlinecount() - returns integer
 
getlines() - returns object - array of lines
 
gettext() - returns string
 
reflow()
 
scrolltobottom()
 
scrolltotag(int)
 
scrolltotop()
 
setlines(obj)
 
settext(str)
 
 
=Events=
 
onCursorLineChanged(line) - the cursor has been moved to another line
 
onSelectedTag(tagid) - an image inside the control has been clicked (<img src=imagefile id=tagid>-tag)
 
onURL(url) - an url has been clicked (<a href=url>-tag)
 
onReflow(newwidth,newheight) - the size of the displayed text has been changed

Revision as of 14:58, 25 February 2006

Inherits GuiMLTextCtrl.


Variables

allowcolorchars - boolean

allowedtags - string

alpha - float

deniedsound - string

disallowedtags - string

maxchars - integer

parsetags - boolean

syntaxhighlighting - boolean

text - string

wordwrap - boolean


Functions

addtext(str, bool)

getcursorline() - returns integer

getline(int) - returns string

getlinecount() - returns integer

getlines() - returns object - array of lines

gettext() - returns string

reflow()

scrolltobottom()

scrolltotag(int)

scrolltotop()

setlines(obj)

settext(str)


Events

onCursorLineChanged(line) - the cursor has been moved to another line

onSelectedTag(tagid) - an image inside the control has been clicked (<img src=imagefile id=tagid>-tag)

onURL(url) - an url has been clicked (<a href=url>-tag)

onReflow(newwidth,newheight) - the size of the displayed text has been changed