How to use the Microsoft FlexGrid ActiveX-control in Borland Delphi
To use the Microsoft Flex Grid in Delphi use the following steps:
The Flex Grid control is part of Visual Basic 6.0, and can be redistributed with the right license information.
1] Download the control from Microsoft http://activex.microsoft.com/controls/vb6/MSFLXGRD.CAB. Extract the OCX from the CAB-file, copy the OCX to the Windows\System32 folder, and register it with regsvr32.exe.
2] Get a license for the control. An option is to install Visual Basic 6.0, or import the following registry key:
[HKEY_CLASSES_ROOT\Licenses\72E67120-5959-11cf-91F6-C2863C385E30]
@="ibcbbbebqbdbciebmcobmbhifcmciibblgmf"
3] Import the control in the Delphi environment
(x) Import ActiveX Control, [Next >>]
[Add], Enter: %windir%\system32\msflxgrd.ocx, [Open], [Next >>]
(x) Install to new package, [Next >>]
Package name: C:\Program Files\CodeGear\RAD Studio\Units\MSFlxGrd.dpk, Description: Microsoft Flex Grid Control, [Finish]
The following new components have been registered: TDataObject, TDataObjectFiles, TMSFlexGrid, TMSFlexGrid2.
4] You can use the controls from the ActiveX-tab.