English 中文(简体)
两个问题涉及变换的项目和项目活动
原标题:Two questions about the itemchanged and itemerror events

在PB6.5.1和PB9.0中:

Question 1: In itemchanged event: return 1 In itemerror event: return 3 At runtime,the sequence of events fired is: itemchanged-->itemerror-->itemchanged-->itemerror Why is each event fired twice?

Question 2: In itemchanged event: return 1 In itemerror event: return 2 At runtime,the focus did not move to the next cell. Why?

感谢。

最佳回答

问题1: 通过从<条码>分光/代码>退回3份,你拒绝了数据,这些数据再次标明了栏目,并触发了<条码>的改动。

至于为何要以这种方式开展工作,从哲学上讲,我怀疑他们会遵循最不令人惊讶的主干,即,他们是预谋的人,他们问为什么拒绝这些投入不会触发<条码>的改动<>。

问题2: www.un.org/Depts/DGACM/index_french.htm 在<代码>下改动的中,你拒绝了输入和<>m> 防止重点发生变化;在<代码>>上,>项目ror 你们现在接受这些投入,但你并没有消除改变重点的僵局。 您应从<条码>变更项目中退回2份,因为您可以控制您是否允许重点从<条码>项目/代码>活动上更改,将1份或3份退回。


如果任何人在没有助手档案的情况下阅读这一问题:

itemchanged:

0 (Default) Accept the data value
1 Reject the data value and do not allow focus to change (triggers itemerror)
2 Reject the data value but allow the focus to change (triggers itemerror)

itemeror:

0 (Default) Reject the data value and show an error message box
1 Reject the data value with no message box
2 Accept the data value
3 Reject the data value but allow focus to change

问题回答

暂无回答




相关问题
COM - Controls for PowerBuilder

how to use the com controls in PowerBuilder ? If it is used in an application.. how can i identify it?

Powerbuilder language documentation

Where can I find documentation for the actual PowerBuilder language. I am referring to the kind of code you get when you select "Edit Source" from a right-click menu on the library painter. Not the ...

.NET dll in PowerBuilder (as COM) problem with Lists

All, I am trying to access a .NET dll registered as a COM Object with PowerBuilder 10. I keep running into problems where .NET objects return lists. I have built out a very simple class for a proof ...

How *does* Powerbuilder POST work?

Unfortunately searching for Sybase Post doesn t get me the answers I m looking for. I want to know what the actual function is of POST As in .. procedure lala POST procedure1() procedure2() I m ...

Powerbuilder: Trying to set the currentitem for a menuCascade

Please clue this newb in. I ve got a menu with it s object type set to menu cascade. I can reference the items in the menu just fine and I can even st the items to enabled or visible. But what I can ...