Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, May 23, 2024 
 
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: two way communications and events between SLX and .NET User Control?
Christopher Morley
Posts: 21
 
two way communications and events between SLX and .NET User Control?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 May 07 10:17 AM
fiogf49gjkf0d
I get that a SLX Architect form can include a .NET User Control. I have written a fairly sophisticated one. But is there anyway to do callbacks?
I haven't included references to the SLX API in the Control, but I suppose I should try that first.
I mean, that works to get the slx:// links working, so I suppose that could help substantially for this too.
But i was thinking that I might be able to pass a memory reference to "this" or "Me" from SLX Architect Form scripts and then do call backs from .NET right into the custom script functions right in that form context.
I probably spent a whole day on this about 3 weeks ago but couldn't get it to work.
All the win32 loader stuff works like a charm though, and SLX can call down to the User Control with no problems.
Also, the Control can accept certain events directly - without SLX getting in the way.

what i'm talking about is a .NET user control that might be just have a small panel inside of a Saleslogix Form be it's parent - not the whole form itself... I have tried that and that works fine.
But then after that - interact with the objects on the Form.

So like press a button on the native SLX form and affect a value in the .NET via a function call (easy to do), and then vice versa press a button in the .NET user control and affect something in the native SLX form (turned out to be hard to do for me, but just because I couldn't figure it out, I think).

that would be cool.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: two way communications and events between SLX and .NET User Control?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 May 07 1:34 PM
fiogf49gjkf0d
An easy approach to take is to create VBScript plugins to be the event handlers for your .NET code. Then you just invoke them to raise the events. I discussed that approach here: http://www.slxdeveloper.com/forum.aspx?forumid=2000&postid=7096#7096

-Ryan
[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 © 2024 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): 5/23/2024 3:18:42 AM