Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, February 22, 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: Passing value from Account Details view to .Net Embedded Control when the button on the Details view is clicked
NagaVarma
Posts: 8
 
Passing value from Account Details view to .Net Embedded Control when the button on the Details view is clickedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Mar 08 10:43 PM
Sub btnSendClick(Sender)
Dim loader
if Application.GlobalInfo.IndexOf("Object2") =-1 then
set loader=CreateObject("PhoneObject.Phone")
loader.Init Form.HWND
loader.PhoneNumber=ppeMainPhone.Text
Application.GlobalInfo.Add "Object2",loader
else
set loader=Application.GlobalInfo("Object2")
loader.Init Form.HWND
end if
End Sub

I am Getting The Following Error

Object Required : 'Form'

Please Help me
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Passing value from Account Details view to .Net Embedded Control when the button on the Details view is clickedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Mar 08 12:38 PM
HWND is a property of the SLX form. Is your SLX form named "Form" or something else? You could either change that to the name of your form, or just drop the form name. If you type just "HWND" (without the form name) it will still work, since you're in the context of the form.
[Reply][Quote]
NagaVarma
Posts: 8
 
Re: Passing value from Account Details view to .Net Embedded Control when the button on the Details view is clickedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Mar 08 12:56 AM
Thanks 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 © 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): 2/22/2025 9:30:03 AM