Solved

copy from listbox - edit.text

Posted on 2009-07-10
1
598 Views
Last Modified: 2013-11-23
I have a listbox. I have around 40 options, i want it to when i click on the listbox and select an item it copys it to my edit.text.

simple?

note: when i select the option in listbox its already highlighted.
0
Comment
Question by:SonicM3
1 Comment
 

Accepted Solution

by:
SonicM3 earned 0 total points
ID: 24828199
edit41text := listboxget.items[listboxget.itemindex ];

it gives a error when i scroll with my listbox,  list index out of bounds.

ive beentold something about array. can someone fix this. Its inside the ONLICK of my listbox.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

830 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