Accessing the text in the edit control – PB Docs 126

Accessing the text in the edit control

Using methods

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 event code

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”
.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x