Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Replacements ?
Message
De
05/06/1998 04:43:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/06/1998 03:20:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00105046
Message ID:
00105053
Vues:
25
>Hi! The combobox becomes slow when used to with a file containinga large no. of records and the general suggestion in this caseis to use a textbox in combination with a grid control. However whenentering data e.g. a product in to a order entry form the combo boxis bound to order_detail.product_code field and displays / allowsentry of the product_name. How can something similiar be achieved witha text and grid control, or what are the alternatives.Thanks in AdvanceSonali
Hi Sonali,
I never found combos as flexible as grids (my own point of view). In a textbox you get code and in interactivechange seek in grid. Combine it with a row highligthed grid class then it's like a combo being more than a combo. Grids with headerheight=0 and scrollbars=2 (vertical) would constitute the combo in its visual way and textbox's keypress, interactive change etc would handle the entry (and grid.visible = .f. at lostfocus). To make it more like a combo you could also add a commandbutton with a downarrow bmp on it placed just to the right of textbox (seems to be a new container class for me if I ever need it).
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