?
Solved

Combobox - Easy Question

Posted on 2003-11-01
2
Medium Priority
?
214 Views
Last Modified: 2010-04-05
Hey folks...
very simple really... i just need my combobox to automatically display the first item in its list as its default position. Iv fiddled with things, but for some reason i cant get it to work... any ideas?

cheers
James
0
Comment
Question by:Greenandroid
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 80 total points
ID: 9662760
somewhere after populating  the combobox
(maybe in the formcreate-event) use

combox.itemindex := 0;

meikl ;-)
0
 
LVL 2

Author Comment

by:Greenandroid
ID: 9662841
Thanks alot...worked just fine

James
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses
Course of the Month4 days, 9 hours left to enroll

601 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