|
Technical answers from the trenches |
|
Changing the Paradox Icon
| ||||
by by Lance Leonard |
Posted: 1 August 2000 |
|||
  |
Applies to: Paradox 7.32 and later |
|||
  |
Audience: Beginner |
|||
Question: I want to use a custom icon for my Paradox application. How can I change the Paradox icon using ObjectPAL?"Answer: The following code demonstrates this:
var
app Application ; pointer to Paradox application services
endvar
const
FILENAME = "c:\\iconpath\\myicon.ico" ; adjust as needed
endConst
app.setIcon( FILENAME )
While it's possible to do this using the Windows API, this approach is the simplest and most direct. Remember to adjust the FILENAME constant to point to the fully-qualified filename of your .ICO file. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 31 May 2003
|
||
|
|
||
|
[- End -]
|