Detecting changes in text in an edit line

Article ID: 849
Last updated: 05 Feb, 2008
Article ID: 849
Last updated: 05 Feb, 2008
Revision: 1
Views: 5359
Posted: 02 Sep, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


How can I detect changes in text made to an edit line?


Cause


There is no built-in mechanism to detect changes in text in an edit line. You need to add an additional function to the zTableEditLine class to detect changes in text. The example below modifies the zTableInplaceEditLine for zTables, but the same applies for regular edit lines.


Action


To find out if the text of the current cell has changed, you need to derive a class from a zTableInplaceEditLine which has additional functionality to know if the text has changed, such as a BOOL variable that is set to false if the text hasn
This article was:   Helpful | Not helpful
Report an issue
Article ID: 849
Last updated: 05 Feb, 2008
Revision: 1
Views: 5359
Posted: 02 Sep, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category