------------------------------------------------------------------------
 Custom Editing with DateTimePicker Sample for iGrid ActiveX
 
 Control Version: 3.0
 Environment: Visual Basic 6

 Copyright (c) 10Tec Company. All rights reserved.
------------------------------------------------------------------------

Description
===========
The rich event model of iGrid allows you to use external controls to edit its cells. We demonstrate this on an example of the DateTimePicker control from the MS Common Controls pack.

Short Code Explanation
======================
The RequestEdit event of iGrid can be used to suppress the default editing (by setting the bCancel parameter to False) and activate the required external editor (we place it over the current cell at the coordinates determined with the CellBoundary method).

You define your own logic to finish custom editing using the events of your custom control (in this sample we do that in the LostFocus and KeyDown events of the DateTimePicker). Note that there is also a set of situations related to iGrid when you need to finish the editing but you cannot control that with your control's events (for instance, the user is resizing a column). For this purpose iGrid provides you with the special QuitCustomEdit event you should also process.
