|
« delwin dropdown »
Object functions / do
do
do(objnum,action)
executes an additional action
Parameters
| objnum | object number (0 means window) |
| action | action [parameters] |
Entry object actions
| Action [parameters] | Description |
| cmenu flag | to use (1) or not to use (0) standard context menu |
| setsel spos,epos | select text from spos to epos (may delimit by @am) |
Table actions
| Action [parameters] | Description |
| setcolw colnum,colwidth | set column width in pixels |
Textbox object actions
| Action [parameters] | Description |
| undo | UNDO |
| redo | REDO |
| cut | CUT |
| copy | COPY |
| paste | PASTE |
| print | print text |
| append text | append text |
| lineobj objnum prefix | display current line number in object objnum with prefix |
| colobj objnum prefix | display current position in object objnum with prefix |
| charobj objnum prefix | display current character code in object objnum with prefix |
| zoomin | increase font |
| zoomout | decrease font |
| cmenu flag | to use (1) or not to use (0) standard comntext menu |
| replsel newtext | replace selected text with newtext |
| replall flags,findtext:CHAR(1):repltext | replace all occurences of findtext with repltext |
| gotoline linenum | go to line linenum |
| selectall | select all text without scrolling |
| selword | select current word |
| setsel spos,epos | select text from spos to epos (may delimit by @am) |
| setfolding flag | use (1) or not use (0) text folding feature |
| setsave | set modifyflag=0 |
| setundo flag | collect (1) or not collect (0) Undo information |
| delline | delete current line |
| dupline | duplicate current line |
| setline linenum,linetext | set linetext in line linenum |
| insline linenum,linetext | insert linetext line before line linenum |
| setlexer flag | use (1) or not use (0) lexer feature (higlighting keywords) |
| indents flag | show (1) or not show (0) indentation guides |
| indentsize size | set indent size |
| caretw num | caret width in pixels (0, 1, 2 or 3) |
Winbox object
| Action [parameters] | Description |
| popup | restores the window from minimized to normal view |
All objects actions
| Action [parameters] | Description |
| setpos x,y,x,y | sets the top left and the bottom right corner positions in pixels (comma, @am or @vm delimited) |
| chpos +-x,+-y,+-x,+-y | changes the top left and the bottom right corner positions in pixels (comma, @am or @vm delimited) |
See also
| getdt | returns additional data |
« delwin dropdown »
|