Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, July 7, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Closing a managed form using script
Aioy
Posts: 9
 
Closing a managed form using scriptYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 10 9:45 AM
Hi All,

I have a managed form .I need to close the form using the script.

Thanks,
Ajoy
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Closing a managed form using scriptYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 10 10:45 AM
Application.Basic.CloseCurrentView

If you opened it as a Main View, get a Reference to it and use the Close method of the MainView.

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Closing a managed form using scriptYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jul 10 10:46 AM
Application.BasicFunctions.CloseCurrentView False

Or if you have a modal button on the form (with ModeResult = mrOK, mrCancel)

you can do a ButtonName.Click
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/7/2025 10:10:02 AM