TechTricks
Technical answers from the trenches 
 
 
 
 

     
   
Dealing with Missing Events
 
   
by Lance Leonard 
 Posted: 20 July 2000
 
   
 
 Applies to: Paradox 5.0 and later
 
   
 
Audience: Beginner
 
       
   

Question: Why doesn't Paradox display all available events, properties, or objects?

Answer: By default, Paradox displays a subset of the available events, properties, or objects in the Object Inspector, primarily because there were complaints regarding the number of these things when Paradox first shipped. To display these items, use the Developer Preferences to change the ObjectPAL Level from Beginner to Advanced.

The specific steps for this depend on your version of Paradox. To do this in version 9.x:

  1. From the main Paradox menu, choose Tools | Settings | Developer Preferences.
     
  2. When the Developer Preferences dialog appears, make sure the General tab is selected.
     
  3. Locate the ObjectPAL level panel in the upper, left corner of the dialog and then choose Advanced.
     
  4. Choose OK to accept your changes.

Paradox should now display all available methods, objects, and properties in the Object Inspector, the ObjectPAL Quick Lookup dialog, and other interface elements.

Notes:

  1. All methods, events, and properties are available at all times, regardless of the ObjectPAL level.
     
  2. Developers can control this by using the setUserLevel() method from their code. For more information, see the Paradox Help system.
     
  3. Secret: setUserLevel supports an additional undocumented and unsupported case-sensitive parameter ("Undocumented") that configures Paradox to display additional methods and constants that are not documented nor supported by Corel.
     
  4. If your ObjectPAL level is set to Undocumented, neither radio button will be checked in the ObjectPAL level panel of then Developer Preferences dialog.
     
  5. Tip: If you subtract the "Advanced" tables from the "Undocumented" tables generated by enumRTLConstants and enumRTLMethods, you can obtain lists of the undocumented portions of ObjectPAL.
     

Special thanks to Corel for permission to document those last three items, which are completely unsupported, undocumented, and may change at any time without prior notice. Use any information gleaned through the last item with extreme care and expect that some of what you'll learn is flat out broken. Under no circumstances should you implement anything related to production or mission-critical data without heavy testing and frequent backups. There's a reason some of this stuff is undocumented. Caveat Emptor!

 

       

Top

Feedback About Paradox Delphi Assorted Web Stuff
 
 
Copyright © 2000-2004, techtricks.com; All Rights Reserved.
Acknowledgements, Disclaimers, Terms and Conditions.
Article last updated on 31 May 2003

 

Other Sites: Paradox, Delphi, Perl, Web Stuff, and More


 

[- End -]