VSFlexGrid Samples

Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos which may make use of other development tools included with ComponentOne Studio Enterprise.

The ComponentOne Samples are also available at http://helpcentral.componentone.com/Samples.aspx.

Visual Basic Samples

Sample

Description

AdjWidth

Resize a form based on the width of the grid. This sample uses the VSFlexGrid control.

AutoComp

Implement Excel-style auto-completion. This sample uses the VSFlexGrid control.

Batch

Browse and edit a disconnected ADO recordset. This sample uses the VSFlexGrid control.

Bind

Bind the FlexGrid to Variant Arrays or to other FlexGrid controls. This sample uses the VSFlexGrid control.

Buttons

Implement custom cell buttons. This sample uses the VSFlexGrid control.

Calendar

Build a calendar control with the VSFlexGrid. This sample uses the VSFlexGrid control.

CellChange

Provide conditional formatting and dynamic data summaries. This sample uses the VSFlexGrid control.

CellNotes

Implement Excel-style cell notes. This sample uses the VSFlexGrid control.

CustData

Implement grid-based views of custom data structures using FlexDataSource. This sample uses the VSFlexGrid control.

CustData2

Implement grid-based views of virtual (calculated) data using FlexDataSource. This sample uses the VSFlexGrid control.

CustDataADO

Bind the grid to ADO data sources using the FlexDataSource property. This sample uses the VSFlexGrid control.

CustDataFMT

Implement data formatting using FlexDataSource. This sample uses the VSFlexGrid control.

CustDataPict

Map data values into pictures using the ColImageList property. This sample uses the VSFlexGrid control.

CustDataSort

Sort data from a custom data source. This sample uses the VSFlexGrid control.

CustomEditor

Edit grid using a custom editor. This sample uses the VSFlexGrid control.

DBase

Browse data from a database with frozen cells, translated text/pictures, and hierarchical recordsets. This sample uses the VSFlexGrid control.

DragBound

Implement data-bound column dragging. This sample uses the VSFlexGrid control.

DragDrop

Implement Explorer-style drag and drop using the VSFlexGrid control. This sample uses the VSFlexGrid control.

DragDrop2

Implement OLE drag/drop of text, pictures, and files. This sample uses the VSFlexGrid control.

DragRows

Use the ExplorerBar property and the DragRow method to drag rows. This sample uses the VSFlexGrid control.

Events

This sample uses the VSFlexGrid control.

DTPick

Use a DateTimePicker control to edit date entries. This sample uses the VSFlexGrid control.

Excel

Save grid contents into an Excel .xls file. This sample uses the VSFlexGrid control.

Explorer

Build an Explorer-like interface, populated on demand. This sample uses the VSFlexGrid control.

Fetch

Compare the time it takes to bind to various types of recordset. This sample uses the VSFlexGrid control.

FilterDB

Filter data as it is retrieved or saved to a bound recordset. This sample uses the VSFlexGrid control.

Group

Implement Outlook-style grouping using the FlexGrid. This sample uses the VSFlexGrid and vsfgroup? control.

HyperLnk

Use the FlexGrid control to browse Internet hyperlinks. This sample uses the VSFlexGrid control.

KeepSelection

Set the Row property while keeping the extended row selection. This sample uses the VSFlexGrid control.

KeyHook

Shows how you can subclass the VSFlexGrid editor window and record. This sample uses the VSFlexGrid control.

MaskClean

Extract data from grid entries formatted with an EditMask. This sample uses the VSFlexGrid control.

OwnerDraw

Draw custom borders around selection. This sample uses the VSFlexGrid control.

PageBrk

Print a grid and control where pages break. This sample uses the VSFlexGrid control.

Password

Use a column for entering passwords. This sample uses the VSFlexGrid control.

PIVOT

Build a pivoting data view with the FlexGrid. This sample uses the VSFlexGrid control.

PopEdit

Implement a custom menu for the FlexGrid's editor. This sample uses the VSFlexGrid control.

PrintCustom

This sample uses the VSFlexGrid control.

PropPage

Build a property browser interface using the VSFlexGrid. This sample uses the VSFlexGrid control.

ROLLBACK

Edit disconnected recordsets with the option to commit or rollback the edits. This sample uses the VSFlexGrid control.

ScrlCell

Scroll the contents of individual grid cells. This sample uses the VSFlexGrid control.

Selection

Use code to control extended selections and scrolling. This sample uses the VSFlexGrid control.

SortOutline

Use the Node.Sort method to sort outlines. This sample uses the VSFlexGrid control.

Spell

Use the VSSpell control to spell check grid entries as you type them. This sample uses the VSFlexGrid and VSSpell control.

TreeNode

Manage an outline tree using the VSFlexNode object. This sample uses the VSFlexGrid control.

WallPaper

Implement graphical backgrounds with the WallPaper property. This sample uses the VSFlexGrid control.

XLS

This sample uses the VSFlexGrid control.

XML

Display an XML tree. This sample uses the VSFlexGrid control.

Xml2

Display an XML tree using the MSXML version 2.0 DOM. This sample uses the VSFlexGrid control.

XMLBound

Bind a FlexGrid control to an XML document. This sample uses the VSFlexGrid control.

 

C++ Samples

Sample

Description

AdjWidth

Resize a form based on the width of the grid. This sample uses the VSFlexGrid control.

ADOFilter

Filter records no an ADO recordset. This sample uses the VSFlexGrid control.

Archive

Zip-like utility using Archive and ArchiveInfo methods. This sample uses the VSFlexGrid control.

ATLDDROP

OLE drag and drop in ATL projects. This sample uses the VSFlexGrid control.

AxWin

Create FlexGrid controls as children of the main window. This sample uses the VSFlexGrid control.

BigDemo

View all main features for the VSFlexGrid control. This sample uses the VSFlexGrid control.

CellChange

Monitor changes to the grid to format and total cells. This sample uses the VSFlexGrid control.

Clipboard

Monitor the keyboard and support the clipboard. This sample uses the VSFlexGrid control.

CustDataMFC

Bind the grid to a custom data source. This sample uses the VSFlexGrid control.

DBase

Bind the grid to an ADO data source and customize it. This sample uses the VSFlexGrid control.

DragRows

Drag single rows or groups of rows. This sample uses the VSFlexGrid control.

DTPickATL

Use a DateTimePicker control to edit dates on the grid. This sample uses the VSFlexGrid control.

DTPickMFC

Use a DateTimePicker control to edit dates on the grid. This sample uses the VSFlexGrid control.

EditWindow

Customize the built-in editor. This sample uses the VSFlexGrid control.

EXPLORER

Use the FlexGrid to implement a Windows Explorer clone. This sample uses the VSFlexGrid control.

LoadXL

Load Excel files (.xls) into the FlexGrid. This sample uses the VSFlexGrid control.

MergePrt

Print a merged grid and add custom headers/footers. This sample uses the VSFlexGrid control.

MFCData

Bind the grid to an ADO data source. This sample uses the VSFlexGrid control.

MfcDDrop

Implement OLE drag drop between grid and other controls. This sample uses the VSFlexGrid control.

MFCDynamic

Create a grid dynamically using the CreateControl method. This sample uses the VSFlexGrid control.

MFCObject

Store custom objects in the grid. This sample uses the VSFlexGrid control.

MFCPict

Show pictures in grid cells. This sample uses the VSFlexGrid control.

PropWnd

Implement a property grid using the FlexGrid. This sample uses the VSFlexGrid control.

SetupEdit

Use the SetupEditWindow event to customize the combo editor. This sample uses the VSFlexGrid control.

TREENODE

Manage an outline tree using the VSFlexNode object. This sample uses the VSFlexGrid control.

XML2

Display an XML tree using the MSXML version 2.0 DOM. This sample uses the VSFlexGrid control.

 

HTML Samples

Sample

Description

HtmlSamples

Various HTML samples that show licensing, databinding, and so on.