How to close the form

Microsoft Axapta Development, Management, Functional and Technical Support Discussions.

How to close the form

Post by usenet » Thu Jun 25, 2009 2:53 pm

Hi,
I am new to Axapta Programming.
I have created one form for our customer to do some process. Now i need to
close the form automatically onece the process has completed successfully. Is
it possible by X++ code? If yes please let me know the step by step process.

thanks,
Prabu S
More available at Technology Forums
usenet
 
Posts: 80094
Joined: Wed Jun 24, 2009 8:14 am

RE: How to close the form

Post by usenet » Thu Jun 25, 2009 5:46 pm

Hi,

if your code is located in your form (ie. if you have written a new method
on the form or if you has overriden one of the existing ones), then you can
call

element.close();

this closes your form.

Hope this helps you.
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)


"Prabu S" wrote:

> Hi,
> I am new to Axapta Programming.
> I have created one form for our customer to do some process. Now i need to
> close the form automatically onece the process has completed successfully. Is
> it possible by X++ code? If yes please let me know the step by step process.
>
> thanks,
> Prabu S
>
>
>
More available at Technology Forums
usenet
 
Posts: 80094
Joined: Wed Jun 24, 2009 8:14 am

RE: How to close the form

Post by usenet » Fri Jun 26, 2009 7:26 am

Hi Axel,

Thanks a lot.
My code is located inside the form only and its working fine.

Regards,
Prabu S


"Axel Kühn" wrote:

> Hi,
>
> if your code is located in your form (ie. if you have written a new method
> on the form or if you has overriden one of the existing ones), then you can
> call
>
> element.close();
>
> this closes your form.
>
> Hope this helps you.
> --
> Sincerely yours
> Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
>
>
> "Prabu S" wrote:
>[color=green]
> > Hi,
> > I am new to Axapta Programming.
> > I have created one form for our customer to do some process. Now i need to
> > close the form automatically onece the process has completed successfully. Is
> > it possible by X++ code? If yes please let me know the step by step process.
> >
> > thanks,
> > Prabu S
> >
> >
> >
[/color]
More available at Technology Forums
usenet
 
Posts: 80094
Joined: Wed Jun 24, 2009 8:14 am


Return to Axapta



Who is online

Users browsing this forum: No registered users and 1 guest

cron