Add Creating and using Lookup forms in Delphi to maintain a compact and tidy user experience


In today's times Lookup forms are ideal for applications that need a compact and tidy way to present the user with a search & selection type screen. A simple example is the Windows 'Open File' dialog box which pops up in front of the current screen and remains 'on top' until a file is selected or the dialog is closed. In Delphi you too have the option to use the standard Windows dialogs such as PageSetup dialog, OpenFile dialog etc.. In this article we create our own type of dialog which we refer to as a 'Lookup form'. A common situation for a Lookup is if you want your users to perform a database search to find a specific Customer and then return the selected customer details to the calling form. This is just an example and there are many, many ways you can use Lookup forms to create modern applications using Delphi.
Related Discussions
  • HOW CAN I DEACTIVE DIAL-UP CONECTION? (2001-01-28 13:54:30)
    A guy named Ruben recently gave me this answer when I asked nearly the same question......... ----------------------------------------------------...
  • CREATING SHORTCUTS (2001-01-28 03:16:27)
    This is a sample from the MSDN, I tried to translate it into Delphi. I did not try to execute it but it should work. If it won't, tell me and I'll...
  • DELETING THE EXEFILE... (2001-01-28 06:05:04)
    function CreateTempFileName: string; var TempDir: array of Char; count, len: LongInt; dummy, sec: Word; start: string; begin...
  • PLEASE HELP IMAGE DOWNLOADER... (2001-01-28 19:17:26)
    Hey! Ok... Here's a sample application. I made a sample unit for you and it works and does just what you need. Here's the code: unit Unit1;...
  • HOW TO DISCONNECT FROM THE INTERNET IN DELPHI 5 (2001-01-28 13:55:14)
    A guy named Ruben recently gave me this answer when I asked nearly the same question......... ----------------------------------------------------...
  • DETECTING SHADES OF COLOURS (GRAYSCALE) (2001-01-31 06:54:41)
    I'm Russian but I live in Belgium, so i'm not teh best in English too :) The way you calculate the greyscale color is the wrong one. red >...
  • STOPPING AUTO-FOCUS ON MDI CHILD CREATE (2001-01-29 09:55:39)
    I do not know how to fix your problem, but why do you not use threads if you only do calculations? Threads will be much more efficient. Stephan
  • NOBODY CAN HELP ME???? (2001-01-30 10:03:06)
    Here the link to Deborah Pate's sample projects using bookmarks and properties: http://www.djpate.freeserve.co.uk/Bookmarks.zip visit her...
  • UNDECLARED IDENTIFIER (2001-01-29 12:11:43)
    instead of "label1.caption:=floattostr(alpha.I);", use label1.caption:=floattostr(form1.I);
  • CD DRIVE LETTER (2001-01-29 13:09:39)
    ParamStr(0) is the letter of the drive your program is running from... For example, use "WinExec(PChar(ParamStr(0)+':\Setup.exe'),SW_SHOWNORMAL);"
Latest News
Submit News Form Past News
Latest Forum Entries