Write an OnGetText handler to perform custom processing for the DisplayText and Text properties. Use OnGetText to format the Value of the field differently when it must be edited from the format used when simply displaying the value, or use OnGetText to display something other than the field'svalue when it is displayed.
你可以根据该字段(sender.text)的不同设置得到相应的对应值,