8/25/2025 8:30:38 AM
|
|
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!
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.
|
|
|
|
Controls Auto-Setting to .Enabled = False
Posted: 10 Sep 08 11:28 AM
|
SLX Version 7.2.1.1672
This is a strange one. With a custom form, about 1/3 of the controls are automatically setting themselves to Enabled = False (and possibly a few other things). Even after adding code to re-enable them, the button still will not show for a DateTimeEdit and a PickList. From here, I tried setting ButtonVisible = True which still did not work. I tracked the changes to the Enabled property through the AXFormChange event. Upon entering the entity (in this case, Opportunity), this event is triggered five times. The Enabled property changes as so: True, False, True, False, False. All fields are set as Read/Write in Field-Level Security. All controls are defaulted to Enabled = True. With exception to the testing mentioned above, no script is modifying the properties of these controls. This makes zero sense to me. Does anyone have any ideas on what is going on? Thanks!
C. Burriss |
|
|
|
Re: Controls Auto-Setting to .Enabled = False
Posted: 10 Sep 08 2:29 PM
|
As an update, I found that I can set the Text property of one of the goofy fields to its database value on AXFormChange and this triggers the other problematic controls to correct themselves. This continues to make zero sense but I'm pushing forward. 
C. Burriss |
|
|
|
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!
|
|
|
|
|
|
|
|