Solved

Combobox - Easy Question

Posted on 2003-11-01
2
203 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 20 total points
Comment Utility
somewhere after populating  the combobox
(maybe in the formcreate-event) use

combox.itemindex := 0;

meikl ;-)
0
 
LVL 2

Author Comment

by:Greenandroid
Comment Utility
Thanks alot...worked just fine

James
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now