Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

typing issue in Combobox Delphi XE2

Posted on 2012-03-14
5
Medium Priority
?
767 Views
Last Modified: 2012-06-27
Hi,

There is a Combobox with 100 items, is in a Delphi(XE2) form and both the drop down list and the auto complete is working fine while the user is typing the right text.

But when the users do a mistake and type a word which is not in the items then the auto complete does not perform well, especially when the users type fast, the form will be freeze, (not responding) and most of the times you end up shutting down the application.

Is there any solution to fix this.

Thanks
0
Comment
Question by:navidj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 27

Expert Comment

by:Sinisa Vuk
ID: 37723623
maybe is delphi xe2 bug :-( do you have some code behind combobox onchange event?
0
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 37724025
is it a db combobox ?
  with lookup dataset
0
 
LVL 23

Expert Comment

by:Ferruccio Accalai
ID: 37729187
Try reducing the autocompletedelay value.
It's 500 ms by default, that means that the AutoComplete is performed starting from an empty filter when time between any keypress is >=  half  a second. If the user types fastest than the autocompletedelay time, then the procedure is executed again and again without reset of the internal filter and could crash into a form freezing.
0
 

Accepted Solution

by:
navidj earned 0 total points
ID: 37750428
Thanks Guys,

It might be a bug,

I did try the delay time but no different,

but what I did was changing the style. the defoult style is "csDropDown" which has got this problem. Other  styles working fine.

I am now using "csDropDownList" and I am OK with that.
0
 

Author Closing Comment

by:navidj
ID: 37854992
Close it
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

721 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