Solved

Combobox - Easy Question

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 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