Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

EASY POINTS!

Posted on 1998-01-20
3
Medium Priority
?
177 Views
Last Modified: 2010-04-04
How do I select from a lists box and have it appear in an editbox?  Such as have a lists of items and double click that item and have it appear in the editbox. Example would be nice.  Need answer ASAP if possible.

Thanks
0
Comment
Question by:aj85
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
millerw earned 200 total points
ID: 1357173
All you have to do is goto the Event page of the Object inspector and double click on OnDblClick event.  Then type the following code into it with your components names replaceing Listbox1 and Edit1:

procedure TForm1.ListBox1DblClick(Sender: TObject);
begin
     Edit1.TExt := Listbox1.Items[Listbox1.ItemIndex];
end;

0
 

Author Comment

by:aj85
ID: 1357174
Thank you for your answer!
0
 

Author Comment

by:aj85
ID: 1357175
Thank you for your answer!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question