insert p=<i>, b=<i>, t=<text>
p=<i>, b=<i>, delnode=<id> | addnode=’<item>’ | addtree=file.dat
p=<i>, b=<i> ,rtf=<file>,append
Function
To insert a text string in a textual field or a scale button of a menu in a panel or modify a tree node..
Parameters
|
p= |
The panel number in the range 1 to 96. |
|
|
|
|
b= |
The button number in the panel, starting from 1. |
|
|
|
|
t= |
Text to be inserted |
|
delnode=<id> |
Node id of the item to delete. If the node has sub-items, also the sub-node will be removed. |
|
addnode=’<item>’ |
String that defines the new node to append in the tree view; the syntax is the same seen in the “.dat” file. |
|
addtree=file.dat
|
Filename with extension “.dat” to append a new tree view at the end of the current tree. |
|
rtf |
Text to be inserted, between single quotes. |
|
append |
Specify to append the file into the rich edit. |
Examples
insert p=2,b=3,t='employee'
insert p=form_bill,b=sub_total,t='€ 800.00'
insert p=1,b=4,DELNODE=15
insert p=1,b=4,ADDTREE=file.dat
insert p=1,b=4,ADDNODE='2,1,Conveyors,do checkpoll,cap1.cmd,-icon/green-leaf.bmp,-,U4002'
insert p=1,b=1,t='This text to add',append
Notes
The button number <i> coincides with the option number in the TAB file.
See also