Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: LANThel
  • Order by date
  1. LANThel

    Concat items in listbox

    Try this. Assume that your listbox has these items: First line Second line Third line Fourth line If you want to know the number of lines in a listbox, ListBox1.Items.Count; //returns 4. If you want to get a string by line, use by index. ListBox1.Items.Strings[0]; //returns string...
  2. LANThel

    On "Esc" key press

    Add this event in your form. procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char); begin if Key = #27 then ShowMessage('Esc key is press.'); end; or procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if Key = VK_ESCAPE then...

Part and Inventory Search

Back
Top