Delphi coding hints and tips.
Here is a collection of Delphi coding hints and tips that we have put together based on our own coding experiences. I hope you find them useful.
'&' underscores disappearing from menus !
Clearing a TBitmap
Keyboard Macro's in the Delphi IDE
Using 'Generate Console Application' as a simple debug window.
Creating non GUI DOS application with Delphi.
Which delphi version am I ?
Compiler directives
Sorting a TList.
Using Break and Continue in loops.
Enumerated types to strings using RTTI.
Creating DB tables at run-time.
DBGrid row highlight without dgRowSelect.
Floppy in Drive function
Delphi editor, dropping files, file types, and shortcut keys.
Unit friendly variables.
Launching applications within Delphi apps.
Assertions.
Enabling CPU window / Disassembly view in Delphi v3.
Referencing a component by its name.
Editing code insights the easy way.
Using return key instead of tab.
Using const arrays for case like evaluations.
Conditional assignment of a boolean variable.


