Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, August 28, 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: How do I Disable the X Close Window 'button' in upper right hand form corner?
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
How do I Disable the X Close Window 'button' in upper right hand form corner?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jan 09 9:08 AM
Is there a way to hide the Window "X" button or disable/enable it?

AXFormValidate doesn't seem to work on this.....

RJ Samp
[Reply][Quote]
Dan Elliott
Posts: 11
 
Re: How do I Disable the X Close Window 'button' in upper right hand form corner?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Jan 09 1:23 PM
Did you try using AXFormCloseQuery? I think the X triggers that event.
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: How do I Disable the X Close Window 'button' in upper right hand form corner?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 2:22 PM
cool, then what do I say?

IF OkToCloseForm THEN
ModalResult = mrOK
ELSE
ModalResult = mrNone
END IF

or

IF OkToCloseForm THEN
AXFormCloseQuery = TRUE
ELSE
AXFormCloseQuery = False
END IF
[Reply][Quote]
Dan Elliott
Posts: 11
 
Re: How do I Disable the X Close Window 'button' in upper right hand form corner?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jan 09 3:50 PM
IF OkToCloseForm THEN
AXFormCloseQuery = TRUE
ELSE
AXFormCloseQuery = False
END IF
[Reply][Quote]
Dan Carvin
Posts: 227
 
Re: How do I Disable the X Close Window 'button' in upper right hand form corner?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jan 09 4:42 PM
Have you verified that this works? I was under the impression that the red X was a windows function that was out of the reach of a plugin script.
[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): 8/28/2025 9:20:26 AM