|
The Memo class is derived from the WinControl class.
access function: GetMemo(name)
Attributes of the Edit class
| Attribute |
Access |
Type |
Description |
| text |
R/W |
string |
the editable text |
| scrollBars |
R/W |
int |
0=None, 1=Horizontal,
2=Vertical, 3=Both |
| wantReturns |
R/W |
bool |
allow users to enter return characters into the text |
| wantTabs |
R/W |
bool |
allow users to enter tab characters into the text |
| wordWrap |
R/W |
bool |
make the edit control wrap text at the right margin so it fits
in the client area |
| onChange |
W |
callback |
called when user changes the text |
| onClick |
W |
callback |
called when user clicks the control |
Example 1: Modify text of an edit control
memo=GetMemo('name')
memo.text='data entered from script'
|