CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Sender Parameter

Print topic Send  topic

Author Message
marcwolf


Posts: 361
Posted: 12/19/2005, 6:18 PM

Hi all..

I have a question re the 'Sender' parameter.

I have a couple of pages where I have multiple buttons doing the same thing.

An example would be I have 3 forms, and on each form there is a 'RETURN" button that will return the user to a calling page - and the calling page can be different depending on the URL Parameter.

So I do not have to duplicate the code 3 times I would have the first button action containing the code and the other 2 buttons calling that button (I know - I could use a sub or a function but the code is already written)

Before in CCS 2.3 it worked but now in CC3 3.0 it is complaining that it wants the SENDER parameter.

Whats is the sender parameter and how can I set it up so that it can be passed OK.

Many Thanks

Dave

_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message
guest777
Posted: 12/20/2005, 6:41 AM

Sender = EventCaller
where EventCaller is global variable

See Common.asp:
  
Function CCRaiseEvent(Events, EventName, Caller)  
  Dim Result  
  Dim EC : Set EC = New clsEventCaller  
  If Events.Exists(EventName) Then  
    Set EventCaller = Caller  
    Set EC.EventRef = Events(EventName)  
    Result = EC.Invoke(Caller)  
  End If  
 .....  

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.