Created 2013-01-09 21:17:50 by Nils G. Svedmyr on NILS-W510 [ Header and license information ]

## Class List

- cCJCheckBoxGridMenuItem
- cCheckBoxGrid

## Class cCJCheckBoxGridMenuItem

Source: CCHECKBOXGRID.PKG
Baseclass: cCJMenuItem

## Class cCheckBoxGrid

Source: CCHECKBOXGRID.PKG
Baseclass: Grid

### Procedures

- SelectItems
- Select_Toggling
- Mouse_Click
- DoOpenCurrentGridItem
- ToggleCurrentItem
- SelectAll
- SelectNone
- SelectInvert
- DoOpenFragmentLibrary
- RefreshGrid

### Functions

- SelectedItems

SelectItems Integer iState - Procedure Set
Set checkboxes of the first column as selected.
iState can be one of the following:
cx_Select_All, cx_Select_None or cx_Select_Invert
Select_Toggling Integer iItem Integer bState - Procedure
Select_Toggling is send when a checkbox item is clicked
or the space bar is pressed.
Mouse_Click Integer iWindowNumber Integer iPosition - Procedure
Opens the current pointed to file name in an editor,
when row is double-clicked.
DoOpenCurrentGridItem - Procedure
Opens the current pointed to file name in an editor
ToggleCurrentItem - Procedure
Toggles the current item on/off
SelectAll - Procedure
Selects all items
SelectNone - Procedure
Deselects all items
SelectInvert - Procedure
Inverts the current selections
DoOpenFragmentLibrary - Procedure
Opens the 'Manifest Fragment Library' with Windows Explorer
RefreshGrid - Procedure
Deletes all grid data and refills it.
SelectedItems Returns String[] - Function
Returns a string array with all selected file names

## Header and license information

****************************************************************************
$Module type: Package
$Module name: cCheckBoxGrid.pkg
$Author : Nils G. Svedmyr, RDC Tools International.
Copyright (c) 2012 RDC Tools International
E-mail : nils.svedmyr@rdctools.com
Web-site : http://www.rdctools.com
Created : 2012-09-27 @ 19:04 (Military date format - Year-Month-Day)
The code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software; you can redistribute it and/or modify it under the terms of the
GNU Lesser General Public License - see the "GNU Lesser General Public License.txt"
in the help folder for more details.
Sponsors: Please SUPPORT this project by donating the amount what you think it is worth to have.
By donating you not only support the software, but -if you want- you also get to be
named as an official sponsor for the project.
Here is the page on VDF-Guidance:
http://www.VDF-Guidance.com/ContribPage.asp?Page=SOFTGENMANIFESTS&ContribRecId=131
Purpose: Please read the ManifestSideBySideManagerHelp.rtf in the Help folder.
Compatibility:Visual DataFlex 16.0 and up. The tool was developed with VDF 17,
but is backwards-compatable with VDF 16 and up.
However, there is no reason you can't use the program to generate manifest files
and embed the manifest data into older VDF programs than 16.0. In fact the program
can be used to create and embed manifest data into any executable that uses
COM components!
For the main view DbMergerView.vw and ManHds.sl the newer CodeJock grids are used.
All other code is compatable with VDF 14.0 and up. So if there is a strong
reason to run this program under an earlier VDF version than 16.0 the
DbMergerView.vw and ManHds.sl could be changed to use the older DbGrid class.
For the same reason some older syntax is used though the code. Such as:
Get Create U_Array...
instead of Get Create (Refclass(Array))..
Move (SortArray(AllTypeLibIdsArray, Self, get_CompareTypeLibIDs))..
instead of Move (SortArray(AllTypeLibIdsArray, Self, Reffunc(CompareTypeLibIDs)))..
******************************************************************************