Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Combobox class with column headers
Dorin Vasilescu, ALL Trans Romania
The combobox class is based on native VFP combobox class (not a container + command button), but the DropDown() event will activate a special always on top form with a grid on it to simulate combo drop down list, instead the VFP generated list. The .ColumnCount, .BoundColumn, .ColumnWidths properties are also available. Incremental searching capabilities with the search string memorized
Created on
19 years ago
Downloads
6453
File type
Freeware
Rating
5.00/5.00
General information
Rating:
5.00/5.00 (4 rates) Rate this item
Description
UPDATE 2006-08-31: Remote asyncronous search sample on SQLite database Grid sample _INCSEEK value is used to start search only after user stop typing Various minor changes in code. Run test_cbsearch.scx form for a working sample The class .SearchMode property will set combobox behaviour: FILTER : searches in .SourceAlias are made using SET FILTER TO and .LocateExpr property where '%' is a placeholder for string typed in textbox area of combobox ( .SearchString property) If .LocateExpr = [UPPER(first_name) = UPPER('%')] then the filter command will be SET FILTER TO UPPER(first_name) = UPPER('typed_search_string') LOCATE: the same as FILTER, but use a locate command instead SET FILTER SETKEY : Replace % from .SeekExpr with typed string and apply the SET KEY command SEEK: Replace % from .SeekExpr with typed string and SEEK the expression SCRIPT : Executes an external procedure that generates the rows needed. The same, the % from .ScriptExpr property will be replaced with the actual search string typed in and the results are displayed in combobox list. The procedure can start rows retrieving only after few chars typed, to avoid unnecessary big lists. Update 2005-02-21 : -Added timer to detect if mouse is on another window titlebar + click (Deactivate doesn't fire) -Added refreshScriptExpr property, evaluated in Refresh(). It must return the stringfor DisplayValue. The .SourceAlias cursor doesn't need to have data to search in at Init(). -IncrementalSearch is used to determine if the search will be performed only when an attempt to leave the control is encountered Any feedback appreciated
Created by
Dorin Vasilescu, ALL Trans Romania

Comments
Please uncomment the line from ComboForm::Deactivate class if has a comment marker, was for debugging purposes. Dorin Vasilescu, May 28, 2004

Excellent vcx, congratulations Thomas Cornau, May 29, 2004

This is a great tool well designed. Thank you for sharing it with us. Sony Joseph, December 27, 2004

How to add it in Grid. Anand Tank, March 12, 2005

I given up to try adding to a grid after many C5 errors. Anyway, there exists a trick to make it like being "inside" grid, easy to implement. I'll post an updated zip with "grid enabled" search combo implemented. Dorin Vasilescu, March 13, 2005

Nice work Dorin, however, I have two issues with it. 1) Sometimes the underlying grid form will only flash and not stay visible. 2) I cannot use the mouse wheel to change the values. These "issues" were observed in your demo form. Thanks for sharing this cool control. Mike Sue-Ping, September 8, 2006

Thanks for your feedback. 1.I don't know :)-yet , 2.I'll change it to respond to MouseWheel events. Dorin Vasilescu, September 9, 2006

Nice work Dorin. Still the same problem. When running this form modal with an Active-x control, all active-x controls on the screen "freeze" after the popup is displayed. Was hoping that this problem was corrected. Try it with MS Chart or any other Active-x. James Campisi, December 26, 2006

Add a comment
More downloads created from this member
Dorin Vasilescu, ALL Trans Romania
Free VFP classes that can be used to generate PDFs, programatically or using PDFListener class (extremely fast output) . The wrapper class can be used as generic PDF tool and can be compiled as COM DLL. .
Created on
15 years ago
Downloads
3130
File type
Freeware
Rating
4.00/5.00
Dorin Vasilescu, ALL Trans Romania
The class is based on grid base class and can be used to replace usual textboxes below grids that contains totals. It has support for horizontal scrolling in sync with source grid (even with LockColumns set).Needs VFP9.
Created on
17 years ago
Downloads
4597
File type
Freeware
Rating
4.50/5.00
Dorin Vasilescu, ALL Trans Romania
Combobox that supports multiple selections of items. Supports column headers, and customizable tag all/tag none buttons. Good for small lists where a multiple selection is needed. .
Created on
17 years ago
Downloads
3652
File type
Freeware
Rating
3.33/5.00
Dorin Vasilescu, ALL Trans Romania
A toolbar class control written in VFP that mimics windows taskbar behavior. It monitors forms and add a button for every active form. Buttons provide single click form activation. Needs VFP9. This update needs _gdiplus class library .
Created on
18 years ago
Downloads
3601
File type
Freeware
Rating
5.00/5.00
Dorin Vasilescu, ALL Trans Romania
The class has the look of the standard themed VFP Combobox. It is not based on Container or Control class but textbox. It is easy to bind directly to fields, memory variables or object property.
Created on
19 years ago
Downloads
5350
File type
Freeware
Rating
5.00/5.00
Dorin Vasilescu, ALL Trans Romania
A class that can be used to start several server tasks on Firebird/Interbase databases from VFP applications. Also users management is possible. Can be used directly in programs or compiled as a DLL and used as external object.
Created on
20 years ago
Downloads
1887
File type
Rating
5.00/5.00
Dorin Vasilescu, ALL Trans Romania
This toolbar class will allow quick acces to many formatting options for various objects, in design mode (form or class designer). No need to select Layout tab in properties window or scroll properties list to select and change desired format property, just click on toolbar button.
Created on
20 years ago
Downloads
2579
File type
Freeware
Rating
4.00/5.00
Dorin Vasilescu, ALL Trans Romania
Outlook style listbar control class, written entirely in Visual Foxpro. Using this class you can design Outlook like interface. Has support for groups, each with its own background color , buttons with large or small icons, support for selecting buttons with keyboard, etc. This updated version ha...
Created on
23 years ago
Downloads
9939
File type
Rating
4.79/5.00