Shiny Language Reference
Language Reference > User Interface > Memo Boxes
resetmemobox
resetmemobox(int ID);
Synonyms:
resetmemoboxcontent(int ID);
Removes all text in a memo box
The RESETLISTBOX statement removes all text in the specified memobox.
Parameters
ID
The control ID of the control to reset
Return Value
None
Example Code
// Create the memo box X: 10, Y:10 and sized 200*120
int iMemoBoxID = creatememobox(1, 10, 10, 200, 120);
// Add a sample string
setcaption(iMemoBoxID, "This is some text for deletion");
// Reset all data in the memobox
resetmemobox(iMemoBoxID);