Unofficial Delphi Developers FAQ 0.06

Delphi Frequently Asked Questions

Author : R.E. den Braasem

Revision number : 0.06


TABLE OF CONTENTS

  • UDDF - About
    1. What is this all about
    2. Who is this Graphical Gnome anyway
    3. Searching
    4. Disclaimer
    5. Automatic Update Notify
    6. Download
  • UDDF - API
    1. How Can I Prevent Multiple Instances of My Application?
    2. Performing an action when Windows shuts down a Delphi app
    3. Windows API about Printer
    4. Getting DOS Variables
    5. GetModuleFileName
    6. Setting time system with Delphi
    7. How do I execute a program and have my code wait until it is finished?
    8. disable Ctrl-Alt-Del
  • UDDF - ClipBoard
    1. ClipBoard Viewer
    2. Copy to Clipboard
  • UDDF - Component
    1. Array of components...
    2. how do i getting the component index at runtime
    3. How do I create a component at run-time?
    4. Create an event during Runtime?
    5. Helpful Hint: Listbox-Font
    6. 3D border for label component?
    7. Setting read-only columns in StringGrid
    8. ?? Scrolling a Memo ??
    9. Columns in a TListBox
    10. How do I synchronize two scroll boxes on different panels?
    11. Listbox compo. with drag&drop items reorder ?
    12. BMPs in a StringGrid
    13. Check List Component
    14. Tabstops in Listboxes
    15. TTreeview-speedup
    16. TBitBtn control class question (change bitmap at runtime)
    17. OwnerDraw in TStatusBar
    18. Duplicating components and their children at runtime
    19. Splitter Bar
    20. How to Add Controls to TTabbedNotebook & TNotebook
    21. Saving and Loading aTstringgrid
    22. Delayed scrolling / delayed OnChange?
  • UDDF - Conversions
    1. HEX -> Integer
    2. Dec To HEX
    3. ASCII to HEX / math
    4. Conversion from ICO to BMP
    5. Unix strings (reading and Writing Unix Files
  • UDDF - Delphi 3
    1. D3 LoadStr constants
  • UDDF - Database
    1. Create a TTable-Component without a form...
    2. Database structure version tracking
    3. Lookup value on input
    4. DbiCopyTable example
    5. Problem with "Getting Started" Guide P 42
    6. Delphi table scrolling: PeekMessage() tricks
    7. OnCalcFields Hint
    8. BDE alias info
    9. First access to any table is very slow
    10. db file at run-time
  • UDDF - Dates
    1. Calculating Easter date
    2. Daynumber
    3. Algorithm or equation for determining sunrise/set and moonrise/set (BASIC)
  • UDDF - DBase
    1. TI2821 - dBASE .DBF File Structure
  • UDDF - DBGRID
    1. Using the Multi Select option of a DBGRID
    2. Dropdownlist in a DBGrid, HOW ?
    3. Sorting Columns in a DBGrid
    4. A Dbgrid with colored cells ?
    5. DBGrid that shows images
    6. Db_QBF.PAS unit allowing Query By Form for DbGrid components in Delphi
  • UDDF - Delphi and C++
    1. Calling delphi DLL from MS Visual C++
  • UDDF - DISK
    1. How to get files "Last Accessed" attribute?
    2. How do I convert "Long File Name.pas" to "longfi~1.pas"?
    3. HDD Serial Number
    4. How to check if drive 'a:' is ready?
    5. Audio CD
    6. How can I delete a file to the Recycle Bin?
  • UDDF - DLL
    1. FTP4W32.DLL & Delphi 2.0
    2. About Thunking D2 to 16bit DLL [NEW]
  • UDDF - Forms
    1. Delphi Applications without Forms?
    2. Showing own logo on start-up
    3. Moving a form without a caption bar
    4. Preventing the user from resizing my window vertically
    5. Hack: Want VCL controls in a form's title bar caption area?
    6. Storing TForm and/or its properties in a BLOB
    7. Removing icon on taskbar
    8. How can I hide the form caption bar??
    9. Floating toolbar - here's some code to do it
    10. Programming for different resolutions in Delphi 2.0
  • UDDF - Graphics
    1. TGA header
    2. *** Drawing CURVES in Delphi? ***
    3. FFT algorithm for Delphi 2
    4. Canvas from THandle (for metafiles)
    5. Capturing the DESKTOP to a form.canvas
    6. Several Points (2D and 3D) routines
  • UDDF - IDE
    1. View CPU debug info
    2. My applications directory
    3. Error Numbers
    4. 16-bitAppl with delphi 2??
    5. Sharing ObjectRepository
    6. How to detect if running in IDE?
  • UDDF - Keyboard
    1. Beeping when <ENTER> is pressed
    2. Disable alt-tab and ctrl+esc keys
    3. How to detect arrow keys?
    4. Hooking keyboard
    5. Simulating ButtonDown
    6. How? ENTER key instead of TAB
    7. Caps Lock (and others like it) [NEW]
  • UDDF - MATH
    1. Huge Numbers
    2. formatting '1010' to '001010' ???
    3. 32 bit CRC
    4. Raising a number to a power
    5. Number to String
  • UDDF - MDI Forms
    1. Hiding MDI Child Forms
    2. Just 1 MDI-childwindow ?
    3. Making MDI Forms 'more' 3D
    4. Tile Image in a MDI Form
    5. Remove title bar in MDI child form
    6. MDI Children Menus
    7. MDIChild Close problem
    8. MDI Parent Background
  • UDDF - MENU
    1. Catch SHIFT key during menu item selection?
    2. How to dinamically create popup menus inside other popups?
    3. How do I add a bitmap to a MENU ...
    4. How do I dynamically add a MenuItem to a Menu?
  • UDDF - Mouse
    1. OnMouseLeave Event needed
    2. Tip: using animated cursors
    3. Building Mouse Hooks
    4. acessing the joystick from Delphi
  • UDDF - Networking
    1. Browsing for a Network Machine (ala Network Neighborhood)
    2. Accessing Netware Usernames
    3. How to Connect to a Network Drive in Delphi
    4. accessing network drive mapping dialog [NEW]
  • UDDF - OLE
    1. Delphi 2.01 / MS Office 97 / OLE / VB for Applications
    2. OLE Tester
    3. Getting data from Delphi app into Word document
  • UDDF - Printer
    1. Help on Printer Control Codes
    2. How to get Paper Source?
    3. How to Print VERTICAL oriented text in Delphi
    4. Help - Printing sideways text...
    5. How to print a bitmap?
    6. Hack: tired of ReportSmith? Wish you had wysiwyg reports?
    7. Dump a text file
    8. Printing a line at a time
    9. Printing Tricks
    10. Passthough escape function
    11. Stretched bitmap on TPrinter
  • UDDF - Quick Report
    1. QuickReports FONT Problems
    2. Preview Form Caption
    3. QuickReports on different paper sizes
  • UDDF - Registry
    1. Registry-- Accessing it, and using it instead of WIN.INI
    2. How to get a registered OCX?
    3. Win95 installation directory.
    4. How to get time zone info (DST) from registry?
    5. TStringList in TIniFile
    6. Store Fontstyle in INI
    7. How to find the program associated with one file extension
    8. Font & Tregistry
  • UDDF - ReportSmith
    1. Passing a report variable to ReportSmith
  • UDDF - Resource File
    1. String Tables
  • UDDF - Rich Text Format
    1. Storing a rich edit text in a db
    2. Word Count in Richedit
    3. RichEdit Error with Delphi 2.01 and NT 4
    4. RTF to printer problem
    5. translate RTF to HTML
  • UDDF - Strings
    1. Equivalent of Trim$(),Mid$(), etc?
    2. String Pattern matching
    3. GetToken
    4. Replacing substrings
    5. Capitalize the first letter of each word in a string
    6. How do I determine if two strings sound alike?
    7. What are the values for the virtual keys?
  • UDDF - Windows
    1. ???? Data segment too large ????
    2. Port command and win95, a summary.
    3. Read the Run Minimized Checkbox
    4. Shared memory in a DLL with Delphi 2.0
    5. Shell_NotifyIcon
    6. How do I make completely invisible main forms??
    7. HELP !! STAY-ON-TOP !!!
    8. Hardware port access in DELPHI 2
    9. Hiding Windows 95 Taskbar
    10. A Catch-a-Maximize Command Question
    11. How do you detect Windows version?
    12. How can I change the wallpaper programmatically?
    13. Path / directory name for 'My Computer'
    14. Determining which font (Large or Small) is in use
    15. Large/Small Fonts?
    16. How can I restore a window to its last state when I run it again?
    17. How: to determine name of StartUp group [NEW]
    18. Problems with "Large Font" display settings Delphi Apps (Please help)
  • UDDF - Misc
    1. Compile Date
    2. Delay again!
    3. Array in Delphi
    4. How do I run a program?
    5. How to write text transparently on the canvas. using Textout
  • UDDF - Misc
    1. Playing a wave sound from a resource file
    2. How can my app use MY FONTS? not user's
    3. how to eject and close CD-Drive?
    4. Moving from VB to Delphi
    5. sscanf in delphi?
    6. Help Files Contents
    7. Supporting Cut Copy Paste
    8. D2: Win95 + Speaker + Sound := possible
    9. Multiple icons in a Delphi exe?
  • UDDF - Misc
    1. Avoiding using stale pointers
    2. Multi Language Applications
    3. Associated Executable
    4. MAPI and MS Exchange
    5. Constucting Object Variables
    6. Example of variable number of parameters
    7. My new TWrapGrid component: Allows word wrap in TStringGrid.
    8. Resizing panels?
  • UDDF - Links
  • UDDF- All Work no Play
    1. Real Programmers Don't Write Specs

  • Please email me and tell me if you liked this page.

    This page has been created with