|
Technical answers from the trenches |
|
Changing the Paradox Caption
| ||||
by Lance Leonard |
Posted: 20 July 2000 |
|||
  |
Applies to: Paradox 5.0 and later |
|||
  |
Audience: Intermediate |
|||
Question: How to I change (or get) the caption displayed of the Paradox Desktop?Answer: There are a few different ways to do this, depending on your need and purpose. To do this from: 1. Interactive Paradox, you can read the caption from the title bar and change it with the Title preference in the General tab of Paradox's Preferences dialog. If you have problems getting the correct caption by reading the title bar, try selecting text in the Title preference; there may be extra spaces or characters. 2. ObjectPAL, use the setTitle (or getTitle) methods of the Application type. For example:
var
app Application
str String
endVar
str = app.getTitle() ; gets the caption
str.view( "Title" )
app.setTitle( "My Paradox" ) ; changes the caption
3. An installation script, use the following Registry key: Pdoxwin\Properties\Title You'll find this in a location appropriate to the publisher and version of Paradox you're using. For example, if you're using Paradox version 9.0, the full key is: HKEY_CURRENT_USER\Software\Corel\Paradox\9.0\Pdoxwin\Properties\Title For Paradox 9.0 Runtime, the full key is: HKEY_CURRENT_USER\Software\Corel\Paradox Runtime\9.0\Pdoxwin\Properties\Title 16-bit users need to change the Title setting in the [Properties] section of their WINDOWS\PDOXWIN.INI file. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 31 May 2003
|
||
|
|
||
|
[- End -]
|