The following methods allow you to access the text in the edit control:
GetText – obtains the text in the edit control.
SetText – sets the text in the edit control.
In addition to these methods, the following events provide access to the text in the edit control:
EditChanged
ItemChanged
ItemError
Use the Data parameter, which is passed into the event, to access the text of the edit control. In your code for these events, you can test the text value and perform special processing depending on that value.
For an example, see “Coding the ItemChanged event”.
When you want to further manipulate the contents of the edit control within your DataWindow control, you can use any of these methods:
Clear Copy Cut LineCount Paste |
Position ReplaceText Scroll SelectedLength SelectedLine |
SelectedStart SelectedText SelectText TextLine |
For more information about these methods, see the DataWindow Reference in the online Help.