Solved

Combobox - Easy Question

Posted on 2003-11-01
2
206 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
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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 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