1. Home
  2. Computing & Technology
  3. Delphi Programming

Delphi tips: VCL (Visual Component Library) Usage
Delphi programming tips and tricks, visual component library related.

By Zarko Gajic, About.com Guide

Note: to quickly locate a tip, hit CTRL+F on your browser (Edit - Find) and do a search for a tip by name ... or, you are here by "mistake", looking for Delphi tutorials and articles!

  • Activate a control hint from code
  • Enable or disable a control by name
  • Add a Check Box to a standard dialog box
  • Add columns to a ListBox
  • Clear All Edit Controls on a Form
  • Convert the First Character in an Edit Box to Uppercase
  • Drag from ListBox to Edit
  • Drag'n'Drop nodes inside TreeView
  • Get Cursor position in TRichEdit
  • Get the line number from a RichEdit
  • Get the full HTML from the TWebBrowser component
  • Get the RTF formatting from a RichEdit
  • Hide caret (text cursor) "inside" TMemo component
  • How to Break a Long Menu into Columns in a Delphi application
  • How to clear the graphics in a TImage Delphi control
  • How to check if a document in a TWebBrowser is located on a local drive
  • How to complete partial strings typed into a combo box
  • How to click-and-select a line in TMemo
  • How to create, use and free TXMLDocument dynamically (without an AV)
  • How to Change the Colors of the TProgressBar
  • How to Detect a TPopupMenu's OnClose (OnPopDown) Event in Delphi applications
  • How to exchange Bitmap images between two TImageList components
  • How to merge strings in two TStringList's
  • How to Move ListBox Items with the Mouse (Drag and Drop) in Delphi application
  • How to load HTML directly to a WebBrowser
  • How to search and replace in RichEdit
  • How to find what control was previously selected
  • How to get the current line and column from a Memo
  • How to get the selected text from a Memo control
  • How to locate and highlight a string in a TWebBrowser
  • How to Remove the "Today" Mark from the TDateTimePicker Delphi component
  • How to Right Align a Menu Item in a Delphi application
  • Implementing custom sorting for a TListView component
  • How to sort items in a TList object
  • How To "HotTrack" any control
  • How to set margins in Memo
  • How to set the progress bar position using mouse
  • How to move PageControl's tabs using drag'n'drop
  • How to show week numbers in a TDateTimePicker
  • How to disable Context menu in a TWebBrowser
  • How to place a TEdit inside a TListBox to simulate inplace editing of ListBox items
  • How to enable editing of a document in TWebBrowser
  • How to print a document/page in a TWebBrowser
  • How to right-align items in a TComboBox / TListBox
  • How to remeber Delphi form controls position and size
  • How to call the Find dialog in WebBrowser
  • How to call the View Source dialog in WebBrowser
  • How to append HTML directly to a WebBrowser document
  • How to add the "Select All (CTRL+A)" functionality to TMemo/TDBMemo
  • How to exchange Bitmap images between two TImageList components
  • Implementing Application.Restart
  • Moving the focus to the next edit control when MaxLength characters have been reached
  • Label: FocusControl
  • ListBox with a horizontal scroll bar
  • Long ListBox entries as hints
  • Overwrite in TMemo and TEdit
  • Positioning the caret in a line in a Memo or RichEdit
  • Raising TPageControl's OnChagning and OnChange events from code
  • Rounding control corners
  • Select ListBox items as mouse hovers over them
  • Setting a multi-line Caption for a TLabel (at design-time)
  • Set Tab Stops for TMemo
  • Scrolling Memo text from code
  • ToolTip font hint properties
  • TButton with multiline Caption
  • Using an object with no reference variable
  • Using TWebBrowser to preview (and print) Microsoft Word documents
  • Use arrow keys to move between controls
  • What's the word under the mouse cursor in a TRichEdit?

    Go back to Delphi tips index.

  • Explore Delphi Programming
    About.com Special Features

    Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

    Easy ways to connect two computers for networking purposes. More >

    1. Home
    2. Computing & Technology
    3. Delphi Programming
    4. Using VCL Components
    5. Delphi tips: VCL (Visual Component Library) Usage

    ©2009 About.com, a part of The New York Times Company.

    All rights reserved.