How to Determine if There is Anything in the Clipboard

Posted December 15th @ 9:02 pm by m3Rlin

When creating a text editor (or any other kind of program that uses the Clipboard you always insert code to determine if there is anything to copy or cut and to update the menus. Well, you should also do this for the paste function. The whole idea is based on Windows messages and is very [...]

How to Change the Date Format for Databases

Posted December 15th @ 1:48 pm by m3Rlin

To change the date format you have to launch the BDE Administrator and set the data separator and the preferred date format. This is set in a different way the standard Windows regional settings so you may want to look up the BDE help. Then use the following code in your project source file:


uses
[...]