ComponentOne Query 8.0
C1QueryUI Control

C1QueryUI control is an ActiveX control created in Visual Basic, with full source code provided in the USERCTL subdirectory. It contains two C1QueryFrame controls, responsible for the two parts of the query: filter conditions and result fields.

C1QueryUI control is provided both for reference and for sample implementation of C1QueryFrame custom editors and other features, wrapped up in an ActiveX control. Its code can serve as a source of useful techniques. You will find it especially useful in implementing custom editing, see Custom Editing and Lookup.

C1QueryUI provides custom editing for data fields with Microsoft Date-Time Picker control, numeric fields with a customized Text control, Boolean fields with a combo box. It also has a SetLookup method enabling the user to pick a value from a lookup combo box based on a database table.

For an example using the C1QueryUI control, see Tutorial 5 - Using the Sample User Control C1QueryUI.

To use the C1QueryUI control, you must register it:

Example Title
Copy Code
REGSVR32 C1QUERY80UI.OCX

You must have Visual Basic run-time DLL installed on your computer in order to use the C1QueryUI control.

A C1QueryUI control must be attached to a C1Query control by setting its SchemaControl property to the name of the C1Query control.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback