Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 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 .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Access form controls from .net extension?
Preston Zappa
Posts: 4
 
Access form controls from .net extension?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Apr 07 8:38 AM
I have an slx form that kicks off a .net mass db update. I would
like to have a progress bar on the form and the .net code update
the progress bar accordingly. Is this possible?


TIA-
Preston
[Reply][Quote]
Jason Huber
Posts: 77
 
Re: Access form controls from .net extension?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 May 07 3:13 PM
fiogf49gjkf0d
Sounds cool. Here is what I would try.

Within the .NET form have a property called progress.
Within the SLX calling form have a timer that checks the progress property of the .NET form (returned from the managed.create etc code and placed in global memory)
Each check can be 1 sec apart etc...

I havent tried it, but it sounds like it might be cool..
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Access form controls from .net extension?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 May 07 4:01 PM
fiogf49gjkf0d
Jason's idea would work. You could also get a reference to the form in your .NET code and then update it from there. You could either pass a reference of the form to it when you created the extension or grab it from the forms collection. Once you had a refernce to the form, you could access the control as needed to update properties etc. Make sense?

You'll have to remember that everything for accessing the form will be late-bound (there is no real "form" object exposed). So if you're writting in C# then you'll have some fun code ahead . If you're using VB.NET then it doesn't really matter. The C# code won't be too bad, it just doesn't late-bound calls as "loosely" as VB.NET.

You could also pass in a reference to the progress bar as well to your .NET code and then just skip the form reference and just update the progress bar as needed.

Does that all make sense?
[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): 6/7/2025 6:07:47 AM