Information below from developer guide. Hope it helps you.

1.If the form is closed with an OK button, the closeOK method on the
form is executed.
closeOK is not activated if a close button is used to close the form.
2.The canClose method on the form is executed
3.The leave control sequence is executed.
4.The leave record sequence is executed, if an actual database
record is in fact exited.
5.The close method on the form is executed.

Leaving a control: sequence of events
1.The leave method on the control is executed.
2.The validate method on the control is executed.
3.The validate method on the data source is executed.
4.The validateField method on the table is executed.
5.The modified method on the control is executed.
6.The modified method on the data source is executed.

Thanks
Ronnie

--- In [email protected], "asrivastava"
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> can anyone explain me why in case of combobox modified event is
called twice firstly on modifying the control and secondly on
closing that form which consist that control.
> I have a requirement in which I have to print a message on
modification of the combo control but the message prints twice on
modification and on closing that form.I did the requirement through
setting the flag.
> does anybody have any idea to print the message only once(i.e. on
modification only) otherthan setting flags.
>
>
>
> Thanx and Rgds
> Ashish Srivastava
> ERP Developer-Axapta
> Euroinfo Systems Pvt. Ltd
> A-119, Sector-63, Noida-201301
> * [EMAIL PROTECTED] | ( 91.120.2520414-258 | ?91.9312948144
>
> [Non-text portions of this message have been removed]
>








SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to