delphivcl

  1. FireWind

    Delphi What Is The ExecuteAction Property In DelphiVCL.Application?

    What Is The ExecuteAction Property In DelphiVCL.Application? By Muhammad Azizul Hakim July 5, 2021 Use the ExecuteAction property or DelphiVCL.Application.ExecuteAction to generate an OnActionExecute event. When the user invokes an action, a series of calls ensue to respond to that action...
  2. FireWind

    Delphi How to use the State Property

    How to use the State Property By Muhammad Azizul Hakim June 23, 2021 State property is used as an indicator for which items are selected or checked. For example, for each member of the Items array, we use State to determine whether the checkbox is selected (cbChecked), cleared (cbUnchecked)...
  3. FireWind

    Delphi How to use the DelphiVCL.DrawGrid.Col

    How to use the DelphiVCL.DrawGrid.Col By Muhammad Azizul Hakim June 14, 2021 DelphiVCL.DrawGrid.Col specifies the index of the column that contains the selected cell. Use DelphiVCL.DrawGrid.Col at runtime to determine the current column in the grid. Setting Col moves focus to the cell in the...
  4. FireWind

    Delphi How to use the DelphiVCL.Application.Destroy Property

    How to use the DelphiVCL.Application.Destroy Property By Muhammad Azizul Hakim June 13, 2021 We use DelphiVCL.Application.Destroy to destroy the application instance and all of its associated memory. Never call DelphiVCL.Application.Destroy or DelphiVCL.Application.Free. Instead, use the...
  5. FireWind

    Delphi How to use the DelphiVCL.Application.Run Property

    How to use the DelphiVCL.Application.Run Property By Muhammad Azizul Hakim June 12, 2021 DelphiVCL.Application.Run property used to execute the application. Do not call DelphiVCL.Application.Run. In Delphi’s VCL, when creating a new project, The IDE automatically creates a main program block...
  6. FireWind

    Delphi How to use the Title Property

    How to use the Title Property By Muhammad Azizul Hakim June 8, 2021 DelphiVCL.Application.Title Property contains the text that appears below the icon representing the application when it is minimized. We use the DelphiVCL.Application.Title property to modify the name of the text string...
  7. FireWind

    Delphi How to use the Text Property

    How to use the Text Property By Muhammad Azizul Hakim June 6, 2021 Text property contains a text string associated with the control. We use the Text property to read the Text of the control or to specify a new string for the Text value. By default, Text is the control name. For edit controls...
  8. FireWind

    Delphi Write a String inside a Clipping Rectangle using TextRect

    Write a String inside a Clipping Rectangle using TextRect By Muhammad Azizul Hakim June 2, 2021 We use TextRect to write a string inside a clipping rectangle or within a limited rectangular region. Any portions of the string that fall outside the rectangle passed in the Rect parameter are...
  9. FireWind

    Delphi OnClose Event in DelphiVCL Library

    OnClose Event in DelphiVCL Library By Muhammad Azizul Hakim June 1, 2021 OnClose event occurs when the form closes. We use OnClose to perform special processing when the form closes. The OnClose event specifies which event handler to call when a form is about to close. The handler specified...
  10. FireWind

    Delphi OnDrawCell Event in DelphiVCL Library

    OnDrawCell Event in DelphiVCL Library By Muhammad Azizul Hakim May 30, 2021 OnDrawCell event Occurs when a cell in the grid needs to be drawn. We write an OnDrawCell event handler to draw the contents of all the cells in the grid. Draw on the cell using the methods of the Canvas property. The...
  11. FireWind

    Delphi Learn ColorBoxStyles from DelphiVCL.ColorBox

    Learn ColorBoxStyles from DelphiVCL.ColorBox By Muhammad Azizul Hakim May 27, 2021 TColorBoxStyle specifies how a color box control displays its selections. The following table lists the possible values of TColorBoxStyle: Style Meaning when included cbStandardColors The color box lists...
  12. FireWind

    Delphi Discover Delphi VCL’s Available Colors

    Discover Delphi VCL’s Available Colors By Muhammad Azizul Hakim May 24, 2021 Color is used to specify the color of a Windows-only control. It is used by the Color property of many components and by several other properties that specify color values. The DelphiVCL.Graphic unit contains...
  13. FireWind

    Delphi Create a Tabular Format with DelphiVCL.DrawGrid

    Create a Tabular Format with DelphiVCL.DrawGrid By Muhammad Azizul Hakim May 16, 2021 DelphiVCL.DrawGrid represents a grid control that displays information in column and row format. Add a DelphiVCL.DrawGrid object to a form to present arbitrary information in a tabular format. DrawGrid...
  14. FireWind

    Delphi Add Strings to Various Components using .Items

    Add Strings to Various Components using .Items By Muhammad Azizul Hakim May 12, 2021 In previous examples, we already use .Items several times (see Getting Started with DelphiVCL III: Overview of Commonly used VCL Components). We use it in ListBox, ComboBox, and RadioGroup. Items contain the...
  15. FireWind

    Delphi Create a Multiline Edit Control on a Form using DelphiVCL.Memo

    Create a Multiline Edit Control on a Form using DelphiVCL.Memo By Muhammad Azizul Hakim May 10, 2021 DelphiVCL.Memo is a wrapper for a Windows multiline edit control. We use Memo to put a standard Windows multiline edit control on a form. Multiline edit boxes allow the user to enter more than...
  16. FireWind

    Delphi Create a ListBox using DelphiVCL.ListBox

    Create a ListBox using DelphiVCL.ListBox By Muhammad Azizul Hakim May 6, 2021 ListBox displays a collection of items in a scrollable list. We use ListBox to display a scrollable list of items that users can select, add, or delete. ListBox is a wrapper for the Windows listbox control. We can...
  17. FireWind

    Delphi Create an Edit Controls using DelphiVCL.Edit or TEdit

    Create an Edit Controls using DelphiVCL.Edit or TEdit By Muhammad Azizul Hakim May 2, 2021 DelphiVCL.Edit or TEdit is a wrapper for a Windows single-line edit control. We can use an Edit object to put a standard Windows edit control on a form. Edit controls are used to retrieve text that...
  18. FireWind

    Delphi Display Text on a Form using DelphiVCL.Label or TLabel

    Display Text on a Form using DelphiVCL.Label or TLabel By Muhammad Azizul Hakim May 1, 2021 DelphiVCL.Label or TLabel is a non-windowed control that displays text on a form. Use Label to add text that the user cannot edit on a form. This text can be used to label another control and can set...
  19. FireWind

    RAD Studio Create a Specific Component using DelphiVCL.CreateComponent

    Create a Specific Component using DelphiVCL.CreateComponent By Muhammad Azizul Hakim April 27, 2021 DelphiVCL.CreateComponent is a function to create a specified component. We call CreateComponent to create an instance of ComponentClass at the position specified by the Left and Top parameters...
  20. FireWind

    Delphi Fill Solid Shapes With .Brush

    Fill Solid Shapes With .Brush By Muhammad Azizul Hakim April 14, 2021 .Brush represents the color and pattern used to fill solid shapes. Brush encapsulates the Windows brush object (HBRUSH) and is used to fill solid shapes, such as rectangles and ellipses, with a color or pattern. Here is...