Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox trick
Message
De
15/09/2000 04:09:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00416387
Message ID:
00416772
Vues:
22
>Hello, I am trying to develop a combobox from a table(500 records) that is alphanumeric and when the user enters '99', I want the combobox to display the entries beginning with '99' so the user can handily click on desired selection.
>Does this need a class to be accomplished?


You might subclass. But combobox.sorted = .t. and Incrementalsearch = .t. does job already IMHO. You might also use quickfill class or for a grid version ingrid.
Type '99' grasp the mouse and select. It really doesn't sound an accelarator to me. Say I have entries like '99ED78', '99EE80', '99F8GT'... I could reach '99EE80' with typing '99EE'. It would be much faster than typing+mouse. It would make difference when there are few records with a common long starting substring. Check quickfill and ingrid first (files\classes section). Even only increasing _dblclicktime on gotfocus and setting back to default in lostfocus (sorted +incsearch .t.) might be solution in your case.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform