CitectGrid ActiveX Control

Anonymous
Anonymous

Wrapper for MS FlexGrid

Version: 1.1.0
Requirements: Citect 2015 (code and ActiveX are compatible with older versions)
Description:
Updates:
v1.1.0        Added missing properties, methods, events. Updated project for Citect 2015 (7.50).
v1.0.1        Original beta release


This tool allows you to display a customizable grid (table) of data on a graphic page in Citect. It uses the Microsoft FlexGrid control but modifies the properties and methods to be compatible with Citect.


This project includes the CitectGrid ActiveX control, its source code, a Cicode file with documentation, and a demonstration of the grid control. Run the project. If you are prompted to allow Citect to install ActiveX controls choose to allow it. Then open the Test page and click the Display Grid button. This runs the demo code that loads a DBF file and displays it in the grid. It also demonstrates how to implement sorting when the user clicks on a column header. This page also lists the requirements for adding this control to your project.


I have tested some, but not all properties, methods, and events of CitectGrid. If you find a problem (or a fix), please let me know. The CitectGrid control (CitectLib.Grid) may be pasted on a page in the Graphics Builder with the 'Insert ActiveX Control' tool. However I have not implemented property pages so it will not show the custom properties that the MS FlexGrid control has. In this example it is implemented entirely in Cicode, which also eliminates errors compiling the project on a computer that does not have the control installed.



Attachments