Paradox Community
Search:

 Welcome |  What is Paradox |  Paradox Folk |  Paradox Solutions |
 Interactive Paradox |  Paradox Programming |  Internet/Intranet Development |
 Support Options |  Classified Ads |  Wish List |  Submissions 


Paradox OCX Internet/Intranet Articles  |  Non-OCX Internet/Intranet Articles  


Paradox as a Web Server
It really can work
by Tony McGuire



Right-clicking on the OCX and selecting "Object Explorer" you get the inspector (above, with "methods" tab selected). On the "methods" tab is the "uses" block Also, "const" and "var" and the "openlibrary" method are critical and discussed later. The items in red are not editable; they are "included" for use by the OCX.



In the "Uses" block, a declaration for "handlerequest" appears. Handlerequest is a method that must be in every Paradox library you want to use to store methods that the OCX control will talk with. This threw me for a loop, since I wanted to talk to multiple libraries. In the OnPostRequest() (next page), HandleRequest() is used to pass the function call to the exact library needed. In the <form> action of a page, you specify which function should actually handle any given request. This is taken care of in a "master" table, which contains all of the functions you wish to trap for, then activates the appropriate method in the appropriate library by passing the information to the "handlerequest" method.


Next

Discussion of this article


 Feedback |  Paradox Day |  Who Uses Paradox |  I Use Paradox |  Downloads 


 The information provided on this Web site is not in any way sponsored or endorsed by Corel Corporation.
 Paradox is a registered trademark of Corel Corporation.


 Modified: 15 May 2003
 Terms of Use / Legal Disclaimer


 Copyright © 2001- 2003 Paradox Community. All rights reserved. 
 Company and product names are trademarks or registered trademarks of their respective companies. 
 Authors hold the copyrights to their own works. Please contact the author of any article for details.