` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Passing parameters to forms using standard templates
1998-09-18 -- Viggo Kleven
 
You should find reference to the updateproc in the ThisWindow.run method of the browse window. Just skip the original code by OMIT() and add your own code for calling the update: ThisWindow.Run PROCEDURE(USHORT Number,BYTE Request) ReturnValue BYTE,AUTO ! Start of "WindowManager Method Data Section" ! [Priority 5000] ! End of "WindowManager Method Data Section" CODE ! Start of "WindowManager Method Executable Code Section" ! [Priority 2500] ReturnValue = PARENT.Run(Number,Request) ! [Priority 6000] OMIT('***') ! Skip the original code GlobalRequest = Request UpdateSITE ReturnValue = GlobalResponse ! [Priority 8500] !*** Here comes the new code to call the update with parameters.. GlobalRequest = Request UpdateSITE (parameters) ReturnValue = GlobalResponse ! End of "WindowManager Method Executable Code Section" RETURN ReturnValue


Today is May 9, 2024, 6:16 pm
This article has been viewed 35119 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: