FlashGUI Functions

  Objects Object functions Other functions  

Object functions / do

do

do(objnum,action)

executes an additional action

Parameters

objnumobject number (0 means window)
actionaction [parameters]

Entry object actions

Action [parameters]Description
cmenu flagto use (1) or not to use (0) standard context menu
setsel spos,eposselect text from spos to epos (may delimit by @am)

Table actions

Action [parameters]Description
setcolw colnum,colwidthset column width in pixels

Textbox object actions

Action [parameters]Description
undoUNDO
redoREDO
cutCUT
copyCOPY
pastePASTE
printprint text
append textappend text
lineobj objnum prefixdisplay current line number in object objnum with prefix
colobj objnum prefixdisplay current position in object objnum with prefix
charobj objnum prefixdisplay current character code in object objnum with prefix
zoominincrease font
zoomoutdecrease font
cmenu flagto use (1) or not to use (0) standard comntext menu
replsel newtextreplace selected text with newtext
replall flags,findtext:CHAR(1):repltextreplace all occurences of findtext with repltext
gotoline linenumgo to line linenum
selectallselect all text without scrolling
selwordselect current word
setsel spos,eposselect text from spos to epos (may delimit by @am)
setfolding flaguse (1) or not use (0) text folding feature
setsaveset modifyflag=0
setundo flagcollect (1) or not collect (0) Undo information
dellinedelete current line
duplineduplicate current line
setline linenum,linetextset linetext in line linenum
insline linenum,linetextinsert linetext line before line linenum
setlexer flaguse (1) or not use (0) lexer feature (higlighting keywords)
indents flagshow (1) or not show (0) indentation guides
indentsize sizeset indent size
caretw numcaret width in pixels (0, 1, 2 or 3)

Winbox object

Action [parameters]Description
popuprestores the window from minimized to normal view

All objects actions

Action [parameters]Description
setpos x,y,x,ysets the top left and the bottom right corner positions
in pixels (comma, @am or @vm delimited)
chpos +-x,+-y,+-x,+-ychanges the top left and the bottom right corner positions
in pixels (comma, @am or @vm delimited)

See also

getdtreturns additional data
 

Page 4-44 | Updated Oct 29, 2008 at 11:24:09 | © Infoved 2010