Home > database >  Ask a question about post please the great god
Ask a question about post please the great god

Time:09-22

Such as I wrote in the data window itemchanged events
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 treatment

CodePudding user response:

01. Data input window field when the trigger event
EditChanged 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:

refer to the second floor response:
01. Data input window field when the trigger event
EditChanged 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 EditChan...
what you say is very detailed but it is not what I want like I'm in a bj then itemchanged events inside a column input processing according to the input of bj 'Beijing' and then through setitem assigned to the column that this time the value of the column should be "Beijing", but then it turned back to bj, if with post setitem assignment or 'Beijing' this is what reason? I said is perhaps more disorderly,

CodePudding user response:

Can use the settext () 'Beijing'
  • Related