Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Replacements ?
Message
From
05/06/1998 04:43:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/06/1998 03:20:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00105046
Message ID:
00105053
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform