Enclosing SetItem (row, dwo. The Name, "zhi") with This. Post SetItem (row, dwo. The Name, "zhi") effect is different, everybody help analysis under the effect of the Post and itemchanged event handling mechanism
CodePudding user response:
The Post is the last treatmentCodePudding user response:
01. Data input window field when the trigger eventEditChanged when the cursor into a field of a data window object triggered when
ItemChanged is modified when the area of data window and lose focus (such as user press the enter key, Tab or the arrow keys, or use the mouse to select another area) fired when the
ItemFocusChanged trigger when the focus changes
ItemError when a domain is modified and lose focus, and the domain is not in conformity with the column on the legitimacy of the rule is triggered when
If EditChanged ItemChanged, error ItemFocusChanged these three events trigger ItemError
If set the behavior in the ItemChanged events/return code 1, refused to accept the DataWindow control data and focus are not allowed to change
02. Post mechanism is not executed immediately, such as write two statements in the open, the post will be put into the last execution
Triggerevent ()
Postevent
Both are triggering function, usage, but the post is not immediately triggered
CodePudding user response: