diff --git a/BUGS-TO-REPORT.md b/BUGS-TO-REPORT.md index e22cc8df0..e18b04c6b 100644 --- a/BUGS-TO-REPORT.md +++ b/BUGS-TO-REPORT.md @@ -13678,3 +13678,460 @@ Severity: low. The box shows a second line, but nothing says that the replacemen +--- + +## `UserControl.PropertyChanged` leaves `Err.Number` set in the caller, 438 with a name and 13 without, though no error is raised + +**Describe the bug** +`PropertyChanged` in a UserControl raises no error, but after it returns, the code that called the control's member reads `Err.Number` 438 (*Object doesn't support this property or method*) when `PropertyChanged` was given a property name, and 13 (*Type mismatch*) when it was called with none. Every property of a VB6-style control ends its `Property Let` with `PropertyChanged ""`, so after an ordinary assignment such as `MyControl1.Caption = "x"` the caller sees error 438 that did not happen. It does so with or without an `On Error` statement in the caller; an `On Error GoTo` handler is not entered. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `usercontrol-propertychanged-leaves-err.twinproj` (attached as `usercontrol-propertychanged-leaves-err.zip`): a form with one UserControl of the project on it, and `RegressionTests.twin`, one `[TestCase]` per behaviour, each asserting the correct result. +2. Or, with a UserControl `ProbeControl` on `Form1` whose property is + + ```vb + Public Property Let WithChanged(ByVal Value As Long) + m_A = Value + UserControl.PropertyChanged "WithChanged" + End Property + ``` + + run: + + ```vb + Load Form1 + Err.Clear + Form1.ProbeControl1.WithChanged = 1 + Debug.Print Err.Number + ``` +3. See `438`, where `0` is expected. + +The regression tests (the first three fail on BETA 1042, the two controls pass): + +```vb +[TestFixture] +Module RegressionTests + + [TestCase] + Public Sub PropertyLet_CallingPropertyChanged_LeavesErrZero() + Load Form1 + On Error Resume Next + Err.Clear + Form1.ProbeControl1.WithChanged = 1 + Dim n As Long = Err.Number + On Error GoTo 0 + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + + [TestCase] + Public Sub PropertyChangedWithNoName_LeavesErrZero() + Load Form1 + On Error Resume Next + Err.Clear + Form1.ProbeControl1.CallsChangedNoName + Dim n As Long = Err.Number + On Error GoTo 0 + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + + [TestCase] + Public Sub PropertyLet_CallingPropertyChanged_LeavesErrZero_WithNoHandler() + Load Form1 + Err.Clear + Form1.ProbeControl1.WithChanged = 2 + Dim n As Long = Err.Number + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + + [TestCase] + Public Sub PropertyLet_CallingPropertyChanged_StoresTheValue() + Load Form1 + Form1.ProbeControl1.WithChanged = 3 + Dim v As Long = Form1.ProbeControl1.WithChanged + Unload Form1 + Assert.Strict.AreEqual 3, v + End Sub + + [TestCase] + Public Sub Control_PropertyLet_WithoutPropertyChanged_LeavesErrZero() + Load Form1 + On Error Resume Next + Err.Clear + Form1.ProbeControl1.WithoutChanged = 1 + Dim n As Long = Err.Number + On Error GoTo 0 + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + +End Module +``` + +What decides it: +- `PropertyChanged`: the same `Property Let` without it leaves `Err.Number` at 0. +- Its argument: 438 with a property name, 13 without one. +- Not the form being shown: the same with `Form1.Show` and `DoEvents` first. +- Not the build: a 32-bit and a 64-bit run in the IDE, and the test mode, each give the same. +- Not the control: the same in Krool's VBFlexGrid (TWINSERV package VBFLXGRD18 1.8.69.0), where every property assignment leaves 438. + +**Expected behavior** +`Err.Number` stays 0, as `PropertyChanged` raised nothing and the assignment worked. VB6 leaves it at 0 in all four cases (the `vb6/` project of the reproducer). + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Severity: medium. Nothing fails, but a program that checks `Err.Number` after setting a property of a control (a common VB6 pattern under `On Error Resume Next`) takes the assignment for a failure, silently. + + + +--- + +## A WinNativeCommonCtls TreeView draws its nodes' pictures in every Style, the four text-only ones included + +**Describe the bug** +The TreeView of the WinNativeCommonCtls package draws its nodes' pictures whatever its `Style`. `tvwTextOnly`, `tvwPlusMinusText`, `tvwTreelinesText` and `tvwTreelinesPlusMinusText` should show the nodes' text with no picture, but a tree with an `ImageList` draws the pictures in all eight styles, exactly as `tvwPictureText` and the other three picture styles do. Observed in a running program and measured: the node's text starts as far right in a text-only style as in a picture style. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `treeview-text-styles-show-pictures.twinproj` (attached as `treeview-text-styles-show-pictures.zip`) and run it: a form with two TreeViews of the same nodes, `TreeView1` with an `ImageList` and a picture on each node, `TreeView2` with none. For each `Style` in turn it prints whether `TreeView1` draws the pictures (its first node's text, from `TVM_GETITEMRECT`, starts further right than `TreeView2`'s). +2. Or, on a form with a TreeView and an ImageList holding one picture: + + ```vb + Set TreeView1.ImageList = ImageList1 + TreeView1.Style = tvwTextOnly + TreeView1.Nodes.Add , , "docs", "Documents", 1 + ``` +3. See the node drawn with its picture; and the probe's output, `pictures drawn` for all eight styles, where `not drawn` is expected for styles 0, 2, 4 and 6. + +The cause is in the package: `TreeViewBaseCtl.StyleToWin32Styles` turns the `Style` into `TVS_HASBUTTONS` and `TVS_HASLINES` only, and the `ImageList` is given to the tree (`TVM_SETIMAGELIST`, `TVSIL_NORMAL`) whatever the `Style`, so nothing makes a text-only style leave the pictures out. + +What decides it: +- The `ImageList`: a tree with none draws no pictures in any style. +- Not the build: a 32-bit and a 64-bit run in the IDE give the same. + +**Expected behavior** +In the four styles without "Picture" in their name the nodes are drawn without their pictures, as the names say and as twinBASIC's own documentation of `TreeStyleConstants` states (its Icons column). The `vb6/` project of the reproducer is the same probe with MSCOMCTL.OCX's TreeView. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Severity: low. Nothing is lost, but a program ported from VB6 that sets a text-only style shows pictures it did not ask for, and its nodes' text is moved right by the pictures' width. + + + +--- + +## A CustomControls form's window ignores its Caption, size and WindowsOptions set in code + +**Describe the bug** +A form of the CustomControls package (a `WaynesForm`) makes its window from the values its form designer saved, and never from the form's properties as the code has set them. `Caption`, `Width` and `Height`, `Left` and `Top`, and every member of `WindowsOptions` (`BorderStyle`, `MaximizeButton`, `MinimizeButton`, `ControlBox`, `ShowInTaskbar`, `StartUpPosition`, `WindowState`) set in code change the property, which reads back the new value, and nothing on the screen: the title bar, the window's size and place, its border and its buttons stay as designed. It makes no difference whether they are set in the form's constructor, before `Show`, or while the form is shown. The form's `BackgroundFill`, and the style properties of its controls (a `WaynesLabel`'s `BackgroundFill`, say), set in the same places, are drawn as set. (A control's own place, size and visibility set in code are mostly ignored as well; that is reported on its own.) + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `waynesform-window-ignores-code.twinproj` (attached as `waynesform-window-ignores-code.zip`) and run it: `Form1` is designed with the caption "Designer caption", a 400 x 200 client area, a sizable border and a maximize button. Its `Sub New` sets other values, and once the form is shown it prints each property beside what the window has, sets them again, and prints them once more. +2. Or, in a form of the package designed with the caption "Form1": + + ```vb + Sub New() + Me.Caption = "Set in code" + Me.WindowsOptions.MaximizeButton = False + End Sub + ``` +3. See the title bar say "Form1" and the maximize button shown, while `Me.Caption` is "Set in code" and `Me.WindowsOptions.MaximizeButton` is False. The probe prints: + + ``` + -- set in Sub New, before Show: + Caption: "Set in code", title bar: "Designer caption" + Width: 300, client width: 400 + BorderStyle: tbFixedSingle, sizing border: True + MaximizeButton: False, maximize box: True + BackgroundFill painted: red + -- set again while shown: + Caption: "Set when shown", title bar: "Designer caption" + Width: 250, client width: 400 + BorderStyle: tbFixedSingle, sizing border: True + MaximizeButton: False, maximize box: True + BackgroundFill painted: blue + ``` + +The package's `WaynesForm` only repaints the form when one of these properties changes (`OnChanged` calls `ControlContext.Repaint`), and nothing applies them to the window, which the framework creates outside the package's code. + +What decides it: +- Not when the property is set: in `Sub New`, from the code that creates the form before it calls `Show`, and while the form is shown all give the same. +- Not the property: `Left`, `Top`, `Height`, `StartUpPosition` (set to `tbStartUpManual` with `Left` and `Top`), `ShowInTaskbar`, `ControlBox` and `WindowState` (`tbMaximized`) set in `Sub New` are ignored as well. +- Not the build: a 32-bit and a 64-bit run in the IDE, and a built 32-bit exe, give the same. + +**Expected behavior** +The window shows the form's properties as the code has set them: the title bar the `Caption`, the client area the `Width` and `Height`, and the border and buttons the `WindowsOptions`, at least for values set before the form is shown, as a form of the VB package does. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Severity: medium. Nothing fails and no error is raised, so a program that sets its form's title or frame in code shows the designer's instead, and its properties report values the window does not have. + + + +--- + +## A CustomControls form's Controls collection is always Nothing + +**Describe the bug** +The `Controls` property of a form of the CustomControls package (a `WaynesForm`), described in the package as "a collection of all controls attached to this form", is `Nothing` whenever a program can read it: in the form's constructor, from the code that creates the form before it calls `Show`, and while the form is shown. Any use of it, such as `Me.Controls.Count` or `For Each ctl In Me.Controls`, raises error 91, *Object variable or With block variable not set*. The form's controls themselves exist and work (`Me.Label1` is a `WaynesLabel`). + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `waynesform-controls-nothing.twinproj` (attached as `waynesform-controls-nothing.zip`) and run it: `Form1` holds one `WaynesLabel`, and it reports its `Controls` property in its `Sub New`, from `Sub Main` before `Show`, and once it is shown. +2. Or, in a form of the package holding a control named `Label1`: + + ```vb + Sub New() + Debug.Print TypeName(Me.Label1), Me.Controls Is Nothing + Debug.Print Me.Controls.Count + End Sub + ``` +3. See `WaynesLabel True`, then error 91 at `Me.Controls.Count`. The probe prints: + + ``` + in Sub New: Label1 is a WaynesLabel, Controls Is Nothing = True + in Sub New: Controls.Count raises 91, Object variable or With block variable not set + before Show: Label1 is a WaynesLabel, Controls Is Nothing = True + before Show: Controls.Count raises 91, Object variable or With block variable not set + while shown: Label1 is a WaynesLabel, Controls Is Nothing = True + while shown: Controls.Count raises 91, Object variable or With block variable not set + ``` + +The package's `BaseForm` class declares `Public Controls As CustomControls.CustomControlsCollection` with `[Serialize(False)]`, and nothing in the package sets it; the form engine, which creates the form's controls, does not set it either. + +**Expected behavior** +`Controls` is the form's `CustomControlsCollection`, holding each of its controls, as the property's description says and as the `Controls` collection of a form of the VB package does. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Not the time it is read: the constructor, before `Show` and while shown all give `Nothing`. Not the build: a 32-bit and a 64-bit run in the IDE, and a built 32-bit exe, give the same. Severity: low. The error is raised at once, so nothing is lost, but no program can reach a form's controls through the collection, or add or remove one with `Controls.Add` and `Controls.Remove`. + + + +--- + +## A CustomControls WaynesFrame never redraws for a property set at run time + +**Describe the bug** +A `WaynesFrame` of the CustomControls package is never drawn again once its form is shown: a property set while the form is shown, such as its `BackgroundFill`, changes the property and nothing on the screen, even after the whole window is redrawn. A `WaynesLabel` beside it, given the same fill in the same place, is drawn with it at once. A fill set in the form's constructor, before the frame is first drawn, is drawn. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `waynesframe-ignores-runtime-changes.twinproj` (attached as `waynesframe-ignores-runtime-changes.zip`) and run it: `Form1` holds a grey `WaynesFrame` and a green `WaynesLabel`. Once it is shown, its timer sets both fills to red, reports the colour drawn in each, has the whole window redrawn with `RedrawWindow`, and reports again. +2. Or, in a form of the package holding a `WaynesFrame` named `Frame1`, once the form is shown (in a `WaynesTimer`'s `Timer` event, say): + + ```vb + Frame1.BackgroundFill.ColorPoints.SetSolidColor vbRed + ``` +3. See the frame stay grey. The probe prints: + + ``` + fills set to red while shown: Frame1 drawn grey, Label1 drawn red + after RedrawWindow of the whole form: Frame1 drawn grey, Label1 drawn red + ``` + +The cause is in the package's `WaynesFrame` class. Its handler for a changed property is `If Me.ControlContext IsNot Nothing Then Me.ControlContext.Repaint`, as in every other control, but its `ICustomControl.Initialize` never stores the context it is given, so `ControlContext` stays `Nothing` and no repaint is asked for. `WaynesLabel`, `WaynesButton` and `WaynesGrid` end their `Initialize` with `Set Me.ControlContext = ControlContext`. The same line at the end of `WaynesFrame`'s `OnInitialize` should fix it: + +```vb + Private Sub OnInitialize(ByVal ControlContext As CustomControls.CustomControlContext) _ + Implements ICustomControl.Initialize + If Not ControlContext.GetSerializer.RuntimeUISrzDeserialize(Me, False) Then + InitializeDefaultValues + End If + Set Me.ControlContext = ControlContext + End Sub +``` + +**Expected behavior** +The frame is drawn again when one of its properties changes, as the package's other controls are. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Not the redraw: `RedrawWindow` of the whole form, with `RDW_INVALIDATE`, `RDW_ERASE`, `RDW_ALLCHILDREN` and `RDW_UPDATENOW`, leaves the frame as it was. Not the build: a 32-bit and a 64-bit run in the IDE, and a built 32-bit exe, give the same. Severity: medium. No error is raised, so a program that changes a frame's look in code, to show a state for instance, shows the old one, and the frame's properties report values the screen does not have. + + + +--- + +## A CustomControls control ignores most of its place, size and visibility set in code + +**Describe the bug** +A control of the CustomControls package on a `WaynesForm` is drawn at the place, the size and the visibility its form designer saved, whatever the code has set, for most of those properties. Set in the form's constructor, before the form is first drawn, `Left`, `Height` and `Dock` are drawn as set, and `Top`, `Width` and `Visible` are not. Set while the form is shown, none of the six is: the control stays where and as it was drawn, and setting `Visible` to `False` leaves it on the screen. Each property reads back the value the code set. The control's style properties, such as its `BackgroundFill`, set in the same places, are drawn as set. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `waynes-controls-ignore-geometry.twinproj` (attached as `waynes-controls-ignore-geometry.zip`) and run it: `Form1` holds six green `WaynesLabel`s, `L1` to `L6`, each 80 x 60 pixels. `Sub Main` shows the form twice: the first time its constructor gives each label a new value of one property (`L1.Left`, `L2.Top`, `L3.Width`, `L4.Height`, `L5.Visible`, `L6.Dock`), the second time it gives them once the form is shown. Each time it reports where each label is drawn. +2. Or, in a form of the package holding a `WaynesLabel` named `Label1`, once the form is shown: + + ```vb + Label1.Left = Label1.Left + 100 + Label1.Visible = False + ``` +3. See the label stay where it was, shown. The probe prints: + + ``` + in Sub New, L1.Left = 60 (designed 20): drawn at the old place False, at the new place True + in Sub New, L2.Top = 140 (designed 40): drawn at the old place True, at the new place False + in Sub New, L3.Width = 100 (designed 80): drawn past the old width False + in Sub New, L4.Height = 120 (designed 60): drawn past the old height True + in Sub New, L5.Visible = False: drawn True + in Sub New, L6.Dock = tbDockRight: drawn at the right edge True, at the old place False + while shown, L1.Left = 60 (designed 20): drawn at the old place True, at the new place False + while shown, L2.Top = 140 (designed 40): drawn at the old place True, at the new place False + while shown, L3.Width = 100 (designed 80): drawn past the old width False + while shown, L4.Height = 120 (designed 60): drawn past the old height False + while shown, L5.Visible = False: drawn True + while shown, L6.Dock = tbDockRight: drawn at the right edge False, at the old place True + ``` + +The package's base classes raise their `OnChanged` event for each of these properties, and each control asks its context to repaint, so the defect is in the form engine, which does not take the new values. + +**Expected behavior** +A control is drawn at the place and the size its properties (and its `Dock`) give it, and is hidden while its `Visible` is `False`, whenever they are set, as a control on a form of the VB package is. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Not the order of the assignments: in the constructor, `Top` set before `Left`, `Width` before `Height`, and `Visible` before `Left` are still ignored. Not the redraw: `RedrawWindow` of the whole form leaves a moved control at its old place. Not the build: a 32-bit and a 64-bit run in the IDE, and a built 32-bit exe, give the same. Related: the form's own window ignores its `Caption`, size and `WindowsOptions` set in code (reported on its own). Severity: medium. No error is raised, so a program that lays out, resizes, shows or hides its controls in code shows the designer's layout instead, and its controls report places, sizes and visibility the screen does not have. + + + +--- + +## CustomControls text draws three of the nine FontWeight values + +**Describe the bug** +The text of a control of the CustomControls package is drawn in three weights only, whichever of the nine `FontWeight` values its `TextRendering.Font.Weight` holds: 100 to 500 draw alike, as Segoe UI's regular face; 600 as Segoe UI Semibold; and 700 to 900 alike, as Segoe UI Bold. So `tbThin`, `tbExtraLight`, `tbLight` and `tbMedium` draw as `tbNormal`, and `tbExtraBold` and `tbHeavy` as `tbBold`, although Windows 10 has Segoe UI Light, Semilight and Black. This is how GDI maps a weight for the family "Segoe UI", whose GDI family holds only those three. `FontStyle` has no font name, so no family with more weights can be chosen. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `waynes-fontweight-three-steps.twinproj` (attached as `waynes-fontweight-three-steps.zip`) and run it: `Form1` holds a `WaynesLabel` with the caption "Wg Hq Wg Hq" at 28 points. Its timer sets each weight from 100 to 900 in turn and measures the ink of the text drawn; the probe then groups the weights that drew alike, and draws the same text with GDI in Segoe UI at 400, 600 and 700 to compare. +2. Or give two labels the same caption, one `Font.Weight = tbLight` and one `tbNormal`, or one `tbBold` and one `tbHeavy`. +3. See each pair drawn alike. The probe prints (the measurements at 144 DPI): + + ``` + Weights drawn alike: 100 200 300 400 500 | 600 | 700 800 900 + Weight 100: ink 352 x 53, darkness 1047 + ... + Weight 500: ink 352 x 53, darkness 1047 + Weight 600: ink 363 x 53, darkness 1392 + Weight 700: ink 374 x 53, darkness 1796 + ... + Weight 900: ink 374 x 53, darkness 1796 + GDI Segoe UI 400: ink 351 x 53, darkness 950 + GDI Segoe UI 600: ink 363 x 54, darkness 1482 + GDI Segoe UI 700: ink 375 x 53, darkness 1751 + As wide as GDI's Segoe UI at 400, 600 and 700: True + ``` + +**Expected behavior** +Each `FontWeight` value is drawn in the nearest face the family has: on Windows 10, `tbLight` in Segoe UI Light (300), `tbHeavy` in Segoe UI Black (900), and so on, as a font family chosen by weight is in DirectWrite and in CSS, whose 100 to 900 scale the enumeration follows. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Not the build: a 32-bit and a 64-bit run in the IDE give the same. Severity: low. Nothing is lost, but six of the enumeration's nine values give a weight other than the one named, and a design that relies on a light or a heavy weight cannot be drawn. + + + +--- + +## DebugConsole.PrintText ignores its ColorRGB argument: every line an add-in prints is drawn in the IDE's yellow + +**Describe the bug** +The IDE Extensibility package's `DebugConsole.PrintText` takes an optional second argument, `ColorRGB`, the colour of the line. On BETA 1042 the argument has no effect: every line an add-in prints is drawn in the yellow of the IDE's own message lines, whatever the value, an RGB colour, 0 or none. + +**To Reproduce** +`printtext-colorrgb-ignored` is an add-in project: building it makes a DLL that the IDE's compiler loads on every start until the DLL is removed. Install it knowingly, in an IDE you can restart, and remove it afterwards. + +Steps to reproduce the behavior: +1. Open `printtext-colorrgb-ignored.twinproj` (attached as `printtext-colorrgb-ignored.zip`) and build it for Win32. Copy `Build\PrintTextColorRgbIgnored_win32.dll` into `%APPDATA%\twinBASIC\addins\win32\` and restart the IDE. Open any project: the toolbar has a button, *Print in colour*, which runs + ``` + With Host.DebugConsole + .PrintText "no colour" + .PrintText "orange", RGB(255, 128, 0) + .PrintText "red", RGB(255, 0, 0) + .PrintText "blue", RGB(0, 0, 255) + End With + ``` +2. Click *Print in colour*. The DEBUG CONSOLE prints the four lines, all in the same yellow. +3. Close the IDE and delete `PrintTextColorRgbIgnored_win32.dll` from `%APPDATA%\twinBASIC\addins\win32\`. + +**Expected behavior** +Each line is drawn in the colour its `ColorRGB` gives: `orange` in orange, `red` in red, `blue` in blue, and `no colour` in the console's default colour. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Every line reaches the IDE's page with the class `debugConsoleOutputTextYELLOW`, which `event_output` in `ide/main.js` gives the output the compiler marks with the colour code `&HFE0000`. The page reads a line's colour only as one of five such codes (`&HFF0000` alert, `&HFE0000` yellow, `&HFD0000` a native exception, `&HFC0000` green, `&HEAEAEA` text read as HTML), never as a colour, so even a page that received the argument would draw an RGB colour in the default colour. None of the five codes passed as `ColorRGB` changes the line either: `&HFD0000` does not turn TRACE-MODE on, which it does for the compiler's own output. + +Severity: low. Nothing is lost, but an add-in cannot tell its warnings from its other lines by colour, as the argument promises. + + + +--- + +## A CefBrowser moved before Ready crashes CEF's browser process, and raises neither Ready nor Error + +**Describe the bug** +Moving or resizing a `CefBrowser` after it raises `Create` and before it raises `Ready` makes its browser process (the program's exe, started again with `--browser=`) end with an access violation (0xC0000005). A `Move` in `Form_Load` is enough. The control then raises neither `Ready` nor `Error`. The program's later calls to it, such as `Navigate`, raise run-time error -2147467259, *Unspecified error*, rather than the "not ready" error 5, and the program also shows a run-time error box, -2147467259 *Automation error*, even with `On Error Resume Next` around those calls. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `cef-move-before-ready.twinproj` (attached as `cef-move-before-ready.zip`), build it, and run the exe. Run from the IDE, it shows "Please build the project before trying to run it in the IDE." and ends. `Sub Main` shows `Form1` twice: first with its `CefBrowser` where the designer put it, then with `Form_Load` making the control 10 pixels narrower. Each time it waits up to 4 seconds for `Ready`. The exe exits with 10 if the first raised `Ready`, plus 1 if the second did. It uses the package's default runtime folder, unless a copy of the runtime is under `%TEMP%\tb-cef`. +2. Or, in a form with a `CefBrowser`: + + ```vb + Private Sub Form_Load() + CefBrowser1.Move CefBrowser1.Left, CefBrowser1.Top, CefBrowser1.Width - 150, CefBrowser1.Height + End Sub + + Private Sub CefBrowser1_Ready() + Debug.Print "Ready" + End Sub + ``` +3. See the exe exit with 10: the first control raises `Ready`, and the moved one raises nothing. Its browser process ends with an access violation in the exe's own code, which the event log records as Application Error 1000. + +The cause is in the package (cefPackage v145). The control's `HandleResize` calls `BrowserObj.SyncSize()` whenever `BrowserObj` is set, and `CreateCEFBrowser` sets it before `BrowserObj.CreateInstance` asks CEF for the browser. In the browser process, `BrowserOM.SyncSize` calls `CType(Of cef_browser_t)(BrowserCached).get_host()`, but `BrowserCached` is 0 until CEF calls `on_after_created` (`ClientLifeSpanHandler`), so `get_host` reads a function pointer at offset 0x18 of address 0. A full-memory dump of the browser process shows the fault in the `get_host` wrapper, called from `SyncSize`. `on_after_created` calls `SyncSize` itself once `BrowserCached` is set, so `SyncSize` can return when `BrowserCached` is 0. + +What decides it: +- The move: the same exe with both forms left as designed exits with 11, and no process faults. +- Not the order: in that run the second control, which shares the first one's browser process, raises `Ready` too. + +**Expected behavior** +The control raises `Ready`, as it does when it is not moved, and as a `WebView2` control moved at the same point does. If the browser process fails, the control raises `Error`. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042, with the CEF runtime 145.0.7632.160 (`cefRuntime145_win32.zip` of the twinbasic/cef-runtimes release v1.0.0) + +**Additional context** +Severity: medium. A program that lays out its controls in `Form_Load` gets a browser that never loads, and nothing tells it why. Checked as a 32-bit exe only. + + + diff --git a/WIP.A11y.md b/WIP.A11y.md index cfe75bd35..5c8ad73a5 100644 --- a/WIP.A11y.md +++ b/WIP.A11y.md @@ -10,7 +10,7 @@ which refuses a tree older than the sources that produced it, then [scripts/pick_a11y_sample.mjs --check](scripts/pick_a11y_sample.mjs) --- see [Choosing the sample](#choosing-the-sample) --- and then [scripts/check_a11y.mjs](scripts/check_a11y.mjs), which runs puppeteer + -axe-core over sixteen sample pages against WCAG 2.0/2.1/2.2 at Level A + AA +axe-core over a sample of pages against WCAG 2.0/2.1/2.2 at Level A + AA (plus the `heading-order` best-practice rule) and exits non-zero on any violation. It requires `build.bat` to have produced an up-to-date `_site/`. @@ -69,7 +69,7 @@ Syntax-highlight token colours are kept above 4.5:1 automatically: [builder/high ## Choosing the sample -The scan audits sixteen pages out of ~1,160, so its page list decides what it can report at all -- and a page list that stops being representative fails *silently*. A hand-picked list goes stale as the site grows around it: a sample with no table, image, `
` widget or video card leaves `image-alt`, the table rules and `scrollable-region-focusable` in the run options with nothing to run on, and the gate reports a clean pass. +The scan audits a sample of the site's pages, so its page list decides what it can report at all -- and a page list that stops being representative fails *silently*. A hand-picked list goes stale as the site grows around it: a sample with no table, image, `
` widget or video card leaves `image-alt`, the table rules and `scrollable-region-focusable` in the run options with nothing to run on, and the gate reports a clean pass. The full-site sweep ([scripts/sweep_a11y.mjs](scripts/sweep_a11y.mjs) — every page, both themes, both viewports, 3,476 audits, ~20 min) is the check on the sample. It shows which constructs the sample has to contain: table wrappers (`scrollable-region-focusable`), footnote back-links (`link-in-text-block`), the FAQ's `` elements at the phone viewport (`target-size`), heading structure (`heading-order`), diagrams (`role-img-alt`) and code-block colours (`color-contrast`). diff --git a/WIP.BugHunt.md b/WIP.BugHunt.md new file mode 100644 index 000000000..fd51e0582 --- /dev/null +++ b/WIP.BugHunt.md @@ -0,0 +1,94 @@ +# Bug hunt: leads not yet investigated + +Documenting is the main job. A suspected defect met along the way is written down here, in a +few lines, and left. Nothing in this file goes upstream, and nothing in it is evidence for a +page: a callout needs a reproducer, a lane or a case, never a lead. + +[BUGS-TO-REPORT.md](BUGS-TO-REPORT.md) is the next stage, for a defect that has been narrowed +and confirmed. The owner decides what is filed from there, and when, so that twinBASIC's +developers get a few reports they can act on rather than everything a session saw. + +## How a lead moves on + +1. **Write it down and go back to the page.** Each lead has: the build it was seen on, where + it was seen (the fixture, setup, probe or page), what was seen, and what is not known yet + (VB6 not checked, may be a misuse). Mark it **page affected** when a page now says something + the lead contradicts. +2. **A lead is investigated only when** a page it affects is being worked on and needs it + settled, or the owner picks it. A lead does not get investigated just because it is there. +3. **Investigating** means narrowing it to a reproducer with nothing else in it, on the newest + BETA installed, with VB6 checked where VB6 has the feature, and misuse ruled out. It ends in + one of these, and the lead leaves this file: + - **Misuse or a wrong expectation**: the lead is deleted, and a page that said the wrong + thing is fixed. + - **A defect of a contributed package**: a failing case in the package's test project, + recorded in its `expect.json` ([test/package-tests/README.md](test/package-tests/README.md)), + and a callout on the page if a reader would meet it. Not a BUGS-TO-REPORT entry, unless + the cause turns out to be twinBASIC's. + - **A defect of twinBASIC** (the compiler, the IDE, or a default or built-in package): an + entry in BUGS-TO-REPORT.md with its reproducer under `bugs//`, made with + `node scripts/bug_repro.mjs new`, and a callout on the page if a reader would meet it. +4. **A lead nobody can reproduce on the newest BETA** is deleted, with a line in the commit + message saying so. + +## Leads + +### VB package + +Seen on BETA 1042 by the `vb` setup of `shoot_docs` (fixture `test/shots/vb`). None checked in +VB6. + +- **`Controls.Add` of a control class no form holds** raises -2147467259, and never makes a + QRCode. +- **`TypeOf Is Form`** is True. +- **`Form.BorderStyle` set at run time** gives the tool-window styles and the fixed dialog + style no extended window style. +- **A menu's `ShortcutId` set at run time** shows no shortcut text. **Page affected**: the + Menu page says it does. +- **`MousePointer` `vbIconPointer` and `vbSizePointer`** set a null cursor. +- **A Report's preview** never returns from its first `DoEvents` on a private desktop. May be + misuse, or the private desktop. + +### WinNativeCommonCtls + +Seen on BETA 1042 by the `commonctls` setup (fixture `test/shots/commonctls`). + +- **A ListView filled while hidden** shows no items in `lvwIcon` view. +- **`MonthView.DayBold`** raises error 380 for a month scrolled into view by setting `Value`. +- **An icon in an ImageList with `ColorDepth24Bit`** draws on black. +- **The DTPicker's long date format** draws its fields with wide gaps. +- **`DTPicker.HandleDropDown`** tests `styles And MCS_NOTODAY = 0`, which by operator + precedence is `styles And (MCS_NOTODAY = 0)` and never true. Seen in the source, not run. + +### CustomControls + +- **`Class_Initialize` and `Sub New` together in a WaynesForm class** give TB5135. BETA 1042, + the `waynes` setup. + +### VBFLXGRD18 + +- **Without an explicit `Load Form1`**, `Form1.VBFlexGrid1` through the implicit instance + raises -2147467262 at the grid's first property. BETA 1042, the samples' template project. + May be twinBASIC's implicit form instance rather than the package. + +### User-defined types (from the GdiPlus work) + +Seen on BETA 1005, 32-bit, by the agents documenting GdiPlus; not seen again since. Check on +the newest BETA first: each may be gone. The GdiPlus samples avoid every form below. + +- **An element of a UDT array passed as a `ByVal` UDT argument** never returns: + `pts(1).Diff(pts(2))`, `g.DrawLine p, pts(1), pts(2)`, with `pts` a `GpPointF` array and no + GDI+ call involved. +- **A property read on an element of a UDT array** never returns: `types(1).CloseSubpath`, + with `types` a `PathPointType` array. Copying the element to a local first works. Another + agent got an access violation for the same read on a local array. Probably the same cause + as the lead above. +- **`m.Scale(2, 3)` as a statement**, with parentheses and no `Call`, does nothing and raises + nothing, on any class with a `Scale` method (also on a test class of its own). +- **`p.Scale(2)`** is a syntax error on `GpPointF` and `GpSizeF`; `p.Scale 2` compiles. + Probably related to the lead above. +- **GdiPlus's `PathIterator.NextSubpathPath`** gives a LINKER code generation error for any + project that uses `PathIterator`, though `tbbuild --build` still makes an exe. +- **Some UDT members do not link** ("compilation (codegen) error in Types.X"): + `GpPointF.Normalized`, and `OffsetBy`, `OffsetByPt`, `InflatedBy` and `InflatedByPt` on + `GpRect` and `GpRectF`. diff --git a/WIP.Build.md b/WIP.Build.md index 6b9830693..86753e29d 100644 --- a/WIP.Build.md +++ b/WIP.Build.md @@ -555,7 +555,7 @@ markdown file under `docs/` (`markdownFiles`), applies the real `code_block` / `code_inline` contents in order. Any difference fails. It also checks on every page that `blockRegions`, which parses blocks only, finds exactly the fences, code blocks and HTML blocks of the full parse. It is the gate on -`lib/markdown.mjs` and `lib/frontmatter.mjs` too (twelve module probes), and +`lib/markdown.mjs` and `lib/frontmatter.mjs` too (the module probes), and holds the tools that ask them what is code: `builder/counts.mjs`'s count validator, `builder/discover.mjs`'s warning about an unquoted frontmatter value that ends in `#`, and `scripts/convert_em_dash_separators.mjs`'s dash normaliser. @@ -575,7 +575,7 @@ it**, so removing the mask from one rewrite changes what the gate runs and is caught --- a gate that exercised `maskCode` alone would pass. And **its probes ride along in the normal run**, because the corpus is clean: a sweep that finds nothing is otherwise indistinguishable from a gate that has stopped detecting. A -rewrite moved outside the mask is caught by the seven region probes (one or two +rewrite moved outside the mask is caught by the region probes (one or two per damage in the table above, and a doubled-backtick span) while the sweep still reports zero. After changing the chain or `maskCode`, move one rewrite outside the mask and confirm a probe fails. @@ -600,7 +600,7 @@ definition list's `: ` makes, and leaves an admonition alone when its `[!TYPE]` line is in a region. A fence *inside* an admonition is a region too, and the rewrite still strips its `>` markers. -The six admonition probes and two "chain leaves alone" probes assert this. An +The admonition probes and the "chain leaves alone" probes assert this. An admonition must still be converted between two ordinary fences, beside a fence whose body holds a fence marker, after a tilde fence, after a fence closed by a longer run, after a line whose backtick info string keeps it from opening a fence, @@ -673,8 +673,8 @@ exit code (1), so no later step can clear it; a refused command line or a crash exits 2 instead. `scripts/check_page_baseline.mjs` is the gate on the gate, in `test.bat` and -both CI workflows: seventeen probes against a scratch baseline, no browser, no -built tree, six of them on who may write. **It is not optional bookkeeping** --- the guard is silent on a +both CI workflows: probes against a scratch baseline, no browser, no +built tree, some of them on who may write. **It is not optional bookkeeping** --- the guard is silent on a healthy tree, so a green build is exactly what a guard that has stopped working produces. One probe replays the loss of 37 pages; the two that look redundant (foreign source root, missing baseline under CI) each guard one of the rules @@ -712,7 +712,7 @@ foreword on every build. The emission sites are listed once, in `bookCoverage()` two probes pin them. `scripts/check_book_coverage.mjs` is the gate on it, in `test.bat` and both CI -workflows: twelve probes over pages and a manifest built in memory, so it reads nothing +workflows: probes over pages and a manifest built in memory, so it reads nothing under `docs/`. Dropping the chaptered-landing site fails ten of the twelve; ignoring `left_out:` fails nine. @@ -975,8 +975,7 @@ A change to the sweep is checked on real pages, not only on the probes: put a wr count back into a page, in each of the five shapes, and confirm the gate names every site. -Thirteen of its twenty-four probes cover the sweep, eight positive and five -negative. One puts a fenced `## ` line, the shape of Wisdom.md's `staging.md` +Most of its probes cover the sweep, positive and negative. One puts a fenced `## ` line, the shape of Wisdom.md's `staging.md` example, inside a wrapper's section, since sections are split through `lib/markdown.mjs`'s `splitOnMarker` and a heading-shaped line in a region starts none. @@ -1046,15 +1045,15 @@ unbounded hang. **Never quote a `degN` from a census.** The two backends disagree on it --- the native agent says polynomial degree 2 where the pure-JavaScript fallback says degree 3 on the same pattern --- while agreeing on exponential-or-not, which is -what the gate rests on, and on all eight classification probes. A degree is a +what the gate rests on, and on every classification probe. A degree is a ranking aid for reading a census, not a number to write into prose. Three implementation details are essential: - **The self-test probes ride along inside the normal run**, not behind a - `--self-test` nobody remembers. Eight classification probes, both directions: - the three regexes this repo has shipped (including the incomplete fix), - `^(a+)+$`, and four that must *not* be flagged --- plus nineteen fold probes, + `--self-test` nobody remembers. Classification probes, both directions: + the regexes this repo has shipped (including the incomplete fix), + `^(a+)+$`, and some that must *not* be flagged --- plus the fold probes, below. A green line saying "no exponential regex" is otherwise indistinguishable from a gate that has stopped detecting. - **Parallelism comes from separate processes.** Importing `recheck` spawns one @@ -1071,7 +1070,7 @@ Three implementation details are essential: a silent fall back to the pure-JS implementation --- correct, but roughly a hundred times slower. The script resolves the binary properly and sets `RECHECK_BIN` itself. If no native backend is found it says so in its summary - line rather than just being slow. Both backends classify all eight probes + line rather than just being slow. Both backends classify every probe identically, so the fallback is slower, not weaker. Limitation: a regex recheck cannot decide comes back `unknown`, and an unknown is @@ -1112,8 +1111,8 @@ modelled calls does (`--census` lists them). glob compiler building a pattern character by character. That is the difference between a blind spot someone can close and one they can only watch. -Nineteen fold probes ride along in the normal run, eleven that must resolve to an -exact pattern and eight that must be refused with a reason. **The negative eight +Fold probes ride along in the normal run, some that must resolve to an +exact pattern and some that must be refused with a reason. **The negative ones are the ones that matter**: a folder that resolves less than it claims does not fail, it moves constructions into the unresolved list, where nothing checks them and the run goes green. A folder that resolves *more* than it can know is worse, and the negatives diff --git a/WIP.ExamplesBuild.md b/WIP.ExamplesBuild.md index 44a0024bc..9f1817c03 100644 --- a/WIP.ExamplesBuild.md +++ b/WIP.ExamplesBuild.md @@ -12,10 +12,10 @@ compiles](docs/Documentation/Authoring.md) in Authoring.md. ## State -Of 2,832 `tb` fences in 1,037 pages, **2,660 are marked `check_build`** and compile (BETA 1010, -a full run with no finding), and 166 are `inert` with a recorded reason (114 of them -signatures, most OLEGuids' methods). 5 are undecided, in four pages (three under `IDE/`, and -`ToolWindow.md` of the tbIDE section). 2 fences are an `excerpt`. The run takes about 190 s on four lanes. +`examples.bat --census` gives the current figures: how many `tb` fences there are, and how many +of them are marked `check_build`, `inert` with a recorded reason (most of those signatures, most +OLEGuids' methods), still undecided, or an `excerpt`. Every marked fence compiles. The run takes +about three minutes on four lanes. 1,076 of the marked samples are also `check_run`. New marked samples should come from editing pages, not from marking: the unmarked fences @@ -1008,6 +1008,6 @@ a reader writes. one line each, because its purpose is "the control instances the samples assume". The invented *classes* go in `hidden` fences, because a class is not a control instance and a page is where it belongs. The line between the two is a judgement, not a rule. -- Which pages should carry `check_run` (1,076 samples do)? A sample states its output in its own +- Which pages should carry `check_run`? A sample states its output in its own text, as a trailing comment on a `Debug.Print` line or as the comment lines under `' Output:`; its comparison is only as useful as the pages that state a printed value. diff --git a/WIP.Harness.md b/WIP.Harness.md index c80f6c2a2..b9e8d85b8 100644 --- a/WIP.Harness.md +++ b/WIP.Harness.md @@ -475,6 +475,15 @@ Seven rules about the harness, each a comment in the file: they race: the compile can finish between them and give two diagnostics beside a zero error count. The harness refuses a sample where the two disagree rather than reporting either number. +- **Files of one base name are listed in the order of their full names** (`orderSameNamedFiles` + in `scripts/lib/tb-ide.mjs`, in `compileOutcome`, so `tbrun` and `tbbuild` alike). The panel + lists files by base name and puts a file whose name it already holds before the other, so two + files of one name (WinReg embeds WinDevLib twice: `wdAPIComCtl.twin` under + `/Packages/WinDevLib/` and under `/Packages/WinReg/Packages/WinDevLib/`) come in the order + their diagnostics reached the IDE: on BETA 1042, the nested copy first. tblaunch, a client of + the compiler's own sockets, receives them the other way round and cannot see the IDE's order, + so both tools break that tie by the full name (the owner, 2026-11-14; tblaunch's contract 20). + Every other row keeps the panel's order. - **Watch for the compiler going down, in the DEBUG CONSOLE and not in the status bar.** twinBASIC runs the compiler in the same process as user code, so a probe can crash it, and the IDE then restarts it three times before giving up. Untreated that is a silent @@ -952,6 +961,37 @@ panel's rows of files the wire does not report on, `unlistedRows`); a build, Bui most 1.0 (4.97 with LLVM); a `[RunAfterBuild]` run at most 0.83 (25.3 with LLVM, one of them printing for 15 s and finishing). None reached a timeout. +**On BETA 1042, Generics' compile wait never took the early ending**, and it was two flaws of +`waitForCompile` (fixed 2026-11-14), not the compile. Nine runs of `package_tests Generics --arch +both` all ended `still`, with `waitMs` 8.0 to 9.1 s: the compile was done 2 to 3 s after the project +opened, and the other 5 s was the stand-still fallback. tblaunch ends the same compile once every +source has published, plus 150 ms. The `compile` line's `check` field (the wire's counts, the +unlisted rows' counts, the page's counts, its rows and their expected total, from the last sample +compared) shows why: + +- **The wire counted an embedded package's file twice.** `src` leaves out Packages because a package + loaded from the compiler's cache publishes once, at load (WinDevLib's TB0003 rows). But a compile + that reaches a package's code publishes for that package file again: Generics' `Tuple.twin`, 4 + errors, in every compile of its tests. `c.wire.check` summed every file the compile published, + `unlistedRows` added the panel's rows of every file outside `src`, and `Tuple.twin` was counted by + both: 9 + 10 = 19 against the page's 15, every time. The wire's counts are now those of `src` + alone, and the rows count everything else. ArrayListLib and WinReg's early ending was never + affected, since their compiles publish nothing for their packages. +- **The quiet period was timed from before the sample was read.** Once the counts agreed, the + wait ended 10 ms after the compile's last publish, not 300 ms after it. The loop took `now` + before `readBuildState`, the evaluate took 480 ms while the page compiled, and the wire heard the + compile end during that time. The agreement was then dated before the compile it agreed with, and + was already older than `EARLY_QUIET_MS` when it was seen. The quiet period now runs from when the + sample comes back (the deadline still runs from when it was asked for). A later publish in the same + compile, of any file, restarts the quiet, as tblaunch's settle does (`check`'s `last`). + +tblaunch has neither flaw. Its rows come from each file's latest publish and are compared with +nothing, and its done and late-publish times are taken when the event is read (`CompileDone.twin`). +After the fix, 12 Generics compile waits (6 runs, both arches) all ended `early`, with `waitMs` 3.2 to +8.9 s, each about 320 ms after the compile's last publish. The spread is in when the compile started +(2.9 to 8.5 s into the wait, with another session's corpus runs loading the machine), not in the +wait. Both flaws are pinned in `test/example-batches.test.mjs`, with a fake page and its traffic. + ### Building for win64 **`tbrun` and `tbbuild` take `--arch win32|win64`, and set it on every run, win32 @@ -1212,7 +1252,10 @@ The script has to run before `main.js` reads the keys, and `main.htm` commits 0. IDE's browser process writes `DevToolsActivePort`. So `installDefaultsHook` starts before the IDE does, polls that file every 5 ms (`launchIde`'s own poll is at 100 ms and answers too late), connects to the browser target, auto-attaches to every target with `waitForDebuggerOnStart`, adds the script to each page -with `Page.addScriptToEvaluateOnNewDocument` and resumes it. The page is `about:blank` when attached, and +with `Page.addScriptToEvaluateOnNewDocument` and resumes it. For a port the caller chose (`tbbuild +--port N`, `tbrun --port N`) WebView2 writes no `DevToolsActivePort`, so the hook asks +`http://127.0.0.1:/json/version` every 20 ms for the browser's address instead; until 2026-11-15 +such a run waited a minute and failed. The page is `about:blank` when attached, and never navigates twice. The script puts a setter on `window.hostAppObject`, which `main2.js` assigns, and wraps the host object: `GetIDESetting` answers `""` for the blanked keys and `"{}"` for `GENERAL` and `GENERAL2`, `SaveIDESetting` of those keys does nothing, and every other call goes through with `this` @@ -1817,9 +1860,16 @@ probe lanes: window with mouse events on its resize bars, and reads `toolWindowsById`. A floating window the IDE loses stays lost through a compiler restart, so the docked case opens a second IDE. About 35 s. - -**Timing:** the thirteen lanes other than widgets (24 s alone) take about two minutes at the default two at a time -(the env lane is 16 s alone, the help lane 15 to 18 s, of which its sixteen cases are about 6 s). Typical lane costs: an add-in build about 10 s, a host IDE +- [test/addin/console-colour.test.mjs](test/addin/console-colour.test.mjs): the IDE defect + `printtext-colorrgb-ignored` of BUGS-TO-REPORT.md. Its ConsoleColourProbe add-in + ([test/addin/probes/consolecolour](test/addin/probes/consolecolour)) has two buttons: one + prints a line with `DebugConsole.PrintText` for no colour, 0, four RGB colours and four of the + five codes `event_output` reads from the compiler's own output, the other for `&HFD0000`, the + native-exception code. The scenario reads each line's HTML from + `debugConsoleContent.dataNodes` and the colour its class gives, and `g_TraceMode`. About 15 s. + +**Timing:** the lanes other than widgets (24 s alone) take about two minutes at the default two at a time +(the env lane is 16 s alone, the help lane 15 to 18 s, of which its cases are about 6 s). Typical lane costs: an add-in build about 10 s, a host IDE about 9 s, a scenario 2 s; the slowest lanes are arch (56 s: two builds and two switches of target) and reload (47 s: two builds and two restarts). diff --git a/WIP.Screenshots.md b/WIP.Screenshots.md index a969f93ab..ea76e3a8e 100644 --- a/WIP.Screenshots.md +++ b/WIP.Screenshots.md @@ -289,9 +289,9 @@ Exit codes: 0 every picture written or unchanged, 1 a picture failed, 2 the tool page's `currentDPI` to the 2x ratio, or the IDE's 5 s DPI check covers every designer with RESYNC), and `forms` (the same without the add-in), `community` (the demo, its compiler restarted on an empty licence key in the page) and `splash` (the demo, for the splash - alone), `programs`, `codelens`, `memory`, `package` and `fusion` (pictures of a running program), + alone), `programs`, `vbflexgrid`, `xcalendar`, `dialogs`, `webview2`, `cef`, `codelens`, `memory`, `package` and `fusion` (pictures of a running program), `package-server`, `settings-linked` and `package-check`, `import`, `webpage` and `web` (a - Chrome, not an IDE), `featuremap`, `tour`, `code-chapter`, `debugging`, `forms-chapter`, `projects`, `projects-refs`, + Chrome, not an IDE), `featuremap`, `tour`, `code-chapter`, `debugging`, `assert`, `forms-chapter`, `projects`, `projects-refs`, `projects-start`, the `building`, `starting` and `troubleshooting` setups, `customcontrols`, `code` and `sample9` (all described below). A setup is `{name, start, prepare}`, with `closing` to read what only its page can say before the IDE ends, `end` to check or give back what it holds after, and `noPage` for a setup with @@ -384,7 +384,7 @@ now on First Launch. Setup `code-chapter` (three parts): FeatureTour, the feature map's Inventory project, with `test/shots/codechapter/` staged onto it (`Helpers`, `Ev`/`Ev2`, `Watcher`) and the project's -warnings set so that TB0016 is a hint and TB0012 information. Its 21 pictures are under +warnings set so that TB0016 is a hint and TB0012 information. Its pictures are under `docs/IDE/Code/Images/`, plus `Menu_Edit` and `Menu_View`, taken with the code focused. - **Each picture starts from the default layout and its own tabs** (`chapterTabs`), and closes @@ -407,7 +407,7 @@ Setup `debugging` (three parts): the code-chapter project with `test/shots/debug staged onto it as well, a module `Checks` with the chapter's `FillTable` (a Subscript error on its fourth pass), `PingLater` (`Shell "ping -n 20 127.0.0.1", vbHide`) and `WaitAWhile` (a `DoEvents` loop of a minute at most). It is a setup of its own because the code chapter's -combo boxes list the project's modules. Its 16 pictures are under `docs/IDE/Debugging/Images/`, +combo boxes list the project's modules. Its pictures are under `docs/IDE/Debugging/Images/`, plus `Menu_Debug` (paused, the code focused) and `Menu_Run` (WaitAWhile running). - **Each picture starts from nothing** (`debugReset`: the program stopped, no breakpoint, no @@ -428,6 +428,12 @@ plus `Menu_Debug` (paused, the code focused) and `Menu_Run` (WaitAWhile running) is opened inside the panel instead. - A line for the console is put in its input row whole and entered (`consoleRun`): a space typed while the row's completion list is open accepts the list's first entry. +- **`Tutorials/Images/Assert_Failed`** (setup `assert`, `test/shots/assert`, AssertDemo): the + Testing with Assert tutorial's StringUtils and TestStringUtils, with Assert referenced and + `PadLeft` given a bug (it pads on the right), taken as Error_Panel is: `RunAllTests` run with + F6 and stopped at `TestPadLeft_Normal`'s assertion. The caret goes at the start of the + `Debug.Print` line's code: four characters in, it is past the column where `End Sub` ends, and + F6 finds no procedure (the defect Running.md states). ## The "Designing forms and reports" chapter @@ -507,7 +513,7 @@ project file the lane opens is `project.twinproj`, the name the title shows. `pr the same project with Microsoft Scripting Runtime's symbol overridden as `SR` and a type library that is not on the machine (`MISSING_LIBRARY`) put in the staged `Settings`; the IDE opens Project Settings by itself a second after loading it, and the setup's prepare closes it. -`projects-start` is the IDE with no project. Its 16 pictures are under `docs/IDE/Projects/Images/`; +`projects-start` is the IDE with no project. Its pictures are under `docs/IDE/Projects/Images/`; `Menu_File_Project` is the File menu with the project open (the Menu pages keep `Menu_File`, with none, which `New Project.md` also shows). @@ -551,14 +557,14 @@ none, which `New Project.md` also shows). ## The "Building" chapter -Six setups, their fixtures under `test/shots/building/`, copied from the Building lanes' +Several setups, their fixtures under `test/shots/building/`, copied from the Building lanes' `test/ide/probes/building-{exe,ax,pkg}`: `exe` is Program, a Standard EXE whose Sub Main waits a minute (so that a second build finds its file in use), `ax` is ShotActiveX, an ActiveX DLL whose class has GUIDs of its own (`B01D...B001` to `B003`, not the lanes', so that a lane and a shot run at once never share a registration), and `pkg` is MyPackage, a PRIVATE package. Each project is staged in a folder of the tool's own on `PACKAGE_ROOT` named for its setup (shown as `C:\tbshots\Building` and so on), with the templates' build path, so that a console line names no user; the setup's -`end` removes the folder once its IDE has ended. Its 14 pictures +`end` removes the folder once its IDE has ended. Its pictures are under `docs/IDE/Building/Images/`. - **`building`** (exe): the console after a build, a failed build and a build refused by the @@ -608,11 +614,11 @@ are under `docs/IDE/Building/Images/`. ## The "Starting a project" chapter -Four setups, their fixtures under `test/shots/starting/`: `Throwaway` is the Starting lanes' +Several setups, their fixtures under `test/shots/starting/`: `Throwaway` is the Starting lanes' `test/ide/probes/starting`, `Ledger` (a form, a module and a class, no manifest) and `Missing` (a `.vbp` naming `Gone.bas`) come from the trial's cases C, G and K. The `.vbp` fixtures are staged with CRLF, and every project is in a folder of the tool's own on `PACKAGE_ROOT`, named for its -setup, which the setup's `end` removes. Its 14 pictures are under `docs/IDE/Starting/Images/`. +setup, which the setup's `end` removes. Its pictures are under `docs/IDE/Starting/Images/`. - **`starting-first-run`**: the licence agreement, the reporting question and the first-run IDE Options. The IDE reads `--no-save-ide-settings` in `parseCommandLine`, after those dialogs, so @@ -658,9 +664,9 @@ setup, which the setup's `end` removes. Its 14 pictures are under `docs/IDE/Star ## The "When something goes wrong" chapter -Two setups, the fixture `test/shots/troubleshooting/Trouble`, the lanes' `test/ide/probes/troubleshooting` +The setups `troubleshooting` and `troubleshooting-box`, the fixture `test/shots/troubleshooting/Trouble`, the lanes' `test/ide/probes/troubleshooting` under another name: `Sub Crash` calls `RtlMoveMemory` with two bad addresses at line 10 of `MainMod`, the -line the page quotes. Its 8 pictures are under `docs/IDE/Troubleshooting/Images/`. +line the page quotes. Its pictures are under `docs/IDE/Troubleshooting/Images/`. - **`troubleshooting`**: one IDE, the project in a folder of the tool's own on `PACKAGE_ROOT`, its compiler restarted on `licenceKey = ""` as in `community` (`communityCompiler`), and @@ -810,6 +816,138 @@ line the page quotes. Its 8 pictures are under `docs/IDE/Troubleshooting/Images/ rectangle. Even so a form drew its caption inactive now and then (4829696d and 599a66ad, one run each), so `programShot` makes the form the active window (`activateWindow`) before its captures and again whenever a capture finds the caption inactive (owner). +- **Setup `vbflexgrid`**: `test/shots/vbflexgrid`, FlexGridShots, the pictures of the + VBFLXGRD18 section, taken as the `programs` setup's are (`flexShot`), one scene per command + line. The fixture commits none of the package: `startWithPackages` stages a copy with VBFLXGRD18 at + the version its Settings names, from TWINSERV through the `%TEMP%\tb-twinserv` cache. The grid's + drop-down list and calendar are top-level windows of the program, laid over the form where they + are (`overlaid`). **An edit closes when its box loses the focus** (the package destroys it on + `WM_KILLFOCUS`, with no event to cancel), and the form, when `activateWindow` makes it active, + gives the focus back to the grid: the fixture opens the edit again whenever it finds it closed + (`KeepEditing`). The calendar's "Today:" line is set to a fixed date (`MCM_SETTODAY`), or the + picture would change every day. +- **Setup `xcalendar`**: `test/shots/xcalendar`, XCalendarShots, the pictures of the xCalendar + section, one scene per command line, taken by `sceneShot`, the package embedded by + `startWithPackages` as `vbflexgrid`'s is. Its forms (`frmOne`, `frmTwo`, `frmThree`: one, two + and three calendars, with hidden Labels) are written by a kit script. The + calendars are reached through the form's extender (`As Object`): the type `xCalendar.xCalendar` + has no `Move`, `Left` or `Width` (TB5027). Every calendar shows March 15, 2026, set as `Value` + to the 16th and then `PreviousDay`, since `Value` in another month and `FirstDay` leave the + grid's dates as they were until the selection moves (the page's Known problems). The areas + picture's labels are Labels of the form, in the IDE labels' dark red, with lines drawn by the + form (`AutoRedraw`): the annotation layer draws on the IDE's page only, and a line ends at the + control's edge, since the form draws nothing over a child window. The heights it labels are + worked out as the control does (a line of the font plus the margins). +- **Setup `dialogs`**: `test/shots/dialogs`, DialogShots, the pictures of the VBComDlg and + AutoCompleteLib sections, both packages embedded by `startWithPackages`. A CommonDialog's dialog + is taken as the `vb` setup's MsgBox is (`programDialogShot`, which `vbDialogShot` now calls): a + timer in the program finds it by its title, keeps it active and in a mouse user's state, and the + tool ends the program. The Find and Replace dialogs are modeless and kept by the program's own + loop. The Folder Browser's root is a folder Projects that the program makes in the folder of the + signals, so the tree shows nothing of the machine; the new-style tree fades its expand buttons + with the focus, so the fading is switched off (`TVS_EX_FADEINOUTEXPANDOS`). **The Font dialog + lists the machine's fonts**: its list is scrolled to start at Microsoft Himalaya + (`CB_SETTOPINDEX`), so that the rows around Microsoft Sans Serif hold only fonts that come with + Windows or Office, and none of the novelty fonts this machine has. File Open and File Save are + not taken: their navigation pane shows the user's own folders. The AutoComplete scenes type + `Ap` into a text box (`WM_CHAR`, as the package's test cases do) and lay the suggestion list + (`Auto-Suggest Dropdown`) over the form, three runs in a row (`sceneRuns`); the caret is hidden, + since it blinks. +- **Setup `vb`**: `test/shots/vb`, VBShots, the pictures of the VB, VBRUN and VBA sections + (the VB package's controls, a form's drawing, its menus and MDI forms, MsgBox and InputBox), + one scene per command line, taken by `sceneShot` as `vbflexgrid`'s are; the VB reference's + library symbol is `*VB`, for the QRCode's members. Each scene lays its form out in pixels at 96 + DPI (`FitClient`: the form's client made the size in twips, then `Scale`d to those pixels). + Most controls are made in code (`Controls.Add`), which in BETA 1042 makes only a class that + some form already holds (else error -2147467259): `frmScene` holds one hidden control of each + class, the ListBox whose `Columns` needs design time, and the five QRCodes, which `Controls.Add` + does not make at all. A control inside a Frame is placed in twips (a Frame has no scale). The + forms of `formborders` are `frmBorder0` to `frmBorder7`, each with its `BorderStyle` at design + time: set at run time, it gives the tool windows and the fixed dialog no extended style + (`WS_EX_TOOLWINDOW`, `WS_EX_DLGMODALFRAME`), so they draw as ordinary windows; `Show` puts a form + with `vbStartUpScreen` in the middle of the screen whatever `Move` said, so the forms are moved + after. A `.tbform` lists a menu's items last first, and `ShortcutId` shows its text only when + set in the `.tbform`. The menu is opened by the tool (`vbMenuShot`, SC_KEYMENU 'f', as + `Preview_Window`). A dialog's scene shows no form: `vbDialogShot` starts the program once per + dialog, takes its one window and ends it, laying several out in rows (`inRows`); a timer in the + program, which runs inside MsgBox's modal loop, keeps the box's caption active and puts it in a + mouse user's state (`WM_CHANGEUISTATE`: no focus rectangle, no access-key underlines), which + differs from box to box otherwise, then writes `shown`. The MousePointer picture draws the + cursor each value makes the form set (`WM_SETCURSOR` sent, `GetCursor` read): vbIconPointer and + vbSizePointer are left out, since for them the form sets a null cursor (BETA 1042). The system + colours are Labels' `BackColor`, as twinBASIC paints them: `OleTranslateColor` refuses the + indexes from 26 on. Not taken: the Report preview, whose first `DoEvents` after `Show` never + returns on the tool's desktop, with or without a recordset, with the forms fixture's MyReport + unchanged too (not narrowed). +- **Setup `commonctls`**: `test/shots/commonctls`, CommonCtlsShots, the pictures of the + WinNativeCommonCtls section, one scene per command line, taken by `sceneShot` as `vb`'s are. + `frmScene` holds hidden controls of each class (`lv0`--`lv3`, `tv0`--`tv7`, `pb0`--`pb11`, + `sl0`--`sl7`, `mv0`, `dt0`--`dt5`, `ud0`, three ImageLists), which a scene places and shows; + its `GetDayBold` handler bolds the MonthView's days (`DayBold` raises 380 for a month just + scrolled into view, the visible range being cached at the last `MCN_GETDAYSTATE`). Every date is + January 14, 2025, 3:45 PM, the calendars' "Today:" included (`MCM_SETTODAY`, `&H100C`; the + DTPicker's calendar is dropped by `WM_KEYDOWN` F4 and dropped again whenever it has closed, its + `DropDown` window laid over the form). A ListView is filled once visible: filled while hidden, + `lvwIcon` shows none of its items and `lvwSmallIcon` places them oddly (BETA 1042, not + narrowed). **A progress bar drawn with visual styles animates** (its growth to a value, the + marquee, a light running along a normal bar) with timers of its own window: the fixture waits + 0.6 s for the bars to grow, starts the marquee, stops every timer (`KillTimer` on ids 0 to + 1000), gives the marquee's 30 ticks, and stops the timers again while it waits, since a bar + moved again once the tool had the window. The marquee's block still lands a few pixels apart + from run to run (its step is timed), so its track is left out of the picture's comparison + (`png.ignore` in the manifest, owner). The ImageList picture draws one list of the default + ColorDepth32Bit (icons) and one of ColorDepth24Bit (bitmaps on silver, the default + MaskColor): an icon added to a 24-bit list draws on black (not narrowed: the stock icon's own + mask, or the package's `RuntimeCreateScaledPicture`). +- **Setup `webview2`**: `test/shots/webview2`, WebView2Shots, the WebView2 section's one + picture, taken by `sceneShot`: frmWeb's control `Web1` shows the page `Page` returns, passed to + `NavigateToString` on Ready, and once NavigationComplete reports success, `Main` calls the + page's `setNote` with `JsRun` and waits a second before "shown"; a control's Error or a failed + navigation is written to "error". The control's user data folder is set on Create to + `wv2data` in the run's signals folder (under `%TEMP%`), not beside the exe. The WebView2 + runtime starts on a private desktop, and `PW_RENDERFULLCONTENT` captures its content, byte for + byte alike from run to run (BETA 1042). The control is 300 px high: at 280 the page shows a + scrollbar. +- **Setup `cef`**: `test/shots/cef`, CefShots, the CEF section's one picture, taken by + `sceneShot` as webview2's is, with the same page and the same `JsRun` line. The CEF runtime is + not part of twinBASIC: the setup downloads the release the CEF page links + (`cefRuntime145_win32.zip`, the exe's architecture) into `%TEMP%\tb-cef` once, and names its + folder to the program in `TB_SHOT_CEF_RUNTIME`, which the form passes to + `BrowserExecutableFolder` with a trailing backslash (the package joins it and `libcef.dll` + with nothing between); `UserDataFolder` is in the run's signals folder, never + `%LocalAppData%`, the package's default for both. `TB_SHOT_CEF_LOG` names a file for CEF's + verbose log. **The control's place and size are in the `.tbform`, never set in code**: a + CefBrowser moved before it raises Ready crashes its browser process, and raises neither + Ready nor Error (BUGS-TO-REPORT, `bugs/cef-move-before-ready`, BETA 1042). The private + desktop is no obstacle: CEF logs "No displays detected" and uses a fake display, and draws; + two runs give the same bytes (BETA 1042). A browser process that + crashes is the exe itself, so its dump has no names: run the exe under `cdb -o` on a leased + desktop (`launchOnDesktop`) and dump with `/ma`, then match the faulting procedure's calls + (imports, constants) against the package's source, exported with `impexp`. +- **Setup `waynes`**: `test/shots/waynes`, WaynesShots, the pictures of the CustomControls + section, taken by `sceneShot`, or by `waynesRuns` for a picture of several runs in rows (the + button's states, the six border styles). A form of the package is a window of class `tbForm` + (in `FORM_CLASS`), has no default instance and is shown modally only, so `Sub Main` makes the + scene's form with `New` and each form does its work on the ticks of its WaynesTimer + `tmrScene` (`Shots.Tick`: SetUp on the first, "shown" after six more, then "end"). **A + control's place and size must be in the `.tbform`**: one moved at run time is not drawn where + it moves to, and the form's size and BorderStyle are fixed there too, so there is one form per + scene. The forms are written by a kit script (geometry, names and texts only), and each form's + code sets the styles. **A control read from a `.tbform` takes no defaults of its own** + (`InitializeDefaultValues` runs only when there is nothing to read), so `Shots.Defaults` calls + the public default routines of each state (`InitializeDefaults`, `InitializeDefaultValues`, + `InitializeDefaultValues_Focused`) to give the look a control has when it is put on a form; a + colour in a `.tbform` is ABGR, its alpha in the top byte (`&HFFD0D0D0`, the form's grey; + without the alpha the form is black). `Controls` is Nothing at run time, so a control is + reached by name with `CallByName`. A WaynesFrame keeps no ControlContext, so a fill set at run + time is never drawn: the overview's frame has its fill in the `.tbform`. A form's Caption set + at run time does not retitle its window, and nothing else of the window set in code reaches it + (BUGS-TO-REPORT, `bugs/waynesform-window-ignores-code`): give a scene's form its caption, size + and frame in its `.tbform`. Hover and focus are shown by mouse messages the + program sends itself (with the thread's key state set to match); **PressedState and a text + selection cannot be shown**: the controls read the mouse button and Shift from the hardware, + so a button is told the button is up as soon as it is down. FontWeight was left out: with the + renderer's one font, 100 to 500 draw alike and 600 to 900 alike (no FontStyle names a font). - **85f25aa2** (Opacity 75, TransparencyKey red): `PW_RENDERFULLCONTENT` draws the key colour black and every pixel opaque, so the tool reads the key's pixels from a client-only capture (flags 1) and gives the picture the window's own alpha (191) and alpha 0 there: the page is @@ -846,6 +984,31 @@ line the page quotes. Its 8 pictures are under `docs/IDE/Troubleshooting/Images/ Fusion is documented for controls; a failure message that names no cause may be worth an issue. +## The tbIDE package's pictures + +- **Setup `tbide`**: `test/shots/tbide`, MyAddInDemo, an add-in built into the lane's copy as + `global-search` builds Sample 15, with `test/shots/sample` open: the tbIDE section's pictures + of what an add-in makes. Each part of it is the sample of the page its picture goes on, so the + picture shows that code at work: Toolbar.md's splitter and two buttons (`Toolbar`, also on + Button.md), ToolWindow.md's window, which Action 1 adds (`ToolWindow`, and + `ToolWindow_Docked`), and DebugConsole.md's two PrintText lines, which Action 2 prints into + the floated console (`DebugConsole_PrintText`). Its icon is the install's Sample 10's + `button1.png`, copied into the staged tree, not committed. **An add-in reads its resources + with `LoadResDataInternal`**, as the install's add-in samples do: `LoadResData` is the VB + package's, which neither an add-in sample nor the Standard DLL template references (TB5079 + without it); the class and the project must not share a name (TB5139). +- **Docking is a real drag** (`dockAboveProperties`): the grip at the left of a floating + panel's title bar starts the IDE's own drag on the press (a `dragstart` it makes itself), and + the docked panels take HTML drag events, so the mouse is pressed on the grip and moved with + `Input.setInterceptDrags` on, and the drag Chromium begins is delivered with + `Input.dispatchDragEvent` (enter, over, drop) near the top edge of PROPERTIES. The shot closes + the window with its close button, and `defaultLayout` puts the layout back. +- **Setup `tbide-sample10`**: Sample 10 built and loaded, for its window of styled `div` + elements on HtmlElement.md (`Sample10`). Sample 10 prints the project's path, under the + user's profile, as it loads, so the setup empties the console first. +- The console picture shows the sample's "orange" line in yellow: PrintText ignores its + colour (BUGS-TO-REPORT, `printtext-colorrgb-ignored`, a NOTE on DebugConsole.md). + ## Package server Taken on BETA 1010, in both themes where the theme shows. diff --git a/WIP.md b/WIP.md index 7f51a8399..bc8f69273 100644 --- a/WIP.md +++ b/WIP.md @@ -28,6 +28,7 @@ one covering what you are about to change. | work on the IDE help add-in, or on testing IDE add-ins by machine | [WIP.HelpAddin.md](WIP.HelpAddin.md) --- the plan, the IDE facts it rests on, and the probes still open | | change the site search, or add an index term | [WIP.Search.md](WIP.Search.md) --- the design, the eval and its figures, the rules for index entries, term entries and what has been rejected | | find the documentation work a new twinBASIC build leaves, or change the package indexer (`indexer/`) | [WIP.Indexer.md](WIP.Indexer.md) --- the store and the snapshots, the one shared scanner, `api.json` format 3, the owner's decisions and the open items | +| write down a suspected twinBASIC or package defect met while documenting, or pick one up to investigate | [WIP.BugHunt.md](WIP.BugHunt.md) --- the leads not yet investigated, and the steps that take a lead to a reproducer, a package's failing case or nothing | | add or check the run-time errors a procedure, statement or operator raises | [WIP.Errors.md](WIP.Errors.md) --- the owner's decisions, the data-driven design, and the batches with their status | | look up what a `TBnnnn` diagnostic code is, or document a compiler warning | [upstream/twinbasic-diagnostic-ids.h](upstream/twinbasic-diagnostic-ids.h) --- the compiler's full list of diagnostic codes and their internal names, from Wayne Phillips (current as of BETA 1007); `docs/Features/Compiler-IDE/Compiler-Warnings.md` is the public page for the warnings | | run a use-case evaluation round | [eval/README.md](eval/README.md) --- start every evaluator with `eval/run_case.mjs`, **never as a subagent**: a subagent inherits this session's `CLAUDE.md`, and with it this file, which is the answer key the corpus withholds | @@ -39,9 +40,9 @@ sibling. History goes nowhere: git keeps it. ## Status -Reference documentation is **complete** for all thirteen packages: VBA, VBRUN, VB, WebView2, Assert, CustomControls, CEF, WinEventLogLib, WinNamedPipesLib, WinServicesLib, tbIDE, WinNativeCommonCtls and AppGlobalClassObject. It is adapted from primary sources: Microsoft VBA-Docs (CC-BY-4.0) for the runtime library, `.twin` source for the twinBASIC-specific packages. The CEF and WebView2 packages also carry a tutorial set. +Reference documentation is **complete** for every default and built-in package: VBA, VBRUN, VB, WebView2, Assert, CustomControls, CEF, WinEventLogLib, WinNamedPipesLib, WinServicesLib, tbIDE, WinNativeCommonCtls and AppGlobalClassObject. It is adapted from primary sources: Microsoft VBA-Docs (CC-BY-4.0) for the runtime library, `.twin` source for the twinBASIC-specific packages. The CEF and WebView2 packages also carry a tutorial set. -Twenty-seven **contributed** packages from TWINSERV have sections under `docs/Reference/Contributed/`: ArrayListLib, DetoursLib, FileProps, Fmt, Generics, OLEGuids, WinReg, TwinTimerLib, tbFileSysTools, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_RES, TBMANLIB_Xml, tbProjPacker, tbRegExp, tsJson, tsPwGen, VBA_JSON, xCalendar, AutoCompleteLib and VBComDlg complete; BigNumberLib its main class only. TBMANLIB_ConsoleCore's console claims are checked by its test cases, each on a console screen buffer of its own with its input written by `WriteConsoleInput`; TBMANLIB_ConsoleComponents' follow the source, because the samples harness cannot capture a console. Generics (seven tuple classes) and xCalendar (one control) are each one page (owner), so `analyze` in audit mode lists their classes and members as undocumented. What xCalendar's page says it does at run time comes from `test/package-tests/xCalendar/probe/`, which runs the control on a form in a built exe. Fmt documents its test code (`HelloWorldClass`, `HelloWorldModule`, `Pootle`) in one paragraph of its landing page, which `exclude_from_docs` names; Generics' `exclude_from_docs` names its test code, `HelloWorldModule`, which the page does not mention. VBComDlg's `exclude_from_docs` names `CommonDialogBase`, and AutoCompleteLib's `AutoCompleteHandle`, each a module whose public procedures only its class calls. DetoursLib's names its demonstration module, `DetoursTest` (message boxes), which its landing page describes in a paragraph. Its test cases run in the IDE's own process, so each detours `MulDiv` of kernel32 and answers for itself only for one marked argument, passing every other call (another thread's included) to the original. `CreateDetourAtFuncAddress` does not check a *newAddress* of 0, and SlimDetours then reads address 0 inside a transaction that has the process's other threads suspended; no case tries it, since it would leave the IDE frozen, and the page states the missing check from the source alone. tbRegExp's `exclude_from_docs` names its private engine module, `StaticRegex`, and tbProjPacker's its helper modules, `modImpExp` and `modWin32`: the indexer counts a Public Enum as public even inside a Private Module, because a built-in package's are reached through its library symbol written with an asterisk (`*WinNativeCommonCtls`, as `ImlDrawConstants` says). By its bare name no such enum is reachable, in a built-in or a contributed package (TB5079 on BETA 1010). OLEGuids documents each interface's methods on the interface's page. What TBMANLIB_Dialog's pages say its dialogs do comes from `test/package-tests/TBMANLIB_Dialog/probe/`, which operates them in a built exe on a private desktop; run it again when the package's version changes. TBMANLIB_Dialog 1.1.0.0 has a page of its own for each class except cDialog, which keeps a page for each member, so `analyze` in audit mode lists the members of those one-page classes as undocumented; its `exclude_from_docs` names its test module, `TestModule`, and the seven COM interface declarations that cDialogEx calls inside (`IOleWindow`, `IModalWindow`, `IShellItem`, `IShellItemArray`, `IFileDialog`, `IFileOpenDialog`, `IFileSaveDialog`), which its landing page describes in a paragraph. cDialogEx 1.1.0.0 returns the name of the chosen file, not its path, ignores `InitialDir` and ignores a `Filter` that has no closing pipe, each documented as a WARNING. tbRegExp is the first section drafted by the doc-draft workflow ([WIP.Indexer.md](WIP.Indexer.md#draft-and-the-doc-draft-workflow)), then reviewed against the sources, the package's README and VBScript's own **RegExp** under `cscript`. tbRegExp 1.9.0.0 raises `vbObjectError + 3016` from a search that uses up its step budget and returns nothing (1.8.0.0's `SearchAborted` is gone); the budget is 10 steps for each character squared, at least 1,000,000 and at most 100,000,000, for the search of one match, and `RegExp.SearchStepLimit` replaces it with a fixed number, documented on its own page and in a section of the landing page. On the dev box (BETA 1010, win32) `\d+x` costs 2.0 × n² steps (2.002 to 2.009 for 500 to 2,000 digits), so it finishes on 7,000 digits (16 s) and raises on 10,000 (16 s); `(a+)+b` raises in 0.2 s on 30 or 300 `a` but takes 16 s on 3,000; `a*` matches 1,000,000 characters whole in about half a second. Its pattern syntax has a page of its own, `PatternSyntax.md`. Each one that is not Experimental has a chapter in the book's Packages part; the Experimental ones are left out of the book. **ArrayListLib, GdiPlus, Generics, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_Xml and WinReg are listed under Experimental Packages** (`docs/Reference/Experimental.md`, owner): Generics 1.0.0.0, the newest on TWINSERV, does not compile on BETA 1042 (owner, 2026-11-09): the WinDevLib 8.9.518.0 it embeds through WinDevLibImpl has six `Delegate Function` declarations with no `As` clause, which BETA 1042 reports as TB0003 where 1034 reported nothing, and WinDevLib's own settings make TB0003 an error; its test project went with the move (git history has it, for a version that compiles), and its `compile/` holds the six package rows beside its four compile cases. ArrayListLib and WinReg do not compile on BETA 1034 (each documented from its source and a copy of it that builds; ArrayListLib's samples are compile-only, and WinReg's are not marked `check_build` at all, because under four lanes its template's compile outruns the 10 s limit: mark them again when a version of WinReg compiles; in a copy of ArrayListLib 1.6.151.1 with the arguments of its three `VSwap` calls passed `ByVal` and `LSetByVal` taking a `LongPtr`, a For Each over a list with no items fails, ToString of such a list never returns, Reverse keeps the middle pair of an even run in place and a second GetEnumerator over a list ignores its arguments; in a copy of WinReg's source with its four failing calls passed `ByVal`, ReadString, GetRegistryValueType and the first ConvertValueToString give wrong results), TBMANLIB 1.0.0.29 does not compile in a 64-bit build (TB5001 in cSubClass, where the window procedure is passed as a Long) and has many members that fail or give wrong results, TBMANLIB_ConsoleComponents cannot take a cConsole of the published TBMANLIB_ConsoleCore (it embeds a copy of it, the same package at 1.0.0.1, whose types the compiler treats as different; checked in a project made by the IDE's own import, in either order), TBMANLIB_ConsoleCore reads keys wrongly, TBMANLIB_Diagnostic cannot create its Dictionary and misplaces List items, TBMANLIB_Dialog 1.1.0.0 has classes that fail at their main task (cDialogFindReplace reports nothing, cDialogPageSetup ignores paper and orientation, cDialogEx returns names without their folder, cDialogPassword shows the password in its confirmation boxes; every defect confirmed by a second agent, owner), TBMANLIB_ListBoxHScroll 1.0.0.1 moves the thumb 20 px per arrow and one page per track click while the list box scrolls its contents by its own step, so thumb and text disagree (confirmed by a second agent, owner), TBMANLIB_Aes runs other cipher modes than the ones named (its default CBC is ECB) and fails the NIST test vectors, and TBMANLIB_Xml's parser misreads self-closing elements and entities and does not return for some malformed text (and its XPath engine reads the step `..` and `and` with `or` wrongly). TBMANLIB_Xml's `exclude_from_docs` names its test module, `mXmlTests`, which its landing page describes in a paragraph, and the five types of its XPath engine (`XPathTokenType`, `XPathAxisType`, `XPathOperator`, `XPathStep`, `XPathPredicate`), which no public member takes or returns and which the mXPath page mentions in a paragraph; tsPwGen's names its five test modules and its six internal modules, and tsJson's its test and internal modules likewise, which their landing pages describe in a paragraph each. TBMANLIB_Diagnostic's `List` page has a NOTE labelled BETA 1034 under its `SetItem` sample: in a 32-bit IDE run `Err.Description` of the error 5 that `SetItem 0` raises on a list of one item (`Dim x As New List(Of String)`) is "Automation error", while the exe, a 64-bit IDE run and VB6 give "Invalid procedure call or argument" (`bugs/list-error5-automation-text`, with its case `ListTests.SetItem_AtZeroOnOneItemList_ErrorHasTheRuntimeText`). The samples harness runs in the IDE and has no per-sample way to state output that differs from an exe's, so that sample prints `Err.Number` only and the text is in the NOTE; when the entry is retired the NOTE goes and the sample prints `Err.Description` again, with the output `5: Invalid procedure call or argument`. See *Where things live* for how a package moves between the two lists. +The **contributed** packages from TWINSERV have sections under `docs/Reference/Contributed/`: ArrayListLib, DetoursLib, FileProps, Fmt, Generics, OLEGuids, WinReg, TwinTimerLib, tbFileSysTools, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_RES, TBMANLIB_Xml, tbProjPacker, tbRegExp, tsJson, tsPwGen, VBA_JSON, xCalendar, AutoCompleteLib, VBComDlg and VBFLXGRD18 complete; BigNumberLib its main class only. VBFLXGRD18's one control, VBFlexGrid, is a folder of topic pages with the members as `###` sections (owner), its enumerations on three pages, and its `exclude_from_docs` names the modules only the control calls (`Common`, `VisualStyles`, `VTableHandle`, `VTableInterfaceConstants`, `VBFlexGridBase`). Its samples run on a real grid: the `contributed-VBFLXGRD18` template's Form1 has one, which the module property `VBFlexGrid1` returns after an explicit `Load Form1`. Its pictures are of a built program, the `vbflexgrid` setup of `shoot_docs` ([WIP.Screenshots.md](WIP.Screenshots.md)), and its clipboard cases hold the clipboard from a hidden PowerShell (`ClipHolder.twin`). TBMANLIB_ConsoleCore's console claims are checked by its test cases, each on a console screen buffer of its own with its input written by `WriteConsoleInput`; TBMANLIB_ConsoleComponents' follow the source, because the samples harness cannot capture a console. Generics (tuple classes) and xCalendar (one control) are each one page (owner), so `analyze` in audit mode lists their classes and members as undocumented. What xCalendar's page says it does at run time comes from `test/package-tests/xCalendar/probe/`, which runs the control on a form in a built exe. Fmt documents its test code (`HelloWorldClass`, `HelloWorldModule`, `Pootle`) in one paragraph of its landing page, which `exclude_from_docs` names; Generics' `exclude_from_docs` names its test code, `HelloWorldModule`, which the page does not mention. VBComDlg's `exclude_from_docs` names `CommonDialogBase`, and AutoCompleteLib's `AutoCompleteHandle`, each a module whose public procedures only its class calls. DetoursLib's names its demonstration module, `DetoursTest` (message boxes), which its landing page describes in a paragraph. Its test cases run in the IDE's own process, so each detours `MulDiv` of kernel32 and answers for itself only for one marked argument, passing every other call (another thread's included) to the original. `CreateDetourAtFuncAddress` does not check a *newAddress* of 0, and SlimDetours then reads address 0 inside a transaction that has the process's other threads suspended; no case tries it, since it would leave the IDE frozen, and the page states the missing check from the source alone. tbRegExp's `exclude_from_docs` names its private engine module, `StaticRegex`, and tbProjPacker's its helper modules, `modImpExp` and `modWin32`: the indexer counts a Public Enum as public even inside a Private Module, because a built-in package's are reached through its library symbol written with an asterisk (`*WinNativeCommonCtls`, as `ImlDrawConstants` says). By its bare name no such enum is reachable, in a built-in or a contributed package (TB5079 on BETA 1010). OLEGuids documents each interface's methods on the interface's page. What TBMANLIB_Dialog's pages say its dialogs do comes from `test/package-tests/TBMANLIB_Dialog/probe/`, which operates them in a built exe on a private desktop; run it again when the package's version changes. TBMANLIB_Dialog 1.1.0.0 has a page of its own for each class except cDialog, which keeps a page for each member, so `analyze` in audit mode lists the members of those one-page classes as undocumented; its `exclude_from_docs` names its test module, `TestModule`, and the seven COM interface declarations that cDialogEx calls inside (`IOleWindow`, `IModalWindow`, `IShellItem`, `IShellItemArray`, `IFileDialog`, `IFileOpenDialog`, `IFileSaveDialog`), which its landing page describes in a paragraph. cDialogEx 1.1.0.0 returns the name of the chosen file, not its path, ignores `InitialDir` and ignores a `Filter` that has no closing pipe, each documented as a WARNING. tbRegExp is the first section drafted by the doc-draft workflow ([WIP.Indexer.md](WIP.Indexer.md#draft-and-the-doc-draft-workflow)), then reviewed against the sources, the package's README and VBScript's own **RegExp** under `cscript`. tbRegExp 1.9.0.0 raises `vbObjectError + 3016` from a search that uses up its step budget and returns nothing (1.8.0.0's `SearchAborted` is gone); the budget is 10 steps for each character squared, at least 1,000,000 and at most 100,000,000, for the search of one match, and `RegExp.SearchStepLimit` replaces it with a fixed number, documented on its own page and in a section of the landing page. On the dev box (BETA 1010, win32) `\d+x` costs 2.0 × n² steps (2.002 to 2.009 for 500 to 2,000 digits), so it finishes on 7,000 digits (16 s) and raises on 10,000 (16 s); `(a+)+b` raises in 0.2 s on 30 or 300 `a` but takes 16 s on 3,000; `a*` matches 1,000,000 characters whole in about half a second. Its pattern syntax has a page of its own, `PatternSyntax.md`. Each one that is not Experimental has a chapter in the book's Packages part; the Experimental ones are left out of the book. **ArrayListLib, GdiPlus, Generics, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_Xml and WinReg are listed under Experimental Packages** (`docs/Reference/Experimental.md`, owner): Generics 1.0.0.0, the newest on TWINSERV, does not compile on BETA 1042 (owner, 2026-11-09): the WinDevLib 8.9.518.0 it embeds through WinDevLibImpl has six `Delegate Function` declarations with no `As` clause, which BETA 1042 reports as TB0003 where 1034 reported nothing, and WinDevLib's own settings make TB0003 an error; its test project went with the move (git history has it, for a version that compiles), and its `compile/` holds the six package rows beside its four compile cases. ArrayListLib and WinReg do not compile on BETA 1034 (each documented from its source and a copy of it that builds; ArrayListLib's samples are compile-only, and WinReg's are not marked `check_build` at all, because under four lanes its template's compile outruns the 10 s limit: mark them again when a version of WinReg compiles; in a copy of ArrayListLib 1.6.151.1 with the arguments of its three `VSwap` calls passed `ByVal` and `LSetByVal` taking a `LongPtr`, a For Each over a list with no items fails, ToString of such a list never returns, Reverse keeps the middle pair of an even run in place and a second GetEnumerator over a list ignores its arguments; in a copy of WinReg's source with its four failing calls passed `ByVal`, ReadString, GetRegistryValueType and the first ConvertValueToString give wrong results), TBMANLIB 1.0.0.29 does not compile in a 64-bit build (TB5001 in cSubClass, where the window procedure is passed as a Long) and has many members that fail or give wrong results, TBMANLIB_ConsoleComponents cannot take a cConsole of the published TBMANLIB_ConsoleCore (it embeds a copy of it, the same package at 1.0.0.1, whose types the compiler treats as different; checked in a project made by the IDE's own import, in either order), TBMANLIB_ConsoleCore reads keys wrongly, TBMANLIB_Diagnostic cannot create its Dictionary and misplaces List items, TBMANLIB_Dialog 1.1.0.0 has classes that fail at their main task (cDialogFindReplace reports nothing, cDialogPageSetup ignores paper and orientation, cDialogEx returns names without their folder, cDialogPassword shows the password in its confirmation boxes; every defect confirmed by a second agent, owner), TBMANLIB_ListBoxHScroll 1.0.0.1 moves the thumb 20 px per arrow and one page per track click while the list box scrolls its contents by its own step, so thumb and text disagree (confirmed by a second agent, owner), TBMANLIB_Aes runs other cipher modes than the ones named (its default CBC is ECB) and fails the NIST test vectors, and TBMANLIB_Xml's parser misreads self-closing elements and entities and does not return for some malformed text (and its XPath engine reads the step `..` and `and` with `or` wrongly). TBMANLIB_Xml's `exclude_from_docs` names its test module, `mXmlTests`, which its landing page describes in a paragraph, and the five types of its XPath engine (`XPathTokenType`, `XPathAxisType`, `XPathOperator`, `XPathStep`, `XPathPredicate`), which no public member takes or returns and which the mXPath page mentions in a paragraph; tsPwGen's names its five test modules and its six internal modules, and tsJson's its test and internal modules likewise, which their landing pages describe in a paragraph each. TBMANLIB_Diagnostic's `List` page has a NOTE labelled BETA 1034 under its `SetItem` sample: in a 32-bit IDE run `Err.Description` of the error 5 that `SetItem 0` raises on a list of one item (`Dim x As New List(Of String)`) is "Automation error", while the exe, a 64-bit IDE run and VB6 give "Invalid procedure call or argument" (`bugs/list-error5-automation-text`, with its case `ListTests.SetItem_AtZeroOnOneItemList_ErrorHasTheRuntimeText`). The samples harness runs in the IDE and has no per-sample way to state output that differs from an exe's, so that sample prints `Err.Number` only and the text is in the NOTE; when the entry is retired the NOTE goes and the sample prints `Err.Description` again, with the output `5: Invalid procedure call or argument`. See *Where things live* for how a package moves between the two lists. The rest of this file is the maintenance guide for updating existing pages or adding new ones: package surface notes, page conventions, and the integrity check. @@ -72,11 +73,11 @@ The rest of this file is the maintenance guide for updating existing pages or ad - `docs/Reference/Built-In/WebView2/` — WebView2 package: the **WebView2** control class plus its small wrapper classes (request / response / headers / environment options) and the `wv2…` enumerations. - `docs/Reference/Built-In/CustomControls/` — CustomControls package: the eight **Waynes…** custom controls, their shared `Styles/` helper classes (`Fill`, `Borders`, `Corners`, `TextRendering`, …), the `Framework/` DESIGNER surface (interfaces, CoClasses, the `Canvas` / `SerializeInfo` UDTs), and the `Enumerations/` (`CornerShape`, `FillPattern`, `DockMode`, …). - `docs/Reference/Built-In/CEF/` — CEF (Chromium Embedded Framework) package: the **CefBrowser** control, its `EnvironmentOptions` sub-page, and the two user-facing enumerations (`CefLogSeverity`, `cefPrintOrientation`). This is a much smaller surface than WebView2 — the package is currently BETA and many WebView2-equivalent features are not yet exposed. -- `docs/Reference/Built-In/WinEventLogLib/` — Windows Event Log package: the generic `EventLog(Of T1, T2)` class and the `EventLogHelperPublic` module with its single `RegisterEventLogInternal` helper. Three pages total — `index.md`, `EventLog.md`, `EventLogHelperPublic.md`. -- `docs/Reference/Built-In/WinNamedPipesLib/` — Windows Named Pipes package: the IOCP-based async pipe framework — `NamedPipeServer` + `NamedPipeServerConnection` on the server side, `NamedPipeClientManager` + `NamedPipeClientConnection` on the client side. Five pages total (`index.md` + one per class). +- `docs/Reference/Built-In/WinEventLogLib/` — Windows Event Log package: the generic `EventLog(Of T1, T2)` class and the `EventLogHelperPublic` module with its single `RegisterEventLogInternal` helper. Pages: `index.md`, `EventLog.md`, `EventLogHelperPublic.md`. +- `docs/Reference/Built-In/WinNamedPipesLib/` — Windows Named Pipes package: the IOCP-based async pipe framework — `NamedPipeServer` + `NamedPipeServerConnection` on the server side, `NamedPipeClientManager` + `NamedPipeClientConnection` on the client side. `index.md` and a page per class. - `docs/Reference/Built-In/WinServicesLib/` — Windows Services package: a thin OS-services wrapper. `Services` (predeclared singleton) coordinates one or more `ServiceManager` configurations; `ServiceCreator(Of T)` is the generic factory the dispatcher uses to instantiate each user-defined `ITbService` class; `ServiceState` is a read-only state snapshot for an installed service. Four public enums (`ServiceTypeConstants`, `ServiceStartConstants`, `ServiceControlCodeConstants`, `ServiceStatusConstants`) live under `Enumerations/`. -- `docs/Reference/Built-In/WinNativeCommonCtls/` — Windows Native Common Controls compatibility package: a VB6-compatible Microsoft Common Controls 6.0 (`MSCOMCTL.OCX`) replacement, written on top of the Win32 ComCtl32 controls. Eight controls (**DTPicker**, **ImageList**, **ListView**, **MonthView**, **ProgressBar**, **Slider**, **TreeView**, **UpDown**), plus eight sub-object classes (**ListImages** / **ListImage**, **ListItems** / **ListItem**, **ColumnHeaders** / **ColumnHeader**, **Nodes** / **Node**) reached through container properties on the three collection-bearing controls, plus ~16 user-facing enumerations. Each control is a `BaseCtl` (`[COMCreatable(False)]`) plus a thin `` leaf tagged `[WindowsControl(...)]` — the same split VB-package and CEF use. -- `docs/Reference/Built-In/AppGlobalClassObject/` — the `App` global object available in every twinBASIC project: the `_App` interface plus its property pages under `_App/` (`Build`, `Comments`, `CompanyName`, `EXEName`, …). 38 files. +- `docs/Reference/Built-In/WinNativeCommonCtls/` — Windows Native Common Controls compatibility package: a VB6-compatible Microsoft Common Controls 6.0 (`MSCOMCTL.OCX`) replacement, written on top of the Win32 ComCtl32 controls. The controls (**DTPicker**, **ImageList**, **ListView**, **MonthView**, **ProgressBar**, **Slider**, **TreeView**, **UpDown**), plus the sub-object classes (**ListImages** / **ListImage**, **ListItems** / **ListItem**, **ColumnHeaders** / **ColumnHeader**, **Nodes** / **Node**) reached through container properties on the collection-bearing controls, plus the user-facing enumerations. Each control is a `BaseCtl` (`[COMCreatable(False)]`) plus a thin `` leaf tagged `[WindowsControl(...)]` — the same split VB-package and CEF use. +- `docs/Reference/Built-In/AppGlobalClassObject/` — the `App` global object available in every twinBASIC project: the `_App` interface plus its property pages under `_App/` (`Build`, `Comments`, `CompanyName`, `EXEName`, …). > **Two rules come from this package.** First, **never widen an `exclude:` entry in > `_config.yml` to a bare underscore prefix.** The twinBASIC interface is named `_App` @@ -85,7 +86,7 @@ The rest of this file is the maintenance guide for updating existing pages or ad > Second, a UTF-8 BOM in front of a page's `---` hides its frontmatter: `discover` > would file the page as a *static file* and serve the raw markdown. Editors on > Windows add a BOM unasked. `lib/frontmatter.mjs` strips a leading BOM before parsing. -- `docs/Reference/Built-In/tbIDE/` — IDE Extensibility package (this is the **addin SDK**). The package is type-only — it ships **public interfaces + CoClasses** that an addin DLL binds to; every implementation behind them lives in the twinBASIC IDE itself. The user-facing surface is one entry-point factory (`tbCreateCompilerAddin`) plus 23 CoClasses grouped by role: the addin contract (`AddIn`), the root API (`Host`), the loaded `Project`, the editors collection (`Editor` / `CodeEditor` / `Editors`), the virtual file system (`FileSystem` / `FileSystemItem` / `Folder` / `File`), the in-IDE UI surface (`Toolbar` / `Toolbars` / `Button` / `ToolWindow` / `ToolWindows`), the HTML DOM inside a tool window (`HtmlElement` / `HtmlElements` / `HtmlElementProperty` / `HtmlElementProperties` / `HtmlEventProperty` / `HtmlEventProperties`), the `DebugConsole`, `KeyboardShortcuts`, `Themes`, and the single concrete user-instantiable helper class `AddinTimer`. Flat layout — one page per CoClass / Class plus the index landing. +- `docs/Reference/Built-In/tbIDE/` — IDE Extensibility package (this is the **addin SDK**). The package is type-only — it ships **public interfaces + CoClasses** that an addin DLL binds to; every implementation behind them lives in the twinBASIC IDE itself. The user-facing surface is one entry-point factory (`tbCreateCompilerAddin`) plus CoClasses grouped by role: the addin contract (`AddIn`), the root API (`Host`), the loaded `Project`, the editors collection (`Editor` / `CodeEditor` / `Editors`), the virtual file system (`FileSystem` / `FileSystemItem` / `Folder` / `File`), the in-IDE UI surface (`Toolbar` / `Toolbars` / `Button` / `ToolWindow` / `ToolWindows`), the HTML DOM inside a tool window (`HtmlElement` / `HtmlElements` / `HtmlElementProperty` / `HtmlElementProperties` / `HtmlEventProperty` / `HtmlEventProperties`), the `DebugConsole`, `KeyboardShortcuts`, `Themes`, and the single concrete user-instantiable helper class `AddinTimer`. Flat layout — one page per CoClass / Class plus the index landing. - `docs/Reference/Contributed/` — the contributed packages, one folder each, landing page `Contributed.md` beside it. **A package's landing page opens, under its H1, with `**Author:**`** (owner): the publisher TWINSERV lists (`publisher` in `indexer/.packages/manifests/contributed.json`), or the author the package's own sources name when that is someone else (VBA_JSON: Tim Hall, published by WaynePhillipsEA). Next to the author, on the same line, `**Version:**`: the version the section documents, which is its `indexed_from` and changes with it (owner). Then `**On GitHub:**` with a link, when a repository holds the package, or the library the package says it is made from; search GitHub for the package's name and the author's account, and check that the repository holds the package's code (its history too: `TBMANLIB_*` were never in woeoio's `tbman`). A landing page with one or two sections has no `* TOC` list. A class with member pages is a folder, `/index.md` at `/tB/Packages/Contributed///` with its members beside it, so a member links to its class as `(.)`; a class documented on one page is `.md`. Each package that is not Experimental is a chapter of the book's Packages part in `_book.yml`. A section's `indexed_from` is the four-part TWINSERV version, and its snapshot is under `indexer/snapshots/contributed/`. **Every NOTE and WARNING of a section is backed by test cases** in the package's test project, `test/package-tests//` (owner; [its README](test/package-tests/README.md)), and names them in a `` marker on the line above it, which `check_package_tests.mjs` in `test.bat` enforces. **A NOTE or WARNING is only for a real difference or limit** (owner): a statement that describes how the package works stays prose, tied to its cases by a region, the marker on a line of its own above it and `` after it (owner). A difference from the object the package replaces that gives a different result silently (tbRegExp's `\1(a)`, `{,m}`, `$~` against VBScript) is a NOTE, not a WARNING (owner). A case checks what is correct, not what the package does (owner): a defect is a failing case, recorded in the project's `expect.json`, so the project tells the package's author what to fix. A section whose project is not written yet is in that gate's `PENDING` set. **A package that does not compile on the newest BETA gets no test project** (owner: ArrayListLib, WinReg, Generics): it stays in `PENDING` until a version of it compiles, and a `compile/` folder alone names the rows that refuse it, so its "does not compile" is checked. One that compiles for one architecture only is tested on that one (owner: TBMANLIB, win32; `arches` in its `expect.json`, test/package-tests/README.md), with a compile case for the other. A case that the IDE's own process would change goes in the package folder's `exe/`, which `package_tests.mjs` runs in a built exe (GdiPlus: the IDE has started GDI+; TBMANLIB: an HTTPS server of its own). `package-tests.bat` runs the cases; a case it reports *fixed* means the callout goes. **The landing page ends, after See Also, with `## Test cases`**: one or two sentences linking to `-tests.twinproj` (owner), which the build publishes beside the section without the package's code in it (owner; one exception, owner: TBMANLIB_ConsoleComponents' project carries verbatim copies of seven of its component files, in `Sources/ComponentSources/`, because the package's own components cannot be given a console object, and its drawing can be checked only on the copies): it references the package as a linked package, which the reader puts in `%APPDATA%\twinBASIC\packages` ([WIP.PackageTests.md](WIP.PackageTests.md)). Its samples compile in the `contributed-` sample template, whose `Settings` names the package's version: **change that version with `indexed_from`** ([WIP.ExamplesBuild.md](WIP.ExamplesBuild.md#template-projects)). **A contributed package is documented and its samples compiled against the newest twinBASIC BETA installed, never an older one** (owner): the version that matters is the package's, and a statement about the compiler (such as "does not compile on BETA 1010") names that newest build. **A contributed package that does not compile on that build, or has defects that a program would meet, is listed under Experimental Packages** (owner); a minor defect that the section documents does not make it Experimental (owner: VBComDlg, whose Replace All raises no event, stays Contributed; owner: nor does a fixed limit that the section states at the top of its landing page; owner: tsJson 1.0.15.0 stays Contributed, its defects confirmed by a second agent and each stated in a WARNING with a way round it; owner: xCalendar 1.0.17.0 moved back to Contributed once its text colours worked on BETA 1034, its grid and edge-press defects stated in a WARNING). **A package moves from Contributed to Experimental for its defects only after a separate agent has reproduced each defect independently** and ruled out misuse, a wrong expectation, a twinBASIC defect and the harness (owner). **Before any package moves to Experimental, for its defects or because it does not compile, its section is updated to the newest version on TWINSERV** (owner, 2026-11-09): `node indexer/twin-index.mjs sync --package ` gives that version; a newer one is documented first (its pages, `indexed_from`, snapshot, sample template and test project), and the move goes ahead only if the newest version still has the defects or still does not compile. The move itself: `docs/Reference/Experimental.md`, at `/tB/Packages/Experimental/`, after Contributed Packages. Its landing page's `parent:` is `Experimental Packages`, its line is in `Experimental.md` and not in `Contributed.md`, and it has no chapter in the PDF book (owner: the book is for packages ready for use in a program): its entry is in `left_out:` of `docs/_book.yml`, in the list of Experimental packages, and the Experimental Packages page is left out with it. Its folder and URLs stay under `Contributed/`, so a package that is fixed moves back by changing only those three and the book (its entry leaves `left_out:` and its chapter is added after VBComDlg's), and its pages keep their addresses. A link from a book page to a left-out one opens the website. - `docs/Downloads/index.md` — the Downloads page, `/Downloads`, a top-level page at `nav_order: 4` and in `_book.yml`'s `left_out:`. **Every file the documentation publishes for readers has a card or a row there**, and the page that documents it keeps its own link (owner). Cards are `
` inside `
` (styles at the end of `custom.scss`), with the theme's `.btn` for each file. The release job publishes every same-site link on the built page that has the `download` attribute, beside the zip and the PDF, so a new download needs no change to the workflow. `{{tbdocs:size:}}` gives a published file's size and `{{tbdocs:packageTestRows}}` the test projects' rows, both expanded before render; the help add-in's size is prose ("about 61 MB" since the pre-built search index, October 2026; it is also on the Help Add-In page, with the archive's "about 60 MB"), because its project embeds the offline tree, this page included, so it cannot be known before render. The PDF's release URL spells it `twinBASIC.Book.pdf`: GitHub turns the space into a dot, and the spaced name 404s. The footer's **Read Offline** link (`read_offline_link` in `_config.yml`) goes to the page's `#read-offline`. - `docs/Reference/Data-Types.md` and `docs/Reference/Data-Types/.md` — the intrinsic data types (owner, 2026-10-18): one page per type at `/tB/Core/` (`parent: Data Types`, `grand_parent: Reference Section`, since the Features page *New Data Types* has the same title), and the summary page, `/Reference/Data-Types`, with one `## ` section per type that links to it. The summary's `symbols:` names the types, and the symbol index points each at its section (kind `type`, the one URL outside `/tB/`), so keep those headings' text. `Long.md` is the model page. @@ -108,8 +109,8 @@ Per-package content-shape references live in sibling files. Open the relevant on - [WinEventLogLib Package](WIP.WinEventLogLib.md) — the generic `EventLog(Of T1, T2)` class + `EventLogHelperPublic` module + the message-table backing pattern. - [WinNamedPipesLib Package](WIP.WinNamedPipesLib.md) — IOCP-based async pipe framework: server + client manager + per-side connection classes + the `Cookie` / transient-`Data()` / `ManualMessageLoop` idioms. - [WinServicesLib Package](WIP.WinServicesLib.md) — thin OS-services wrapper: `Services` singleton + `ServiceManager` + `ServiceCreator(Of T)` + `ServiceState` + `ITbService` + four enums. -- [tbIDE Package](WIP.tbIDE.md) — the addin SDK (type-only compiler package): 23 CoClasses + `AddinTimer` + the HTML/DOM `[COMExtensible]` surface + samples 10–15 idiom map. -- [WinNativeCommonCtls Package](WIP.WinNativeCommonCtls.md) — VB6-compatible `MSCOMCTL.OCX` replacement: 8 controls + 8 sub-objects + per-control nested enums + 10 module-level enums. +- [tbIDE Package](WIP.tbIDE.md) — the addin SDK (type-only compiler package): the CoClasses + `AddinTimer` + the HTML/DOM `[COMExtensible]` surface + samples 10–15 idiom map. +- [WinNativeCommonCtls Package](WIP.WinNativeCommonCtls.md) — VB6-compatible `MSCOMCTL.OCX` replacement: controls + sub-objects + per-control nested enums + module-level enums. - [BigNumberLib Package](WIP.BigNumberLib.md) — contributed: what is known about the package and not on its pages yet (an unconfirmed `AssignDivision` defect near the library's capacity). The three "winlibs" packages — [WinServicesLib](WIP.WinServicesLib.md), [WinEventLogLib](WIP.WinEventLogLib.md), and [WinNamedPipesLib](WIP.WinNamedPipesLib.md) — share an essential set of integration idioms: composition-delegation on `EventLog(Of …)`, the `ManualMessageLoopEnter` / `Leave` pattern coupling `NamedPipeServer` to a service's `ChangeState` handler, and `PropertyBag` as the canonical pipe payload. When working on any of the three, check the other two for cross-references. @@ -546,7 +547,7 @@ No build gate evaluates a `tb` fence: `check_code_regions.mjs` only protects its the compiler. A sample opts in by carrying `check_build` in its fence info string. The tool works out what to generate around it, packs many samples into one project, builds them through `tbbuild` on concurrent lanes, and reports each diagnostic against the line in the -page it came from. **2,660 samples are marked, and the run takes about 190 seconds.** +page it came from. **The run takes about three minutes**; its summary line says how many samples it compiled. It is **never** wired into `build.bat`, `check.bat`, `test.bat` or CI: it needs a twinBASIC install, which `npm install` is not, and Windows with a private desktop and a @@ -587,9 +588,9 @@ Why the report separates the wedged task from the merely blocked ones, and why - `test.bat` — the tests the *toolchain* has to pass: the publish-allowlist self-test (`scripts/check_publish_policy.mjs`), the gate-list check (`scripts/check_gate_lists.mjs`), the CI-workflow roster check (`scripts/check_ci_workflows.mjs`), the lint gate (`scripts/check_lint.mjs`), the site-search unit tests (`node --test test/search.test.mjs`), the split search-index build against lunr's own (`node --test test/search-index.test.mjs`), the markdown-plugin unit tests (`node --test test/render.test.mjs`), the date-formatter unit tests (`node --test test/strftime.test.mjs`), the bug-reproducer picture tests (`node --test test/png.test.mjs`), the embedded-image tests (`node --test test/compact-image.test.mjs`), the SVG screenshots' one-line test (`node --test test/svgshot.test.mjs`), the screenshot review tool's tests (`node --test test/shot-review.test.mjs`), `check_examples.mjs`'s probes (`node --test test/example-batches.test.mjs`), the IDE-folder unit tests (`node --test test/ide-folders.test.mjs`), the broker tests (`node --test test/broker.test.mjs`, skipped unless `TBBROKER_EXE` names a built broker), the add-in project-file tests (`node --test test/addin-project.test.mjs`), the package-indexer tests (`node --test test/indexer.test.mjs`), the IDE `main.js` tool's tests (`node --test test/ide-js.test.mjs`), the regex-safety gate (`scripts/check_regex_safety.mjs`), the code-region gate (`scripts/check_code_regions.mjs`), the page-count drift-guard probes (`scripts/check_page_baseline.mjs`), the book-coverage probes (`scripts/check_book_coverage.mjs`), the package-test markers and projects (`scripts/check_package_tests.mjs`), the evidence markers of labelled callouts (`scripts/check_callout_evidence.mjs`), the symbol-index probes (`scripts/check_symbol_index.mjs`), the twinBASIC-scanner probes (`scripts/check_twin_parsers.mjs`), the attribute-sweep probes (`scripts/check_attribute_sweep.mjs`), the command-line probes and cases (`scripts/check_cli.mjs`), the pdf-lib shim comparison (`scripts/check_pdf_shims_equiv.mjs`), the impexp parity check (`scripts/check_impexp_parity.mjs`), and the axe source-patch verification (`scripts/check_axe_patch_equiv.mjs`). ~23 s, of which the regex-safety gate is ~10 s and the impexp check ~4 s. See [What belongs in test.bat rather than check.bat](WIP.Build.md#what-belongs-in-testbat-rather-than-checkbat). - `book.bat` — renders the PDF from `docs\_site-pdf\book.html` via `node book\render-book.mjs` into `docs\_pdf\twinBASIC Book.pdf`. Run `build.bat` first to populate `_site-pdf/`; `book.bat` refuses a tree older than its sources rather than rendering the previous book (see [The book refuses a stale source tree](WIP.Build.md#the-book-refuses-a-stale-source-tree)). -- `examples.bat` — compiles the documentation's own twinBASIC code samples, every `tb` fence marked `check_build`, and reports the ones the compiler refuses against the line in the page they came from; a statement sample also marked `check_run` is built and run, and what it prints is checked against the page. Needs a twinBASIC install and Windows, so it is outside every gate and outside CI; ~190 s over the 2,660 samples marked (1,076 of them `check_run`). `--build` also builds each project that compiles clean, and `--llvm` builds it with LLVM (see [WIP.ExamplesBuild.md](WIP.ExamplesBuild.md)). Two modes need no compiler at all: `--census` classifies every fence and says how many classifiable ones are still unmarked, and `--report ` groups a saved `--propose --json` survey by diagnostic, section and unresolved name. `--propose` itself does compile. See [Compiling the reference's own code samples](#compiling-the-references-own-code-samples) and [WIP.ExamplesBuild.md](WIP.ExamplesBuild.md). -- `package-tests.bat` --- runs the test projects of the contributed packages named (in any case: `tbregexp`), or of every one with `--all-packages`, which is never the default (`scripts/package_tests.mjs`): each project under `test/package-tests/` is staged with its package embedded and run with `tbrun --tests` as 32-bit and 64-bit, and each case is judged against `expect.json` as *documented*, *fixed* (the callout goes) or *changed* (a claim of the page is no longer true). `--update` writes `expect.json` from the run; read every entry it writes, since each is a claim that the package is defective. A case that never returns is caught and run alone. It also rewrites the generated `RunAll.twin`. Outside every gate and CI, as `examples.bat` is. The build publishes each project, referencing the package as a linked package and carrying none of its code, as `tB/Packages/Contributed//-tests.twinproj` in the online tree (the `packageTests` task, `builder/package-tests.mjs`, `_config.yml`'s `package_tests`; the publish allowlist exempts those paths, and the offline tree's links go to the website). -- `addin-test.bat` — tests IDE add-ins by operating an IDE: every lane in `test/addin/lanes.mjs` builds the add-ins it tests into a private copy of the install, opens a project and checks what the add-in does. Outside every gate and outside CI for the same reasons as `examples.bat`; the eighteen lanes: Samples 10 and 15, the fourteen probe lanes behind the answers in [WIP.HelpAddin.md](WIP.HelpAddin.md) (`keys-help` is `keys` with the help add-in loaded), and the help add-in in `add-in/` twice, built with its committed copy of the symbol index, `add-in/Resources/SYMBOLS/symbols.json`, which a local build rewrites whenever the index changes. The `help` lane serves the built `docs/_site` on localhost to the add-in's pane; `help-offline` builds the add-in with a help archive of `docs/_site-offline` and the pane's pages come from the add-in's own server. So run `build.bat` first. Exit 0 every lane passed and the registry is as it was found, 1 a lane failed, 2 the harness failed, 3 the registry or a work folder was not put back. See [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler) for its rules. +- `examples.bat` — compiles the documentation's own twinBASIC code samples, every `tb` fence marked `check_build`, and reports the ones the compiler refuses against the line in the page they came from; a statement sample also marked `check_run` is built and run, and what it prints is checked against the page. Needs a twinBASIC install and Windows, so it is outside every gate and outside CI; about three minutes. `--build` also builds each project that compiles clean, and `--llvm` builds it with LLVM (see [WIP.ExamplesBuild.md](WIP.ExamplesBuild.md)). Two modes need no compiler at all: `--census` classifies every fence and says how many classifiable ones are still unmarked, and `--report ` groups a saved `--propose --json` survey by diagnostic, section and unresolved name. `--propose` itself does compile. See [Compiling the reference's own code samples](#compiling-the-references-own-code-samples) and [WIP.ExamplesBuild.md](WIP.ExamplesBuild.md). +- `package-tests.bat` --- runs the test projects of the contributed packages named (in any case: `tbregexp`), or of every one with `--all-packages`, which is never the default and leaves out GdiPlus, run only when named (owner; `ALL_PACKAGES_SKIP` in `lib/package-tests.mjs`, which np4 in the launcher repository reads too) (`scripts/package_tests.mjs`): each project under `test/package-tests/` is staged with its package embedded and run with `tbrun --tests` as 32-bit and 64-bit, and each case is judged against `expect.json` as *documented*, *fixed* (the callout goes) or *changed* (a claim of the page is no longer true). `--update` writes `expect.json` from the run; read every entry it writes, since each is a claim that the package is defective. A case that never returns is caught and run alone. It also rewrites the generated `RunAll.twin`. Outside every gate and CI, as `examples.bat` is. The build publishes each project, referencing the package as a linked package and carrying none of its code, as `tB/Packages/Contributed//-tests.twinproj` in the online tree (the `packageTests` task, `builder/package-tests.mjs`, `_config.yml`'s `package_tests`; the publish allowlist exempts those paths, and the offline tree's links go to the website). +- `addin-test.bat` — tests IDE add-ins by operating an IDE: every lane in `test/addin/lanes.mjs` builds the add-ins it tests into a private copy of the install, opens a project and checks what the add-in does. Outside every gate and outside CI for the same reasons as `examples.bat`; its lanes: Samples 10 and 15, the probe lanes behind the answers in [WIP.HelpAddin.md](WIP.HelpAddin.md) (`keys-help` is `keys` with the help add-in loaded), two lanes that assert IDE defects an add-in meets (`toolwindow-layouts`, `console-colour`), and the help add-in in `add-in/` twice, built with its committed copy of the symbol index, `add-in/Resources/SYMBOLS/symbols.json`, which a local build rewrites whenever the index changes. The `help` lane serves the built `docs/_site` on localhost to the add-in's pane; `help-offline` builds the add-in with a help archive of `docs/_site-offline` and the pane's pages come from the add-in's own server. So run `build.bat` first. Exit 0 every lane passed and the registry is as it was found, 1 a lane failed, 2 the harness failed, 3 the registry or a work folder was not put back. See [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler) for its rules. - `ide-test.bat` --- the same runner for scenarios that operate the IDE itself rather than an add-in: every lane in `test/ide/lanes.mjs`. Same exit codes, same standing outside every gate and outside CI, same rules. - `try-help-addin.bat` --- opens one IDE on the user's desktop with the help add-in built and loaded, to try it by hand, and puts the registry back once it is closed (see [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler)). Needs `build.bat` first. Exit 0 closed and put back, 1 the add-in or the project did not compile, 2 the tool could not run, 3 not put back. - `node scripts/shoot_docs.mjs` --- writes the documentation's IDE screenshots (plan and owner's decisions: [WIP.Screenshots.md](WIP.Screenshots.md)). **A run that would write under `docs/` is a run of the review session** (owner; `scripts/lib/shot-front.mjs`, [WIP.ShotReview.md](WIP.ShotReview.md#one-way-to-take-pictures), rule 1), and so is one of `replay.mjs` and `chromeshot.mjs`: typed in a terminal, it is handed to `shot_review.mjs` when that is open for the checkout and followed there, else the terminal's process opens the session and runs it as the tool would, staged, its verdicts applied as they arrive; it refuses `--diffs`, `--bundles` and `--against-disk`, which only `--out` elsewhere or `--stage` take. Each picture is a shot in a table, `out` its path under `docs/` (`--only` matches it), in a setup (the main three below; the full list is in WIP.Screenshots.md), each one IDE on a **private** desktop started only when a shot in it is selected: `help` (builds the add-in as `try-help-addin.bat` does, opens `test/addin/helpdemo`, `TB_DOCS_HELP_REAL_TITLEBAR=0`: the nine `docs/IDE/AddIns/Images/Help_.png`), `no-project` (`Lane.openNoProject` with `includeProjects`: the menus, cut out with alpha, the dialogs that need no project, and the empty panels, each floated on its own, after the dialogs) and `project` (the demo without the add-in: About, which needs the compiler's licence answer, and IDE Options, whose font lists need a project). One setup is not an IDE: `web` starts puppeteer's Chrome through `launchOnDesktop` on a private desktop of its own (never headless, never on the user's desktop; native-window occlusion and occluded-window backgrounding switched off, or a capture waits forever or comes back blank) for the two public pages the FAQ shows, taken once; it needs the network, as do `webpage` (the Webpage pane on `https://docs.twinbasic.com/`, its page frozen from the pane's own DevTools target and shown in a frame of the IDE's page at the pane's place, as Help_Window's docs frame is shown by srcdoc, so that the SVG can draw both: `scripts/lib/shot-freeze.mjs`) and the package-server setups, which never publish. Every IDE gets `--force-device-scale-factor=1` (`Lane`'s `browserArgs`), else the page follows the display's scaling; the page is overridden to 1280x880 at 2x, and `PAGE_DEFAULTS` puts the IDE's options, panel layouts and keyboard groups to their defaults and the recent lists to the tool's own **in the page only**, nothing written because the IDE has `IDE_FLAGS` (the one recent-list call they do not guard, `RemoveRecentsList`, is replaced first). Each picture is a `Page.captureScreenshot` with a `clip`; a page showing it gives it `{:width height}` of half its pixel size. **Every picture is taken in two themes by one IDE**: dark as `X.png`, then, after `backToPrepared` and `tbTheme_SwitchToLightMode`, Light (not Classic) as `X.light.png` beside it, which the build pairs by name ([WIP.Build.md](WIP.Build.md#pictures-in-two-themes)); a light picture with the dark one's pixels is not kept, and one more than 32 device pixels off the dark one's size fails (a wrong state, not the theme). So does a picture whose two themes say different things (`themeTextDifference`, `scripts/lib/shot-policy.mjs`): the page's text inside the clip is read at each pass's capture, white space ignored, and text one theme shows whole and the other shows none of fails it, naming the words on each side, with or without `--svg`, so that a line cut by the clip's edge is no difference; a shot whose text must differ names the words in `themeWords`. A label's pill follows the theme unless the shot names a `tone`. A shot's `annotate` list (arrows, rings, badges...) is drawn by `scripts/svgshot/annotate.mjs` as one SVG layer over the page before the capture and removed after it, the clip growing to hold it. A picture is rewritten only when its bytes differ, and a second run reports every one `unchanged`; a capture is not byte-stable, so `capture` captures back to back, with no rest, until one equals the file on disk or two agree, and, when the two that agree are not the file, goes on capturing further apart, for 5.5 s at most, until one is, keeping the last two that agreed, and a picture that differs from the file only by a capture's noise (16 grey levels, 0.5% of its pixels) is left as it is. **The reference is the picture at git `HEAD` first, then the file** (owner): compared with the file alone, a picture drifted from `HEAD` over the runs of one retake, each step within noise of the file before it. A capture equal to or within noise of `HEAD`'s picture leaves the file as `HEAD` has it, its SVG too (`HEAD`'s, or none), reported `restored` when it held anything else; one that is not, but is within noise of the file, leaves the file (an earlier run's real change); a picture `HEAD` lacks is compared with the file only (`pictureFate`, `scripts/lib/shot-revision.mjs`; the run's pictures at `HEAD` read in one `git cat-file --batch`). `--against ` takes another revision, `--against-disk` the file only. **`--cleanup`** (`--dry-run` to list) starts no IDE: it resets every PNG git reports modified that is within noise of `HEAD`'s, with its SVG, so that only real changes stay; one noise rule, `withinNoise` in `scripts/lib/shot-change.mjs`, for the capture, `--cleanup` and the review tool. **The manifest, `test/shots/manifest.json`** (`scripts/lib/shot-manifest.mjs`; [WIP.ShotReview.md](WIP.ShotReview.md#remembered-overrides)), records the build of each picture a run writes, and holds each picture's allowances (its noise rule's limits and rectangles left out, its SVG's bar) and a review's decisions, each tied to the bytes it was made on; `decidePicture` and `decideSvg` (`scripts/lib/shot-policy.mjs`) judge with them, in a run, in `--cleanup` and in `replay.mjs`, so a run from a terminal and one from the review tool come out the same. It is read and written only for the default `--out`. **`--stage `** (a new or empty folder git ignores) writes nothing under `docs/`, to the bundle cache or to the manifest, and puts each capture, its SVG, bundle, difference pictures, strength maps and verdict there (`scripts/lib/shot-stage.mjs`), for the review tool to apply; **`--events`** prints a `@@shot-event` line per event, and then a line `stop` on stdin ends the run as at its normal end; `replay.mjs` takes both ([WIP.ShotReview.md](WIP.ShotReview.md#runs)). `--jobs N` (default 6) runs the setups at once, each in a slot of its own from `tbbroker`, a full run with `--svg` in about 12 minutes on BETA 1010 (`--jobs 1`: one at a time); `--diffs ` writes the old picture, the new one and an amplified difference map for each that changed, named with its theme. Settle by a condition, never a fixed sleep, and a picture that shows some state sets it itself rather than relying on the shots before it. The page's animations and carets are switched off through a style sheet put into the document and every shadow root; a picture that holds DEBUG CONSOLE lines has their times (and a CodeLens run's time taken) set in the page once the real ones show. **A running program's window** (setup `programs`, fixture `test/shots/programs`) is taken **once** (`once: true`, the dark pass only) with `captureWindow`, cropped to its visible frame, at the display's DPI, shown at its size at 96 DPI; its shot says `window: true` in the table, and a shot whose take and table disagree fails. **`--list`** starts no IDE: it prints the table as one line of JSON (`[{out, setup, once, window}]`), which the review tool's page of every picture reads. **The Windows user name must never be in a published picture**: the visible text of the page, text boxes included, is searched for it before the first capture and again when a capture is chosen, with the picture's SVG under `--svg` (a page can draw again in between: Project Settings puts a real path back over the one the shot set), and for a program's window the texts of the window and its children, and the run fails when it is there. **A path a picture shows on the tool's own folder is virtual** (owner): the real folder is `.claude\tbshots` (`PACKAGE_ROOT`, gitignored, removed at the end of a run), every picture shows it as `C:\tbshots`, which is never created, and `scripts/lib/shot-root.mjs` rewrites it in the page from the moment the lane attaches, with the same kind of guard as the user name's. The tool finds each name it presses F1 on by searching the demo's source, not by line. The add-in's detached window has a port from the broker (the help setup's slot carries one), since the add-in is told it before it binds it. **`--svg`** also draws each picture as SVG from the page as it stands at the capture (`scripts/svgshot/`: a DOM snapshot converted, its text set in per-picture subsets of the fonts the IDE drew it with, cut by `scripts/subset_font.py`, which needs Python with fontTools), compares it with the PNG, and writes `X.svg` or `X.light.svg` beside it only when no more than 0.25% of its pixels are far off; otherwise an older SVG is removed and the page shows the PNG; the SVG of a picture whose PNG is not rewritten stays as it is, with its bundle, unless a review accepts the new one (owner), but its bundle goes to the cache when the SVG drawn is the file's to the byte (owner, `bundleFollowsSvg`), and the SVG is written with it when the cached bundle cannot draw the picture again (owner, `staleBundle`) ([WIP.Build.md](WIP.Build.md#pictures-as-svg)). With `--svg` each picture's *bundle*, what its SVG is drawn from, is saved in the gitignored `.svgshot-bundles/` (`--bundles`; never under `docs/`, a bundle holds the user name), and **after a change to the converter, `node scripts/svgshot/replay.mjs` draws every SVG again from the bundles, with no IDE**, in about 20 s for the 370 (an SVG the same as its file is not compared again, `--recheck` compares all; the fonts' cuts are kept in `.svgshot-bundles/subsets/`; one browser per process, GPU off); it lists the pictures whose bundle cannot answer what the converter now asks, with the `--only` command that retakes them ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). `node scripts/svgshot/bench.mjs` tests the converter's replicas of what Chromium draws outside the DOM (scrollbars, drop-down lists) in Edge, with no IDE ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). No wrapper; outside every gate and outside CI, as `try-help-addin.bat` is. Exit 0 every picture written or unchanged, 1 a picture failed, 2 the tool could not run, 3 not put back. Run `build.bat` first. @@ -614,7 +615,7 @@ build.bat && check.bat On the dev box that is ~4 s of build against ~37 s of check, of which the axe scan is ~20 s. [builder/PLAN-checks.md](builder/PLAN-checks.md) records how the link checker sits in the build's task graph and its cost; the axe follow-ons are designed there but not implemented. -**If the change touched `builder/`, `scripts/`, `lib/`, `book/`, `eval/`, `wisdom/`, `indexer/`, `test/`, `add-in/`, the site's scripts in `docs/assets/js/`, a wrapper or a workflow, run `test.bat` as well** --- another ~23 s. Twenty-six of its thirty-two gates cannot be affected by an edit under `docs/` at all. **Six can.** `check_errors.mjs` compares the reference pages' Common Errors sections with the data under `errors/`, so edit the data and run `node scripts/errors.mjs write`, never the section. `check_package_tests.mjs` reads the callouts of the contributed packages' sections. `check_callout_evidence.mjs` reads every labelled callout and every marker, so a new callout labelled `BETA ` without its `` fails it. `check_lint.mjs` lints the site's two scripts in `docs/assets/js/` along with the tooling. `check_gate_lists.mjs` reads `README.md` and every page under `docs/Documentation/`, so an edit to any developer page that states a gate count can fail it. **`check_code_regions.mjs` has two halves, and a content edit reaches only one.** Its corpus sweep reads `DOCS_DIR`, which is `/docs`, and tokenises every markdown file in it, so a page that provokes a rewrite into *altering* a code region fails it --- that half is content-dependent. Its fixed probes are not: they run against their own sources whatever the tree holds, and they cover the **mirror** fault, where a rewrite silently stops firing. The sweep cannot see that fault, because text the rewrite skipped is masked and restored unchanged and every region still matches. So run `test.bat` after adding an unusual code construct --- a fence whose contents include a fence marker, a 4-space indented block, an admonition wrapping a fence --- and read the built page as well, because for the mirror fault the gate is asserting that the mask and the admonition scan still work rather than checking your page: +**If the change touched `builder/`, `scripts/`, `lib/`, `book/`, `eval/`, `wisdom/`, `indexer/`, `test/`, `add-in/`, the site's scripts in `docs/assets/js/`, a wrapper or a workflow, run `test.bat` as well** --- another ~23 s. Most of its gates cannot be affected by an edit under `docs/` at all. **A few can.** `check_errors.mjs` compares the reference pages' Common Errors sections with the data under `errors/`, so edit the data and run `node scripts/errors.mjs write`, never the section. `check_package_tests.mjs` reads the callouts of the contributed packages' sections. `check_callout_evidence.mjs` reads every labelled callout and every marker, so a new callout labelled `BETA ` without its `` fails it. `check_lint.mjs` lints the site's two scripts in `docs/assets/js/` along with the tooling. `check_gate_lists.mjs` reads `README.md` and every page under `docs/Documentation/`, so an edit to any developer page that states a gate count can fail it. **`check_code_regions.mjs` has two halves, and a content edit reaches only one.** Its corpus sweep reads `DOCS_DIR`, which is `/docs`, and tokenises every markdown file in it, so a page that provokes a rewrite into *altering* a code region fails it --- that half is content-dependent. Its fixed probes are not: they run against their own sources whatever the tree holds, and they cover the **mirror** fault, where a rewrite silently stops firing. The sweep cannot see that fault, because text the rewrite skipped is masked and restored unchanged and every region still matches. So run `test.bat` after adding an unusual code construct --- a fence whose contents include a fence marker, a 4-space indented block, an admonition wrapping a fence --- and read the built page as well, because for the mirror fault the gate is asserting that the mask and the admonition scan still work rather than checking your page: ```sh build.bat && check.bat && test.bat @@ -735,7 +736,9 @@ in a clone with `git config core.hooksPath .githooks`. **A bug in twinBASIC itself goes in [BUGS-TO-REPORT.md](BUGS-TO-REPORT.md)**, which is a queue rather than a record: an entry that has been filed upstream is marked and moved to `bugs/filed//` by `bug_repro.mjs file --marked`, and deleted only once a fix is released and `verify` says it no longer reproduces. Each one carries the build it was seen on and a *narrowed* reproduction --- the compiler crash -recorded there is two lines, and neither line reproduces it alone. Documentation defects +recorded there is two lines, and neither line reproduces it alone. **A suspected defect that +has not been narrowed goes in [WIP.BugHunt.md](WIP.BugHunt.md)**, in a few lines, and the work +on the page goes on; it reaches BUGS-TO-REPORT only through the steps that file gives. Documentation defects do not go there; they are fixed in `docs/`, or recorded in the relevant `WIP.*.md` until they are. @@ -784,6 +787,7 @@ they are. - **Don't add a `@font-face` to `docs/_sass/custom/_fonts.scss` without also adding the stack to `modules-dark.scss`,** and don't move the `@font-face` block out of the `emit-font-faces` mixin. The dark compilation re-emits its whole payload under two selectors at raised specificity: a face declared there would be invalid, and a stack left out there applies in light mode and silently does not in dark. - **Don't widen `SOURCE_EXTENSIONS` in [builder/publish-policy.mjs](builder/publish-policy.mjs) to make a build pass.** The build refusing a file is the gate working. Remove the file from `docs/`, or add a pattern to `exclude:` in `_config.yml`; widen the allowlist only when the type genuinely belongs on the published site, and never by folding `BUILD_EXTENSIONS` into it. See [The publish allowlist](WIP.Build.md#the-publish-allowlist). - **Don't add a rewrite over markdown source or rendered HTML without a code guard.** A pre-render source rewrite goes inside `applyPreRenderRewrites`, between `maskCode` and its `restore`; a rendered-HTML rewrite uses `replaceOutsideCode`, or a pattern led by `CODE_OR_PRE`, both from `builder/code-guard.mjs`. An unguarded rewrite corrupts real code samples: control-flow indentation in a language reference, code spans in the PDF. `node scripts/check_code_regions.mjs` is the gate. See [Never rewrite markdown source without knowing what is code](WIP.Build.md#never-rewrite-markdown-source-without-knowing-what-is-code). +- **Don't state how many items a set has when the set can change** (owner, 2026-11-14): lanes, gates, probes, pictures, setups, samples, pages, packages, a package's members. Name the items, or let the list or table say what is there. A count a published page needs and the build can derive is a `{{tbdocs:}}` placeholder ([Counts the build fills in](docs/Documentation/Authoring.md#counts), `builder/counts.mjs`); a measurement keeps its build or date (*"against BETA 1010: 34,648 probes"*). Nothing checks this: a gate on counts in prose was tried and dropped. A list-count rule (the number before a list against its items) flagged about 50 paragraphs, 2 of them wrong. A rule checking member counts against the indexer's API snapshots (following `interfaces`, `implements` and `extends`) agreed on 35 of 42 and found none wrong, the rest being own-versus-inherited, a named subset or another subject. A count that restates a list was stale about as often as not; one of a product's API, written once per package version, almost never. - Don't invent semantics — read the relevant primary source before paraphrasing (VBA-Docs for VBA-derived pages; the package's `.twin` sources for twinBASIC-specific ones). - Don't add boilerplate sections (Remarks, See Also) if the source has nothing meaningful for them. - **Never add `Co-Authored-By:` (or any "Co-authored by" / "Generated with Claude" / similar) trailers to commit messages.** Repository policy. Plain commit messages only. diff --git a/bugs/cef-move-before-ready/cef-move-before-ready.twinproj b/bugs/cef-move-before-ready/cef-move-before-ready.twinproj new file mode 100644 index 000000000..df5be900b Binary files /dev/null and b/bugs/cef-move-before-ready/cef-move-before-ready.twinproj differ diff --git a/bugs/cef-move-before-ready/repro.json b/bugs/cef-move-before-ready/repro.json new file mode 100644 index 000000000..483d691f1 --- /dev/null +++ b/bugs/cef-move-before-ready/repro.json @@ -0,0 +1,11 @@ +{ + "mode": "run", + "exe": true, + "expect": { + "exit": 6, + "output": [ + "^--- exe: exit 10$", + "^--- exe: exception 0xc0000005 in CefMoveBeforeReady_win32\\.exe at offset 0x[0-9a-f]+$" + ] + } +} diff --git a/bugs/cef-move-before-ready/src/Settings b/bugs/cef-move-before-ready/src/Settings new file mode 100644 index 000000000..9683eed17 --- /dev/null +++ b/bugs/cef-move-before-ready/src/Settings @@ -0,0 +1,75 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "CefMoveBeforeReady", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: Moving a CefBrowser before Ready ends its browser process: neither Ready nor Error is raised", + "project.exportPathIsV2": true, + "project.id": "{DEC239E8-F83E-46B6-888B-AE84D438E176}", + "project.name": "CefMoveBeforeReady", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{F50B82D0-DCAB-43FE-9631-11959D4A4728}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - VB Compatibility Package (Forms)", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "VB", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 31 + }, + { + "id": "{C192FB39-64CA-4D9B-B477-A5502F48EFCC}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - App global class object", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "AppGlobalClassProject", + "versionBuild": 0, + "versionMajor": 1, + "versionMinor": 0, + "versionRevision": 0 + }, + { + "id": "{AD2CF9ED-0145-43B7-8B4C-671D0E840620}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - Chromium Embedded Framework Package v145", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "cefPackage", + "versionBuild": 0, + "versionMajor": 1, + "versionMinor": 0, + "versionRevision": 0 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} diff --git a/bugs/cef-move-before-ready/src/Sources/Form1.tbform b/bugs/cef-move-before-ready/src/Sources/Form1.tbform new file mode 100644 index 000000000..f6dd53f01 --- /dev/null +++ b/bugs/cef-move-before-ready/src/Sources/Form1.tbform @@ -0,0 +1,109 @@ +[ + { + "AlwaysShowKeyboardCues": false, + "Appearance": "vbAppear3d", + "AutoRedraw": false, + "BackColor": -2147483633, + "BorderStyle": "vbSizable", + "Caption": "CefBrowser moved before Ready", + "ClipControls": true, + "ControlBox": true, + "DrawMode": "vbCopyPen", + "DrawStyle": "vbSolid", + "DrawWidth": 1, + "Enabled": true, + "FillColor": 0, + "FillStyle": "vbFSTransparent", + "FontBold": false, + "FontItalic": false, + "FontName": "Segoe UI", + "FontSize": 9, + "FontStrikethru": false, + "FontTransparent": true, + "FontUnderline": false, + "ForeColor": -2147483630, + "FormDesignerId": "{C3F1A8D2-6B4E-4F17-9A25-0E7D5B3C8F41}", + "HasDC": true, + "Height": 320, + "HelpContextID": 0, + "Icon": [], + "KeyPreview": false, + "Left": 0, + "LinkMode": "vbLinkNone", + "LinkTopic": null, + "MDIChild": false, + "MaxButton": true, + "MaxHeight": 0, + "MaxWidth": 0, + "MinButton": true, + "MinHeight": 0, + "MinWidth": 0, + "MouseIcon": [], + "MousePointer": "vbDefault", + "Moveable": true, + "Name": "Form1", + "NegotiateMenus": false, + "OLEDropMode": "vbOLEDropNone", + "Opacity": 100, + "Palette": [], + "PaletteMode": "vbPaletteModeHalftone", + "Picture": [], + "PictureDpiScaling": false, + "RightToLeft": false, + "ScaleHeight": 4800, + "ScaleLeft": 0, + "ScaleMode": "vbTwips", + "ScaleTop": 0, + "ScaleWidth": 6300, + "ShowInTaskbar": true, + "StartUpPosition": "vbStartUpScreen", + "TabFocusAutoSelect": false, + "Tag": null, + "Top": 0, + "TopMost": false, + "TransparencyKey": -1, + "Visible": true, + "WhatsThisButton": false, + "WhatsThisHelp": false, + "Width": 420, + "WindowState": "vbNormal", + "__IDEOptions": { + "alignToGrid": false, + "gridHeight": 10, + "gridWidth": 10, + "lockedControls": [], + "multiColoredGrabbers": false, + "showGrid": true, + "showOutlines": false + }, + "__lastUpdateMarker": 2061908512, + "_children": [ + { + "Anchors": { + "Bottom": false, + "Left": true, + "Right": false, + "Top": true, + "_className": "Anchors", + "_clsid": "{8524D4B5-72A9-40A9-A189-29E7905C40CA}" + }, + "Dock": "vbDockNone", + "DocumentURL": "", + "Height": 240, + "Index": -1, + "Left": 10, + "Name": "CefBrowser1", + "Tag": null, + "Top": 10, + "UserAgent": null, + "Visible": true, + "Width": 380, + "ZoomFactor": 1, + "_className": "CefBrowser", + "_clsid": "{4AD708F8-69D7-4EA7-B1CF-77AD7B760EE2}" + } + ], + "_className": "Form", + "_clsid": "{33AD4F38-6699-11CF-B70C-00AA0060D393}" + } +] \ No newline at end of file diff --git a/bugs/cef-move-before-ready/src/Sources/Form1.twin b/bugs/cef-move-before-ready/src/Sources/Form1.twin new file mode 100644 index 000000000..e0b492592 --- /dev/null +++ b/bugs/cef-move-before-ready/src/Sources/Form1.twin @@ -0,0 +1,37 @@ +' A form holding one CefBrowser, which records the events the control raises. + +[FormDesignerId("C3F1A8D2-6B4E-4F17-9A25-0E7D5B3C8F41")] +[PredeclaredId] +Class Form1 + + ' Set before the form is shown: whether Form_Load moves the control. + Public MoveInLoad As Boolean + Public IsReady As Boolean + Public Failure As String + ' The events the control has raised, in order. + Public Events As String + + Private Sub Form_Load() + If MoveInLoad Then + CefBrowser1.Move CefBrowser1.Left, CefBrowser1.Top, CefBrowser1.Width - 150, CefBrowser1.Height + End If + End Sub + + Private Sub CefBrowser1_Create() + Events &= " Create" + Dim ours As String = Environ$("TEMP") & "\tb-cef\145_win32\145_0_7632_160_Win32\" + If Len(Dir$(ours & "libcef.dll")) Then CefBrowser1.EnvironmentOptions.BrowserExecutableFolder = ours + CefBrowser1.EnvironmentOptions.UserDataFolder = Environ$("TEMP") & "\cef-move-before-ready" + End Sub + + Private Sub CefBrowser1_Ready() + Events &= " Ready" + IsReady = True + End Sub + + Private Sub CefBrowser1_Error(ByVal code As Long, ByVal msg As String) + Events &= " Error" + Failure = " (" & code & ": " & msg & ")" + End Sub + +End Class diff --git a/bugs/cef-move-before-ready/src/Sources/Startup.twin b/bugs/cef-move-before-ready/src/Sources/Startup.twin new file mode 100644 index 000000000..86692c648 --- /dev/null +++ b/bugs/cef-move-before-ready/src/Sources/Startup.twin @@ -0,0 +1,48 @@ +' Moving or resizing a CefBrowser after its window is made and before it raises Ready ends the +' CEF browser process with an access violation, and the control then raises neither Ready nor +' Error. The control's Resize handler calls BrowserOM.SyncSize in the browser process as soon as +' the browser is being created, and SyncSize calls get_host on BrowserCached, which is still 0 +' until CEF calls on_after_created (cefPackage v145: CefControl.twin, HandleResize; +' BrowserOM.twin, SyncSize; ClientLifeSpanHandler.twin, on_after_created). +' +' Sub Main shows Form1 twice: first with its control where the designer put it, then with the +' control made 10 pixels narrower in Form_Load, and waits up to 4 seconds each time for Ready. +' The exe exits with 10 if the first raised Ready, plus 1 if the second did: it exits with 10, +' since the second never does, although the browser process has been running since the first. +' A run from the IDE shows the box "Please build the project before trying to run it in the +' IDE." and ends, so build it and run the exe. +' +' The CEF runtime is the package's default folder, or the copy under %TEMP%\tb-cef when there is +' one; the browser's data goes in a folder under %TEMP%. +' Run it with: node scripts/bug_repro.mjs run cef-move-before-ready +Module Startup + + Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal Milliseconds As Long) + Private Declare PtrSafe Sub ExitProcess Lib "kernel32" (ByVal uExitCode As Long) + + Public Sub Main() + Dim code As Long = 10 * ShowOnce(False) + ShowOnce(True) + ExitProcess code + End Sub + + ' 1 if the control raised Ready within 4 seconds, else 0. + Private Function ShowOnce(ByVal MoveInLoad As Boolean) As Long + Dim f As New Form1 + f.MoveInLoad = MoveInLoad + f.Show + Dim t0 As Single = Timer + Do While Not f.IsReady And Len(f.Failure) = 0 And Timer - t0 < 4 + DoEvents + Sleep 50 + Loop + ShowOnce = IIf(f.IsReady, 1, 0) + Unload f + End Function + + [RunAfterBuild] + Private Sub Built() + Debug.Cls + Debug.Print "The exe exits with 10 when the CefBrowser moved in Form_Load never raises Ready, and 11 when it does." + End Sub + +End Module diff --git a/bugs/printtext-colorrgb-ignored/printtext-colorrgb-ignored.twinproj b/bugs/printtext-colorrgb-ignored/printtext-colorrgb-ignored.twinproj new file mode 100644 index 000000000..51e5b04a0 Binary files /dev/null and b/bugs/printtext-colorrgb-ignored/printtext-colorrgb-ignored.twinproj differ diff --git a/bugs/printtext-colorrgb-ignored/repro.json b/bugs/printtext-colorrgb-ignored/repro.json new file mode 100644 index 000000000..0029d7be0 --- /dev/null +++ b/bugs/printtext-colorrgb-ignored/repro.json @@ -0,0 +1,10 @@ +{ + "mode": "lane", + "lane": "addin:console-colour", + "tests": [ + "a line PrintText prints with no colour is one of the IDE's yellow message lines", + "a line printed with an RGB colour, with 0 or with one of the IDE's own codes is drawn as one with no colour", + "a line printed with &HFD0000, the IDE's code for a native exception, is drawn as one with no colour and turns no TRACE-MODE on" + ], + "steps": "This is an add-in project: building it makes a DLL that the IDE's compiler loads on every start until the DLL is removed. Install it knowingly, in an IDE you can restart, and remove it afterwards.\n1. Open printtext-colorrgb-ignored.twinproj and build it for Win32. Copy Build\\PrintTextColorRgbIgnored_win32.dll into %APPDATA%\\twinBASIC\\addins\\win32\\ and restart the IDE. Open any project: the toolbar has a button, Print in colour.\n2. Click Print in colour. The DEBUG CONSOLE prints no colour, orange, red and blue, all four in the same yellow.\n3. Close the IDE and delete PrintTextColorRgbIgnored_win32.dll from %APPDATA%\\twinBASIC\\addins\\win32\\.\nAsserted on BETA 1042 by `addin-test.bat --only console-colour` (the ConsoleColourProbe add-in in test/addin/probes/consolecolour, of which this project is a cut-down copy)." +} diff --git a/bugs/printtext-colorrgb-ignored/src/Settings b/bugs/printtext-colorrgb-ignored/src/Settings new file mode 100644 index 000000000..6b5d7e471 --- /dev/null +++ b/bugs/printtext-colorrgb-ignored/src/Settings @@ -0,0 +1,46 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "PrintTextColorRgbIgnored", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard DLL", + "project.description": "Reproduces: DebugConsole.PrintText ignores its ColorRGB argument: every line an add-in prints is drawn in the IDE's yellow", + "project.exportPathIsV2": true, + "project.id": "{22A91199-CD78-476B-8FEC-F551FB9957CC}", + "project.name": "PrintTextColorRgbIgnored", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{99DEC38C-75F6-4488-8EE7-2D52D83881D2}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC IDE Extensibility Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "tbIDE", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} diff --git a/bugs/printtext-colorrgb-ignored/src/Sources/Startup.twin b/bugs/printtext-colorrgb-ignored/src/Sources/Startup.twin new file mode 100644 index 000000000..fe122947b --- /dev/null +++ b/bugs/printtext-colorrgb-ignored/src/Sources/Startup.twin @@ -0,0 +1,36 @@ +' An add-in with one toolbar button, "Print in colour", which prints four lines with +' DebugConsole.PrintText: one with no colour, and three with a colour each. All four come out +' in the same yellow. +Module Startup + [DllExport] + Public Function tbCreateCompilerAddin(ByVal Host As Host) As AddIn + Return New ReproAddin(Host) + End Function +End Module + +Private Class ReproAddin + Implements AddIn + Private WithEvents Host As Host + Private WithEvents PrintButton As Button + + Public Sub New(ByVal Host As Host) + Set Me.Host = Host + End Sub + + Private Property Get AddIn_Name() As String + Return "PrintText colour repro" + End Property + + Private Sub Host_OnProjectLoaded() + Set PrintButton = Host.Toolbars(0).AddButton("ReproPrintButton", "Print in colour") + End Sub + + Private Sub PrintButton_OnClick() + With Host.DebugConsole + .PrintText "no colour" + .PrintText "orange", RGB(255, 128, 0) + .PrintText "red", RGB(255, 0, 0) + .PrintText "blue", RGB(0, 0, 255) + End With + End Sub +End Class diff --git a/bugs/treeview-text-styles-show-pictures/repro.json b/bugs/treeview-text-styles-show-pictures/repro.json new file mode 100644 index 000000000..0adcf9ee4 --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/repro.json @@ -0,0 +1,12 @@ +{ + "mode": "run", + "expect": { + "exit": 0, + "output": [ + "^tvwTextOnly \\(0\\): pictures drawn$", + "^tvwPlusMinusText \\(2\\): pictures drawn$", + "^tvwTreelinesText \\(4\\): pictures drawn$", + "^tvwTreelinesPlusMinusText \\(6\\): pictures drawn$" + ] + } +} diff --git a/bugs/treeview-text-styles-show-pictures/src/Settings b/bugs/treeview-text-styles-show-pictures/src/Settings new file mode 100644 index 000000000..d320fb7ac --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/src/Settings @@ -0,0 +1,75 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "TreeviewTextStylesShowPictures", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: TreeView's text-only styles still draw the nodes' pictures", + "project.exportPathIsV2": true, + "project.id": "{2C963CE7-98B8-4A79-B87D-68C0D1FD0708}", + "project.name": "TreeviewTextStylesShowPictures", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{F50B82D0-DCAB-43FE-9631-11959D4A4728}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - VB Compatibility Package (Forms)", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "VB", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 31 + }, + { + "id": "{C192FB39-64CA-4D9B-B477-A5502F48EFCC}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - App global class object", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "AppGlobalClassProject", + "versionBuild": 0, + "versionMajor": 1, + "versionMinor": 0, + "versionRevision": 0 + }, + { + "id": "{D63CB78D-9F5B-42FE-B94C-A545F2B2BFC3}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - Common Controls Compatibility Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "WinNativeCommonCtls", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} \ No newline at end of file diff --git a/bugs/treeview-text-styles-show-pictures/src/Sources/Form1.tbform b/bugs/treeview-text-styles-show-pictures/src/Sources/Form1.tbform new file mode 100644 index 000000000..e53aabe99 --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/src/Sources/Form1.tbform @@ -0,0 +1,112 @@ +[ + { + "AlwaysShowKeyboardCues": false, + "Appearance": "vbAppear3d", + "AutoRedraw": false, + "BackColor": 13223074, + "BorderStyle": "vbSizable", + "Caption": "Form1", + "ClipControls": true, + "ControlBox": true, + "DrawMode": "vbCopyPen", + "DrawStyle": "vbSolid", + "DrawWidth": 1, + "Enabled": true, + "FillColor": 0, + "FillStyle": "vbFSTransparent", + "FontBold": false, + "FontItalic": false, + "FontName": "Segoe UI", + "FontSize": 8, + "FontStrikethru": false, + "FontTransparent": true, + "FontUnderline": false, + "ForeColor": -2147483630, + "FormDesignerId": "{7B247401-0000-4000-9000-7B2474010F01}", + "HasDC": true, + "Height": 480, + "HelpContextID": 0, + "Icon": "", + "KeyPreview": false, + "Left": 0, + "LinkMode": "vbLinkNone", + "LinkTopic": null, + "MDIChild": false, + "MaxButton": true, + "MaxHeight": 0, + "MaxWidth": 0, + "MinButton": true, + "MinHeight": 0, + "MinWidth": 0, + "MouseIcon": "", + "MousePointer": "vbDefault", + "Moveable": true, + "Name": "Form1", + "NegotiateMenus": false, + "OLEDropMode": "vbOLEDropNone", + "Opacity": 100, + "Palette": "", + "PaletteMode": "vbPaletteModeHalftone", + "Picture": "", + "PictureDpiScaling": false, + "RightToLeft": false, + "ScaleHeight": 8560, + "ScaleLeft": 0, + "ScaleMode": "vbTwips", + "ScaleTop": 0, + "ScaleWidth": 11760, + "ShowInTaskbar": true, + "StartUpPosition": "vbStartUpScreen", + "TabFocusAutoSelect": false, + "Tag": null, + "Top": 0, + "TopMost": false, + "TransparencyKey": -1, + "Visible": true, + "WhatsThisButton": false, + "WhatsThisHelp": false, + "Width": 640, + "WindowState": "vbNormal", + "__IDEOptions": { + "alignToGrid": false, + "gridHeight": 10, + "gridWidth": 10, + "lockedControls": [], + "multiColoredGrabbers": true, + "showGrid": true, + "showOutlines": false + }, + "__lastUpdateMarker": 3573907440, + "_children": [ + { + "_className": "TreeView", + "_clsid": "{606188C0-9C81-493B-8BDE-02BD49B918C5}", + "Name": "TreeView1", + "Left": 8, + "Top": 8, + "Width": 200, + "Height": 160 + }, + { + "_className": "TreeView", + "_clsid": "{606188C0-9C81-493B-8BDE-02BD49B918C5}", + "Name": "TreeView2", + "Left": 216, + "Top": 8, + "Width": 200, + "Height": 160 + }, + { + "_className": "ImageList", + "_clsid": "{2F75D39C-A8E3-4D5E-844A-252BED31075B}", + "Name": "ImageList1", + "Left": 8, + "Top": 176, + "Width": 32, + "Height": 32 + } + ], + "_className": "Form", + "_clsid": "{33AD4F38-6699-11CF-B70C-00AA0060D393}" + } +] \ No newline at end of file diff --git a/bugs/treeview-text-styles-show-pictures/src/Sources/Form1.twin b/bugs/treeview-text-styles-show-pictures/src/Sources/Form1.twin new file mode 100644 index 000000000..f66576520 --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/src/Sources/Form1.twin @@ -0,0 +1,6 @@ +' A form holding two TreeViews, TreeView1 and TreeView2, and an ImageList, ImageList1. +[FormDesignerId("7B247401-0000-4000-9000-7B2474010F01")] +[PredeclaredId] +Class Form1 + +End Class diff --git a/bugs/treeview-text-styles-show-pictures/src/Sources/Startup.twin b/bugs/treeview-text-styles-show-pictures/src/Sources/Startup.twin new file mode 100644 index 000000000..9c6ade06a --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/src/Sources/Startup.twin @@ -0,0 +1,111 @@ +' A TreeView whose Style is one of the four without "Picture" in its name (tvwTextOnly, +' tvwPlusMinusText, tvwTreelinesText, tvwTreelinesPlusMinusText) still draws its nodes' +' pictures. Sub Main fills two TreeViews with the same nodes, TreeView1 with a picture from +' ImageList1 on each and TreeView2 with no ImageList, gives both each Style in turn, and +' reports the pictures as drawn when TreeView1's first node has its text further right than +' TreeView2's (TVM_GETITEMRECT, the text's rectangle). The package's StyleToWin32Styles sets only +' TVS_HASBUTTONS and TVS_HASLINES, and the ImageList is given to the tree whatever the Style. +' vb6/ is the same probe with MSCOMCTL.OCX's TreeView. +' Run it with: node scripts/bug_repro.mjs run treeview-text-styles-show-pictures +Module Startup + + Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal wMsg As Long, _ + ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr + Private Declare PtrSafe Function LoadIconW Lib "user32" (ByVal hInstance As LongPtr, ByVal lpIconName As LongPtr) As LongPtr + Private Declare PtrSafe Function OleCreatePictureIndirect Lib "oleaut32" (ByRef Desc As PICTDESC, _ + ByRef riid As GUID, ByVal fOwn As Long, ByRef Pic As IPicture) As Long + Private Declare PtrSafe Sub RtlMoveMemory Lib "kernel32" (ByVal Destination As LongPtr, ByVal Source As LongPtr, _ + ByVal Length As LongPtr) + Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal Milliseconds As Long) + + Private Type PICTDESC + cbSizeofstruct As Long + picType As Long + hImage As LongPtr + hPal As LongPtr + End Type + + Private Type GUID + Data1 As Long + Data2 As Integer + Data3 As Integer + Data4(0 To 7) As Byte + End Type + + Private Const TVM_GETITEMRECT As Long = &H1104 + Private Const TVM_GETNEXTITEM As Long = &H110A + Private Const TVGN_ROOT As Long = 0 + Private Const IDI_INFORMATION As Long = 32516 + Private Const PICTYPE_ICON As Long = 3 + + ' The system's information icon, which the picture does not own. + Private Function SystemIcon() As StdPicture + Dim d As PICTDESC + d.cbSizeofstruct = LenB(d) + d.picType = PICTYPE_ICON + d.hImage = LoadIconW(0, IDI_INFORMATION) + Dim iid As GUID + iid.Data1 = &H7BF80980 + iid.Data2 = &HBF32 + iid.Data3 = &H101A + iid.Data4(0) = &H8B: iid.Data4(1) = &HBB: iid.Data4(3) = &HAA + iid.Data4(5) = &H30: iid.Data4(6) = &HC: iid.Data4(7) = &HAB + Dim p As IPicture + OleCreatePictureIndirect d, iid, 0, p + Return p + End Function + + ' Documents, holding Letters and Notes, expanded; each with the picture "info" when Pictures. + Private Sub Fill(ByVal tv As TreeView, ByVal Pictures As Boolean) + Dim root As Node + If Pictures Then + Set root = tv.Nodes.Add(, , "docs", "Documents", "info") + tv.Nodes.Add root, tvwChild, "letters", "Letters", "info" + tv.Nodes.Add root, tvwChild, "notes", "Notes", "info" + Else + Set root = tv.Nodes.Add(, , "docs", "Documents") + tv.Nodes.Add root, tvwChild, "letters", "Letters" + tv.Nodes.Add root, tvwChild, "notes", "Notes" + End If + root.Expanded = True + End Sub + + ' Where the text of the tree's first node starts, in its window's pixels. + Private Function TextLeft(ByVal tv As TreeView) As Long + Dim r(0 To 3) As Long + Dim item As LongPtr = SendMessageW(tv.hWnd, TVM_GETNEXTITEM, TVGN_ROOT, 0) + RtlMoveMemory VarPtr(r(0)), VarPtr(item), LenB(item) + If SendMessageW(tv.hWnd, TVM_GETITEMRECT, 1, VarPtr(r(0))) = 0 Then Return -1 + Return r(0) + End Function + + Private Sub Settle() + Dim i As Long + For i = 1 To 10 + DoEvents + Sleep 20 + Next + End Sub + + Public Sub Main() + Dim names As Variant = Array("tvwTextOnly", "tvwPictureText", "tvwPlusMinusText", "tvwPlusMinusPictureText", _ + "tvwTreelinesText", "tvwTreelinesPictureText", "tvwTreelinesPlusMinusText", "tvwTreelinesPlusMinusPictureText") + Load Form1 + Form1.ImageList1.ListImages.Add , "info", SystemIcon() + Set Form1.TreeView1.ImageList = Form1.ImageList1 + Fill Form1.TreeView1, True + Fill Form1.TreeView2, False + Form1.Show + Settle + Dim s As Long + For s = 0 To 7 + Form1.TreeView1.Style = s + Form1.TreeView2.Style = s + Settle + Debug.Print names(s) & " (" & s & "): pictures " & _ + IIf(TextLeft(Form1.TreeView1) > TextLeft(Form1.TreeView2), "drawn", "not drawn") + Next + Unload Form1 + End Sub + +End Module diff --git a/bugs/treeview-text-styles-show-pictures/treeview-text-styles-show-pictures.twinproj b/bugs/treeview-text-styles-show-pictures/treeview-text-styles-show-pictures.twinproj new file mode 100644 index 000000000..9e3cbbec8 Binary files /dev/null and b/bugs/treeview-text-styles-show-pictures/treeview-text-styles-show-pictures.twinproj differ diff --git a/bugs/treeview-text-styles-show-pictures/vb6/Form1.frm b/bugs/treeview-text-styles-show-pictures/vb6/Form1.frm new file mode 100644 index 000000000..7c2122457 --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/vb6/Form1.frm @@ -0,0 +1,52 @@ +VERSION 5.00 +Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0"; "MSCOMCTL.OCX" +Begin VB.Form Form1 + Caption = "Form1" + ClientHeight = 3600 + ClientLeft = 60 + ClientTop = 345 + ClientWidth = 6600 + LinkTopic = "Form1" + ScaleHeight = 3600 + ScaleWidth = 6600 + StartUpPosition = 3 'Windows Default + Begin MSComctlLib.ImageList ImageList1 + Left = 120 + Top = 2640 + _ExtentX = 1005 + _ExtentY = 1005 + BackColor = -2147483643 + MaskColor = 12632256 + _Version = 393216 + End + Begin MSComctlLib.TreeView TreeView1 + Height = 2400 + Left = 120 + TabIndex = 0 + Top = 120 + Width = 3000 + _ExtentX = 5292 + _ExtentY = 4233 + _Version = 393217 + Style = 7 + Appearance = 1 + End + Begin MSComctlLib.TreeView TreeView2 + Height = 2400 + Left = 3240 + TabIndex = 1 + Top = 120 + Width = 3000 + _ExtentX = 5292 + _ExtentY = 4233 + _Version = 393217 + Style = 7 + Appearance = 1 + End +End +Attribute VB_Name = "Form1" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +Option Explicit diff --git a/bugs/treeview-text-styles-show-pictures/vb6/Module1.bas b/bugs/treeview-text-styles-show-pictures/vb6/Module1.bas new file mode 100644 index 000000000..22c4838ac --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/vb6/Module1.bas @@ -0,0 +1,122 @@ +Attribute VB_Name = "Module1" +Option Explicit + +' The VB6 side of the reproducer: node scripts/bug_repro.mjs vb6 treeview-text-styles-show-pictures +' The same probe as src/Sources/Startup.twin, with MSCOMCTL.OCX's TreeView and ImageList: two +' trees of the same nodes, TreeView1 with a picture on each and TreeView2 with none, each Style +' in turn, the pictures reported as drawn when TreeView1's first node has its text further right. + +Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _ + ByVal wParam As Long, ByRef lParam As Any) As Long +Private Declare Function LoadIcon Lib "user32" Alias "LoadIconA" (ByVal hInstance As Long, ByVal lpIconName As Long) As Long +Private Declare Function OleCreatePictureIndirect Lib "oleaut32" (ByRef Desc As PICTDESC, ByRef riid As GUID, _ + ByVal fOwn As Long, ByRef Pic As IPicture) As Long +Private Declare Sub Sleep Lib "kernel32" (ByVal Milliseconds As Long) + +Private Type PICTDESC + cbSizeofstruct As Long + picType As Long + hImage As Long + hPal As Long +End Type + +Private Type GUID + Data1 As Long + Data2 As Integer + Data3 As Integer + Data4(0 To 7) As Byte +End Type + +Private Type RECT + Left As Long + Top As Long + Right As Long + Bottom As Long +End Type + +Private Const TVM_GETITEMRECT As Long = &H1104 +Private Const TVM_GETNEXTITEM As Long = &H110A +Private Const TVGN_ROOT As Long = 0 +Private Const IDI_INFORMATION As Long = 32516 +Private Const PICTYPE_ICON As Long = 3 + +' The system's information icon, which the picture does not own. +Private Function SystemIcon() As StdPicture + Dim d As PICTDESC + d.cbSizeofstruct = Len(d) + d.picType = PICTYPE_ICON + d.hImage = LoadIcon(0, IDI_INFORMATION) + Dim iid As GUID + iid.Data1 = &H7BF80980 + iid.Data2 = &HBF32 + iid.Data3 = &H101A + iid.Data4(0) = &H8B: iid.Data4(1) = &HBB: iid.Data4(3) = &HAA + iid.Data4(5) = &H30: iid.Data4(6) = &HC: iid.Data4(7) = &HAB + Dim p As IPicture + OleCreatePictureIndirect d, iid, 0, p + Set SystemIcon = p +End Function + +' Documents, holding Letters and Notes, expanded; each with the picture "info" when Pictures. +Private Sub Fill(ByVal tv As Object, ByVal Pictures As Boolean) + Dim root As Object + If Pictures Then + Set root = tv.Nodes.Add(, , "docs", "Documents", "info") + tv.Nodes.Add root, tvwChild, "letters", "Letters", "info" + tv.Nodes.Add root, tvwChild, "notes", "Notes", "info" + Else + Set root = tv.Nodes.Add(, , "docs", "Documents") + tv.Nodes.Add root, tvwChild, "letters", "Letters" + tv.Nodes.Add root, tvwChild, "notes", "Notes" + End If + root.Expanded = True +End Sub + +' Where the text of the tree's first node starts, in its window's pixels. +Private Function TextLeft(ByVal tv As Object) As Long + Dim r As RECT + r.Left = SendMessage(tv.hWnd, TVM_GETNEXTITEM, TVGN_ROOT, ByVal 0&) + If SendMessage(tv.hWnd, TVM_GETITEMRECT, 1, r) = 0 Then + TextLeft = -1 + Else + TextLeft = r.Left + End If +End Function + +Private Sub Settle() + Dim i As Long + For i = 1 To 10 + DoEvents + Sleep 20 + Next +End Sub + +Sub Main() + On Error GoTo Fail + Open App.Path & "\out.txt" For Output As #9 + Dim names As Variant + names = Array("tvwTextOnly", "tvwPictureText", "tvwPlusMinusText", "tvwPlusMinusPictureText", _ + "tvwTreelinesText", "tvwTreelinesPictureText", "tvwTreelinesPlusMinusText", "tvwTreelinesPlusMinusPictureText") + Load Form1 + Form1.ImageList1.ListImages.Add , "info", SystemIcon() + Set Form1.TreeView1.ImageList = Form1.ImageList1 + Fill Form1.TreeView1, True + Fill Form1.TreeView2, False + Form1.Show + Settle + Dim s As Long + For s = 0 To 7 + Form1.TreeView1.Style = s + Form1.TreeView2.Style = s + Settle + Print #9, names(s) & " (" & s & "): pictures " & _ + IIf(TextLeft(Form1.TreeView1) > TextLeft(Form1.TreeView2), "drawn", "not drawn") + Next + Unload Form1 + Close #9 + Exit Sub +Fail: + On Error Resume Next + Print #9, "unhandled error " & Err.Number & ": " & Err.Description + Close #9 +End Sub diff --git a/bugs/treeview-text-styles-show-pictures/vb6/Probe.vbp b/bugs/treeview-text-styles-show-pictures/vb6/Probe.vbp new file mode 100644 index 000000000..21e4e4acb --- /dev/null +++ b/bugs/treeview-text-styles-show-pictures/vb6/Probe.vbp @@ -0,0 +1,9 @@ +Type=Exe +Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX +Form=Form1.frm +Module=Module1; Module1.bas +Startup="Sub Main" +ExeName32="Probe.exe" +Name="Probe" +CompilationType=0 +OptimizationType=0 diff --git a/bugs/usercontrol-propertychanged-leaves-err/repro.json b/bugs/usercontrol-propertychanged-leaves-err/repro.json new file mode 100644 index 000000000..5e2ec60b0 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/repro.json @@ -0,0 +1,13 @@ +{ + "mode": "test", + "expect": { + "exit": 7, + "output": [ + "^FAIL RegressionTests\\.PropertyLet_CallingPropertyChanged_LeavesErrZero: .*Actual: 438", + "^FAIL RegressionTests\\.PropertyChangedWithNoName_LeavesErrZero: .*Actual: 13", + "^FAIL RegressionTests\\.PropertyLet_CallingPropertyChanged_LeavesErrZero_WithNoHandler: .*Actual: 438", + "^PASS RegressionTests\\.PropertyLet_CallingPropertyChanged_StoresTheValue$", + "^PASS RegressionTests\\.Control_PropertyLet_WithoutPropertyChanged_LeavesErrZero$" + ] + } +} diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Settings b/bugs/usercontrol-propertychanged-leaves-err/src/Settings new file mode 100644 index 000000000..54f0688af --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Settings @@ -0,0 +1,75 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "UsercontrolPropertychangedLeavesErr", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: UserControl.PropertyChanged leaves Err.Number set in the caller", + "project.exportPathIsV2": true, + "project.id": "{3439B5D6-DFEF-4B3F-8A08-48489654ADBA}", + "project.name": "UsercontrolPropertychangedLeavesErr", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{F50B82D0-DCAB-43FE-9631-11959D4A4728}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - VB Compatibility Package (Forms)", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "VB", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 31 + }, + { + "id": "{C192FB39-64CA-4D9B-B477-A5502F48EFCC}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] twinBASIC - App global class object", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "AppGlobalClassProject", + "versionBuild": 0, + "versionMajor": 1, + "versionMinor": 0, + "versionRevision": 0 + }, + { + "id": "{9847A10D-8987-44B2-8B87-EA77DEF7F1D9}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] Assert", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "Assert", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 24 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Form1.tbform b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Form1.tbform new file mode 100644 index 000000000..300475758 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Form1.tbform @@ -0,0 +1,94 @@ +[ + { + "AlwaysShowKeyboardCues": false, + "Appearance": "vbAppear3d", + "AutoRedraw": false, + "BackColor": -2147483633, + "BorderStyle": "vbSizable", + "Caption": "Form1", + "ClipControls": true, + "ControlBox": true, + "DrawMode": "vbCopyPen", + "DrawStyle": "vbSolid", + "DrawWidth": 1, + "Enabled": true, + "FillColor": 0, + "FillStyle": "vbFSTransparent", + "FontBold": false, + "FontItalic": false, + "FontName": "Segoe UI", + "FontSize": 8, + "FontStrikethru": false, + "FontTransparent": true, + "FontUnderline": false, + "ForeColor": -2147483630, + "FormDesignerId": "{EAEAEAEA-EAEA-EAEA-EAEA-EAEAEAEAEA01}", + "HasDC": true, + "Height": 300, + "HelpContextID": 0, + "Icon": [], + "KeyPreview": false, + "Left": 0, + "LinkMode": "vbLinkNone", + "LinkTopic": null, + "MDIChild": false, + "MaxButton": true, + "MaxHeight": 0, + "MaxWidth": 0, + "MinButton": true, + "MinHeight": 0, + "MinWidth": 0, + "MouseIcon": [], + "MousePointer": "vbDefault", + "Moveable": true, + "Name": "Form1", + "NegotiateMenus": false, + "OLEDropMode": "vbOLEDropNone", + "Opacity": 100, + "Palette": [], + "PaletteMode": "vbPaletteModeHalftone", + "Picture": [], + "PictureDpiScaling": false, + "RightToLeft": false, + "ScaleHeight": 4500, + "ScaleLeft": 0, + "ScaleMode": "vbTwips", + "ScaleTop": 0, + "ScaleWidth": 4500, + "ShowInTaskbar": true, + "StartUpPosition": "vbStartUpScreen", + "TabFocusAutoSelect": false, + "Tag": null, + "Top": 0, + "TopMost": false, + "TransparencyKey": -1, + "Visible": true, + "WhatsThisButton": false, + "WhatsThisHelp": false, + "Width": 300, + "WindowState": "vbNormal", + "__IDEOptions": { + "alignToGrid": false, + "gridHeight": 10, + "gridWidth": 10, + "lockedControls": [], + "multiColoredGrabbers": false, + "showGrid": true, + "showOutlines": false + }, + "__lastUpdateMarker": 2061908507, + "_className": "Form", + "_clsid": "{33AD4F38-6699-11CF-B70C-00AA0060D393}", + "_children": [ + { + "Height": 60, + "Left": 8, + "Name": "ProbeControl1", + "Top": 8, + "Width": 100, + "_className": "ProbeControl", + "_clsid": "{7B247400-0000-4000-9000-7B2474000F55}" + } + ] + } +] \ No newline at end of file diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Form1.twin b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Form1.twin new file mode 100644 index 000000000..f43ffffc7 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Form1.twin @@ -0,0 +1,12 @@ +' A form with one control on it, ProbeControl1, a UserControl of this project +' (ProbeControl.twin). Form1.tbform is its designer file. + +[Description("")] +[FormDesignerId("EAEAEAEA-EAEA-EAEA-EAEA-EAEAEAEAEA01")] +[PredeclaredId] +Class Form1 + + Sub New() + End Sub + +End Class diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Sources/ProbeControl.tbform b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/ProbeControl.tbform new file mode 100644 index 000000000..adb1b0ed9 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/ProbeControl.tbform @@ -0,0 +1 @@ +[{"_clsid":"{33AD5010-6699-11CF-B70C-00AA0060D393}","_className":"UserControl","Name":"ProbeControl","Width":300,"Height":300,"FormDesignerId":"{7B247400-0000-4000-9000-7B2474000F51}"}] diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Sources/ProbeControl.twin b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/ProbeControl.twin new file mode 100644 index 000000000..49f3073b9 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/ProbeControl.twin @@ -0,0 +1,37 @@ +[Description("")] +[FormDesignerId("7B247400-0000-4000-9000-7B2474000F51")] +[ClassId("7B247400-0000-4000-9000-7B2474000F55")] +[InterfaceId("7B247400-0000-4000-9000-7B2474000F56")] +[EventInterfaceId("7B247400-0000-4000-9000-7B2474000F57")] +[COMControl] +Class ProbeControl + + Private m_A As Long + Private m_B As Long + + Public Property Get WithChanged() As Long + WithChanged = m_A + End Property + + Public Property Let WithChanged(ByVal Value As Long) + m_A = Value + UserControl.PropertyChanged "WithChanged" + End Property + + Public Property Get WithoutChanged() As Long + WithoutChanged = m_B + End Property + + Public Property Let WithoutChanged(ByVal Value As Long) + m_B = Value + End Property + + Public Sub CallsChanged() + UserControl.PropertyChanged "WithChanged" + End Sub + + Public Sub CallsChangedNoName() + UserControl.PropertyChanged + End Sub + +End Class diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Sources/RegressionTests.twin b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/RegressionTests.twin new file mode 100644 index 000000000..12a3b967f --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/RegressionTests.twin @@ -0,0 +1,67 @@ +' The issue's regression tests. One [TestCase] Sub per behaviour, named for it, +' asserting the correct result; tbrun --tests runs each in the compiler's test +' mode and prints PASS or FAIL. +' +' ProbeControl1 is a UserControl of this project on Form1. Its Property Let +' WithChanged ends with UserControl.PropertyChanged "WithChanged", as every +' property of a VB6-style control does; WithoutChanged does not call it. +[TestFixture] +Module RegressionTests + + [TestCase] + Public Sub PropertyLet_CallingPropertyChanged_LeavesErrZero() + Load Form1 + On Error Resume Next + Err.Clear + Form1.ProbeControl1.WithChanged = 1 + Dim n As Long = Err.Number + On Error GoTo 0 + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + + [TestCase] + Public Sub PropertyChangedWithNoName_LeavesErrZero() + Load Form1 + On Error Resume Next + Err.Clear + Form1.ProbeControl1.CallsChangedNoName + Dim n As Long = Err.Number + On Error GoTo 0 + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + + [TestCase] + Public Sub PropertyLet_CallingPropertyChanged_LeavesErrZero_WithNoHandler() + ' No On Error at all: the assignment raises nothing, so Err should read 0 after it. + Load Form1 + Err.Clear + Form1.ProbeControl1.WithChanged = 2 + Dim n As Long = Err.Number + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + + [TestCase] + Public Sub PropertyLet_CallingPropertyChanged_StoresTheValue() + Load Form1 + Form1.ProbeControl1.WithChanged = 3 + Dim v As Long = Form1.ProbeControl1.WithChanged + Unload Form1 + Assert.Strict.AreEqual 3, v + End Sub + + [TestCase] + Public Sub Control_PropertyLet_WithoutPropertyChanged_LeavesErrZero() + Load Form1 + On Error Resume Next + Err.Clear + Form1.ProbeControl1.WithoutChanged = 1 + Dim n As Long = Err.Number + On Error GoTo 0 + Unload Form1 + Assert.Strict.AreEqual 0, n + End Sub + +End Module diff --git a/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Startup.twin b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Startup.twin new file mode 100644 index 000000000..20233b3a9 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/src/Sources/Startup.twin @@ -0,0 +1,6 @@ +Module Startup + + Public Sub Main() + End Sub + +End Module diff --git a/bugs/usercontrol-propertychanged-leaves-err/usercontrol-propertychanged-leaves-err.twinproj b/bugs/usercontrol-propertychanged-leaves-err/usercontrol-propertychanged-leaves-err.twinproj new file mode 100644 index 000000000..7a51410d9 Binary files /dev/null and b/bugs/usercontrol-propertychanged-leaves-err/usercontrol-propertychanged-leaves-err.twinproj differ diff --git a/bugs/usercontrol-propertychanged-leaves-err/vb6/Form1.frm b/bugs/usercontrol-propertychanged-leaves-err/vb6/Form1.frm new file mode 100644 index 000000000..3e495b74c --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/vb6/Form1.frm @@ -0,0 +1,26 @@ +VERSION 5.00 +Begin VB.Form Form1 + Caption = "Form1" + ClientHeight = 3000 + ClientLeft = 60 + ClientTop = 345 + ClientWidth = 4000 + LinkTopic = "Form1" + ScaleHeight = 3000 + ScaleWidth = 4000 + StartUpPosition = 3 'Windows Default + Visible = 0 'False + Begin Probe.ProbeControl ProbeControl1 + Height = 900 + Left = 120 + TabIndex = 0 + Top = 120 + Width = 1500 + End +End +Attribute VB_Name = "Form1" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = False +Attribute VB_PredeclaredId = True +Attribute VB_Exposed = False +Option Explicit diff --git a/bugs/usercontrol-propertychanged-leaves-err/vb6/Module1.bas b/bugs/usercontrol-propertychanged-leaves-err/vb6/Module1.bas new file mode 100644 index 000000000..3e7bbaba0 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/vb6/Module1.bas @@ -0,0 +1,35 @@ +Attribute VB_Name = "Module1" +Option Explicit + +' The VB6 side: Err.Number after a property of a UserControl calls PropertyChanged. +' Build and run it with: node scripts/bug_repro.mjs vb6 usercontrol-propertychanged-leaves-err + +Sub Main() + On Error GoTo Fail + Open App.Path & "\out.txt" For Output As #9 + Load Form1 + + On Error Resume Next + Err.Clear + Form1.ProbeControl1.WithChanged = 1 + Print #9, "Let with PropertyChanged: Err " & Err.Number & ", reads " & Form1.ProbeControl1.WithChanged + Err.Clear + Form1.ProbeControl1.CallsChangedNoName + Print #9, "PropertyChanged with no name: Err " & Err.Number + Err.Clear + Form1.ProbeControl1.WithoutChanged = 1 + Print #9, "Let without PropertyChanged: Err " & Err.Number + On Error GoTo Fail + + Err.Clear + Form1.ProbeControl1.WithChanged = 2 + Print #9, "No handler: Err " & Err.Number + + Unload Form1 + Close #9 + Exit Sub +Fail: + On Error Resume Next + Print #9, "unhandled error " & Err.Number & ": " & Err.Description + Close #9 +End Sub diff --git a/bugs/usercontrol-propertychanged-leaves-err/vb6/Probe.vbp b/bugs/usercontrol-propertychanged-leaves-err/vb6/Probe.vbp new file mode 100644 index 000000000..1461d748e --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/vb6/Probe.vbp @@ -0,0 +1,9 @@ +Type=Exe +Form=Form1.frm +UserControl=ProbeControl.ctl +Module=Module1; Module1.bas +Startup="Sub Main" +ExeName32="Probe.exe" +Name="Probe" +CompilationType=0 +OptimizationType=0 diff --git a/bugs/usercontrol-propertychanged-leaves-err/vb6/ProbeControl.ctl b/bugs/usercontrol-propertychanged-leaves-err/vb6/ProbeControl.ctl new file mode 100644 index 000000000..098bb6032 --- /dev/null +++ b/bugs/usercontrol-propertychanged-leaves-err/vb6/ProbeControl.ctl @@ -0,0 +1,39 @@ +VERSION 5.00 +Begin VB.UserControl ProbeControl + ClientHeight = 900 + ClientLeft = 0 + ClientTop = 0 + ClientWidth = 1500 + ScaleHeight = 900 + ScaleWidth = 1500 +End +Attribute VB_Name = "ProbeControl" +Attribute VB_GlobalNameSpace = False +Attribute VB_Creatable = True +Attribute VB_PredeclaredId = False +Attribute VB_Exposed = False +Option Explicit + +Private m_A As Long +Private m_B As Long + +Public Property Get WithChanged() As Long + WithChanged = m_A +End Property + +Public Property Let WithChanged(ByVal Value As Long) + m_A = Value + PropertyChanged "WithChanged" +End Property + +Public Property Get WithoutChanged() As Long + WithoutChanged = m_B +End Property + +Public Property Let WithoutChanged(ByVal Value As Long) + m_B = Value +End Property + +Public Sub CallsChangedNoName() + PropertyChanged +End Sub diff --git a/bugs/waynes-controls-ignore-geometry/repro.json b/bugs/waynes-controls-ignore-geometry/repro.json new file mode 100644 index 000000000..b38df102b --- /dev/null +++ b/bugs/waynes-controls-ignore-geometry/repro.json @@ -0,0 +1,20 @@ +{ + "mode": "run", + "expect": { + "exit": 0, + "output": [ + "^in Sub New, L1\\.Left = 60 \\(designed 20\\): drawn at the old place False, at the new place True$", + "^in Sub New, L2\\.Top = 140 \\(designed 40\\): drawn at the old place True, at the new place False$", + "^in Sub New, L3\\.Width = 100 \\(designed 80\\): drawn past the old width False$", + "^in Sub New, L4\\.Height = 120 \\(designed 60\\): drawn past the old height True$", + "^in Sub New, L5\\.Visible = False: drawn True$", + "^in Sub New, L6\\.Dock = tbDockRight: drawn at the right edge True, at the old place False$", + "^while shown, L1\\.Left = 60 \\(designed 20\\): drawn at the old place True, at the new place False$", + "^while shown, L2\\.Top = 140 \\(designed 40\\): drawn at the old place True, at the new place False$", + "^while shown, L3\\.Width = 100 \\(designed 80\\): drawn past the old width False$", + "^while shown, L4\\.Height = 120 \\(designed 60\\): drawn past the old height False$", + "^while shown, L5\\.Visible = False: drawn True$", + "^while shown, L6\\.Dock = tbDockRight: drawn at the right edge False, at the old place True$" + ] + } +} diff --git a/bugs/waynes-controls-ignore-geometry/src/Settings b/bugs/waynes-controls-ignore-geometry/src/Settings new file mode 100644 index 000000000..9cd6002c2 --- /dev/null +++ b/bugs/waynes-controls-ignore-geometry/src/Settings @@ -0,0 +1,62 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "WaynesControlsIgnoreGeometry", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: A CustomControls control ignores its Top, Width and Visible set in code, and while shown its Left and Height too", + "project.exportPathIsV2": true, + "project.id": "{B86A6C25-B08D-43F7-8B12-9EBBABF075CC}", + "project.name": "WaynesControlsIgnoreGeometry", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{697A5CBF-2012-48BD-9D2F-3EA64CDE149A}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] Custom Controls Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControlsPackage", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 5, + "overrideSymbol": "*CustomControlsPackage" + }, + { + "id": "{EA18E2B1-80BA-478D-AC7C-E955E6AA1B05}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] CustomControls", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControls", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} \ No newline at end of file diff --git a/bugs/waynes-controls-ignore-geometry/src/Sources/Form1.tbform b/bugs/waynes-controls-ignore-geometry/src/Sources/Form1.tbform new file mode 100644 index 000000000..266545c38 --- /dev/null +++ b/bugs/waynes-controls-ignore-geometry/src/Sources/Form1.tbform @@ -0,0 +1,230 @@ +[ + { + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -3092272, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "Caption": "Form1", + "FormDesignerId": "{5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901}", + "Height": 320, + "Left": 0, + "Name": "Form1", + "Top": 0, + "Width": 600, + "WindowsOptions": { + "BorderStyle": "tbFixedSizable", + "ControlBox": true, + "MaximizeButton": true, + "MinimizeButton": true, + "ShowInTaskbar": true, + "StartUpPosition": "tbStartUpCenterScreen", + "WindowState": "tbNormal", + "_className": "WindowsFormOptions", + "_clsid": "{D3086FE1-A140-4DC6-85A3-03E8B94DC6E3}" + }, + "_children": [ + { + "Name": "Timer1", + "Left": 20, + "Top": 20, + "Width": 32, + "Height": 32, + "Interval": 100, + "Enabled": true, + "Visible": true, + "_className": "WaynesTimer", + "_clsid": "{19E29F0D-8062-40D5-962E-5BCD1F6C090E}" + }, + { + "Name": "L1", + "Left": 20, + "Top": 40, + "Width": 80, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + }, + { + "Name": "L2", + "Left": 130, + "Top": 40, + "Width": 80, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + }, + { + "Name": "L3", + "Left": 240, + "Top": 40, + "Width": 80, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + }, + { + "Name": "L4", + "Left": 350, + "Top": 40, + "Width": 80, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + }, + { + "Name": "L5", + "Left": 460, + "Top": 40, + "Width": 80, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + }, + { + "Name": "L6", + "Left": 20, + "Top": 220, + "Width": 80, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + } + ], + "_className": "WaynesForm", + "_clsid": "{18C42F40-B03D-474E-B99E-7853A314E664}" + } +] \ No newline at end of file diff --git a/bugs/waynes-controls-ignore-geometry/src/Sources/Form1.twin b/bugs/waynes-controls-ignore-geometry/src/Sources/Form1.twin new file mode 100644 index 000000000..b06071c83 --- /dev/null +++ b/bugs/waynes-controls-ignore-geometry/src/Sources/Form1.twin @@ -0,0 +1,34 @@ +' A form of the CustomControls package (a WaynesForm) holding six green WaynesLabels, each 80 x 60 +' pixels: L1 to L5 in a row at the top (Left 20, 130, 240, 350, 460; Top 40), and L6 below L1 +' (Top 220). Change gives +' each one a new value of one property: in the constructor for the first form Sub Main shows, and +' once shown for the second. Its timer then reports what is drawn and closes the form. +[Description("")] +[FormDesignerId("5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901")] +Class Form1 + + Sub New() + If Startup.InNew Then Change + End Sub + + Private Sub Change() + L1.Left = 60 + L2.Top = 140 + L3.Width = 100 + L4.Height = 120 + L5.Visible = False + L6.Dock = tbDockRight + End Sub + + Private Ticks As Long + + Private Sub Timer1_Timer() + Ticks += 1 + If Ticks = 3 And Not Startup.InNew Then Change + If Ticks = 6 Then + Startup.Report Me + Me.Close + End If + End Sub + +End Class diff --git a/bugs/waynes-controls-ignore-geometry/src/Sources/Startup.twin b/bugs/waynes-controls-ignore-geometry/src/Sources/Startup.twin new file mode 100644 index 000000000..e2394f7d6 --- /dev/null +++ b/bugs/waynes-controls-ignore-geometry/src/Sources/Startup.twin @@ -0,0 +1,63 @@ +' A control of the CustomControls package keeps the place, size and visibility its form designer +' saved for most of what the code sets. Set in the form's constructor, before the form is first +' drawn, Left, Height and Dock are drawn as set, and Top, Width and Visible are not; set while the +' form is shown, none of the six is. Each property reads back the value the code set. The order of +' the assignments makes no difference, and nor does redrawing the whole window. A control's +' BackgroundFill, set in the same places, is drawn as set. +' Sub Main shows Form1 twice: the first time it changes its labels in Sub New, the second time +' once it is shown; each time it reports, for each label, where it is drawn. +' Run it with: node scripts/bug_repro.mjs run waynes-controls-ignore-geometry +Module Startup + + Private Declare PtrSafe Function FindWindowExW Lib "user32" (ByVal hWndParent As LongPtr, ByVal hWndChildAfter As LongPtr, _ + ByVal lpszClass As LongPtr, ByVal lpszWindow As LongPtr) As LongPtr + Private Declare PtrSafe Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As LongPtr, ByRef lpdwProcessId As Long) As Long + Private Declare PtrSafe Function GetCurrentProcessId Lib "kernel32" () As Long + Private Declare PtrSafe Function GetDpiForWindow Lib "user32" (ByVal hWnd As LongPtr) As Long + Private Declare PtrSafe Function GetDC Lib "user32" (ByVal hWnd As LongPtr) As LongPtr + Private Declare PtrSafe Function ReleaseDC Lib "user32" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr) As Long + Private Declare PtrSafe Function GetPixel Lib "gdi32" (ByVal hDC As LongPtr, ByVal x As Long, ByVal y As Long) As Long + + Public InNew As Boolean + + Public Sub Main() + InNew = True + Dim f As New Form1 + f.Show vbModal + InNew = False + Dim g As New Form1 + g.Show vbModal + End Sub + + ' The window of this process's form: a form of the package is a window of the class tbForm. + Private Function FormWindow() As LongPtr + Dim h As LongPtr + Do + h = FindWindowExW(0, h, StrPtr("tbForm"), 0) + If h = 0 Then Err.Raise 5, , "the form has no window" + Dim pid As Long + GetWindowThreadProcessId h, pid + If pid = GetCurrentProcessId() Then Return h + Loop + End Function + + ' Whether a point of the form, in pixels at 96 DPI, is drawn green. + Private Function Green(ByVal x As Long, ByVal y As Long) As Boolean + Dim h As LongPtr = FormWindow() + Dim dpi As Long = GetDpiForWindow(h) + Dim dc As LongPtr = GetDC(h) + Green = GetPixel(dc, x * dpi \ 96, y * dpi \ 96) = vbGreen + ReleaseDC h, dc + End Function + + Public Sub Report(ByVal f As Form1) + Dim p As String = IIf(InNew, "in Sub New, ", "while shown, ") + Debug.Print p & "L1.Left = " & f.L1.Left & " (designed 20): drawn at the old place " & Green(30, 70) & ", at the new place " & Green(120, 70) + Debug.Print p & "L2.Top = " & f.L2.Top & " (designed 40): drawn at the old place " & Green(170, 50) & ", at the new place " & Green(170, 170) + Debug.Print p & "L3.Width = " & f.L3.Width & " (designed 80): drawn past the old width " & Green(330, 70) + Debug.Print p & "L4.Height = " & f.L4.Height & " (designed 60): drawn past the old height " & Green(390, 140) + Debug.Print p & "L5.Visible = " & f.L5.Visible & ": drawn " & Green(500, 70) + Debug.Print p & "L6.Dock = tbDockRight: drawn at the right edge " & Green(595, 250) & ", at the old place " & Green(30, 250) + End Sub + +End Module diff --git a/bugs/waynes-controls-ignore-geometry/waynes-controls-ignore-geometry.twinproj b/bugs/waynes-controls-ignore-geometry/waynes-controls-ignore-geometry.twinproj new file mode 100644 index 000000000..1d21c9821 Binary files /dev/null and b/bugs/waynes-controls-ignore-geometry/waynes-controls-ignore-geometry.twinproj differ diff --git a/bugs/waynes-fontweight-three-steps/repro.json b/bugs/waynes-fontweight-three-steps/repro.json new file mode 100644 index 000000000..151804c47 --- /dev/null +++ b/bugs/waynes-fontweight-three-steps/repro.json @@ -0,0 +1,10 @@ +{ + "mode": "run", + "expect": { + "exit": 0, + "output": [ + "^Weights drawn alike: 100 200 300 400 500 \\| 600 \\| 700 800 900$", + "^As wide as GDI's Segoe UI at 400, 600 and 700: True$" + ] + } +} diff --git a/bugs/waynes-fontweight-three-steps/src/Settings b/bugs/waynes-fontweight-three-steps/src/Settings new file mode 100644 index 000000000..78221c6f9 --- /dev/null +++ b/bugs/waynes-fontweight-three-steps/src/Settings @@ -0,0 +1,62 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "WaynesFontweightThreeSteps", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: CustomControls text draws three of the nine FontWeight values", + "project.exportPathIsV2": true, + "project.id": "{A9B4C082-E291-44D9-B508-E4992AE29D99}", + "project.name": "WaynesFontweightThreeSteps", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{697A5CBF-2012-48BD-9D2F-3EA64CDE149A}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] Custom Controls Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControlsPackage", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 5, + "overrideSymbol": "*CustomControlsPackage" + }, + { + "id": "{EA18E2B1-80BA-478D-AC7C-E955E6AA1B05}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] CustomControls", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControls", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} \ No newline at end of file diff --git a/bugs/waynes-fontweight-three-steps/src/Sources/Form1.tbform b/bugs/waynes-fontweight-three-steps/src/Sources/Form1.tbform new file mode 100644 index 000000000..5a8a5ef25 --- /dev/null +++ b/bugs/waynes-fontweight-three-steps/src/Sources/Form1.tbform @@ -0,0 +1,85 @@ +[ + { + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -3092272, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "Caption": "Form1", + "FormDesignerId": "{5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901}", + "Height": 320, + "Left": 0, + "Name": "Form1", + "Top": 0, + "Width": 600, + "WindowsOptions": { + "BorderStyle": "tbFixedSizable", + "ControlBox": true, + "MaximizeButton": true, + "MinimizeButton": true, + "ShowInTaskbar": true, + "StartUpPosition": "tbStartUpCenterScreen", + "WindowState": "tbNormal", + "_className": "WindowsFormOptions", + "_clsid": "{D3086FE1-A140-4DC6-85A3-03E8B94DC6E3}" + }, + "_children": [ + { + "Name": "Timer1", + "Left": 20, + "Top": 20, + "Width": 32, + "Height": 32, + "Interval": 100, + "Enabled": true, + "Visible": true, + "_className": "WaynesTimer", + "_clsid": "{19E29F0D-8062-40D5-962E-5BCD1F6C090E}" + }, + { + "Name": "Label1", + "Left": 20, + "Top": 60, + "Width": 560, + "Height": 120, + "Visible": true, + "Caption": "Wg Hq Wg Hq", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -1, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + } + ], + "_className": "WaynesForm", + "_clsid": "{18C42F40-B03D-474E-B99E-7853A314E664}" + } +] \ No newline at end of file diff --git a/bugs/waynes-fontweight-three-steps/src/Sources/Form1.twin b/bugs/waynes-fontweight-three-steps/src/Sources/Form1.twin new file mode 100644 index 000000000..4e51c40ec --- /dev/null +++ b/bugs/waynes-fontweight-three-steps/src/Sources/Form1.twin @@ -0,0 +1,30 @@ +' A form of the CustomControls package (a WaynesForm) holding one WaynesLabel, Label1, 560 x 120 +' pixels, white, with the caption "Wg Hq Wg Hq" at 28 points. Its timer sets each of the nine +' FontWeight values in turn and measures the text drawn, then reports and closes the form. +[Description("")] +[FormDesignerId("5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901")] +Class Form1 + + Sub New() + Label1.TextRendering.Font.Size = 28 + End Sub + + Private Ticks As Long + + Private Sub Timer1_Timer() + Ticks += 1 + If Ticks < 3 Then Exit Sub + Dim k As Long = (Ticks - 3) \ 2 + 1 + If k <= 9 Then + If (Ticks - 3) Mod 2 = 0 Then + Label1.TextRendering.Font.Weight = 100 * k + Else + Startup.Measured(k) = Startup.Ink(20, 60, 560, 120) + End If + Else + Startup.Report + Me.Close + End If + End Sub + +End Class diff --git a/bugs/waynes-fontweight-three-steps/src/Sources/Startup.twin b/bugs/waynes-fontweight-three-steps/src/Sources/Startup.twin new file mode 100644 index 000000000..b67774b8b --- /dev/null +++ b/bugs/waynes-fontweight-three-steps/src/Sources/Startup.twin @@ -0,0 +1,176 @@ +' The text of a CustomControls control is drawn in three weights only, whichever of FontWeight's +' nine values its TextRendering.Font.Weight holds: 100 to 500 draw as Segoe UI's regular face, +' 600 as Segoe UI Semibold and 700 to 900 as Segoe UI Bold, the way GDI maps a weight for +' "Segoe UI". The faces Segoe UI Light (300) and Segoe UI Black (900), which Windows 10 has, are +' never used, so tbThin, tbExtraLight, tbLight and tbMedium draw as tbNormal, and tbExtraBold and +' tbHeavy as tbBold. FontStyle has no font name, so no other family can be chosen. +' Form1 sets each weight in turn on Label1 and measures the ink of its text (width x height, and +' its total darkness); Report groups the weights that drew alike, and draws the same text with +' GDI in Segoe UI to compare its width. +' Run it with: node scripts/bug_repro.mjs run waynes-fontweight-three-steps +Module Startup + + Private Declare PtrSafe Function FindWindowExW Lib "user32" (ByVal hWndParent As LongPtr, ByVal hWndChildAfter As LongPtr, _ + ByVal lpszClass As LongPtr, ByVal lpszWindow As LongPtr) As LongPtr + Private Declare PtrSafe Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As LongPtr, ByRef lpdwProcessId As Long) As Long + Private Declare PtrSafe Function GetCurrentProcessId Lib "kernel32" () As Long + Private Declare PtrSafe Function GetDpiForWindow Lib "user32" (ByVal hWnd As LongPtr) As Long + Private Declare PtrSafe Function GetDC Lib "user32" (ByVal hWnd As LongPtr) As LongPtr + Private Declare PtrSafe Function ReleaseDC Lib "user32" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr) As Long + Private Declare PtrSafe Function CreateCompatibleDC Lib "gdi32" (ByVal hDC As LongPtr) As LongPtr + Private Declare PtrSafe Function CreateCompatibleBitmap Lib "gdi32" (ByVal hDC As LongPtr, ByVal cx As Long, ByVal cy As Long) As LongPtr + Private Declare PtrSafe Function SelectObject Lib "gdi32" (ByVal hDC As LongPtr, ByVal h As LongPtr) As LongPtr + Private Declare PtrSafe Function DeleteObject Lib "gdi32" (ByVal h As LongPtr) As Long + Private Declare PtrSafe Function DeleteDC Lib "gdi32" (ByVal hDC As LongPtr) As Long + Private Declare PtrSafe Function BitBlt Lib "gdi32" (ByVal hDC As LongPtr, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, _ + ByVal hdcSrc As LongPtr, ByVal x1 As Long, ByVal y1 As Long, ByVal rop As Long) As Long + Private Declare PtrSafe Function PatBlt Lib "gdi32" (ByVal hDC As LongPtr, ByVal x As Long, ByVal y As Long, ByVal w As Long, ByVal h As Long, ByVal rop As Long) As Long + Private Declare PtrSafe Function GetDIBits Lib "gdi32" (ByVal hDC As LongPtr, ByVal hbm As LongPtr, ByVal start As Long, ByVal cLines As Long, _ + ByVal lpvBits As LongPtr, ByRef lpbmi As BITMAPINFOHEADER, ByVal usage As Long) As Long + Private Declare PtrSafe Function CreateFontW Lib "gdi32" (ByVal cHeight As Long, ByVal cWidth As Long, ByVal cEscapement As Long, ByVal cOrientation As Long, _ + ByVal cWeight As Long, ByVal bItalic As Long, ByVal bUnderline As Long, ByVal bStrikeOut As Long, ByVal iCharSet As Long, _ + ByVal iOutPrecision As Long, ByVal iClipPrecision As Long, ByVal iQuality As Long, ByVal iPitchAndFamily As Long, ByVal pszFaceName As LongPtr) As LongPtr + Private Declare PtrSafe Function SetBkMode Lib "gdi32" (ByVal hDC As LongPtr, ByVal mode As Long) As Long + Private Declare PtrSafe Function DrawTextW Lib "user32" (ByVal hDC As LongPtr, ByVal lpchText As LongPtr, ByVal cchText As Long, ByRef lprc As RECT, ByVal format As Long) As Long + + Private Type RECT + Left As Long + Top As Long + Right As Long + Bottom As Long + End Type + + Private Type BITMAPINFOHEADER + biSize As Long + biWidth As Long + biHeight As Long + biPlanes As Integer + biBitCount As Integer + biCompression As Long + biSizeImage As Long + biXPelsPerMeter As Long + biYPelsPerMeter As Long + biClrUsed As Long + biClrImportant As Long + End Type + + ' What Label1's text measured at each weight, 100 * k for k = 1 to 9. + Public Measured(1 To 9) As String + + Public Sub Main() + Dim f As New Form1 + f.Show vbModal + End Sub + + ' The window of this process's form: a form of the package is a window of the class tbForm. + Private Function FormWindow() As LongPtr + Dim h As LongPtr + Do + h = FindWindowExW(0, h, StrPtr("tbForm"), 0) + If h = 0 Then Err.Raise 5, , "the form has no window" + Dim pid As Long + GetWindowThreadProcessId h, pid + If pid = GetCurrentProcessId() Then Return h + Loop + End Function + + ' The pixels of a rectangle of a DC, top-down, one Long each. + Private Sub Grab(ByVal dc As LongPtr, ByVal x As Long, ByVal y As Long, ByVal w As Long, ByVal hgt As Long, ByRef px() As Long) + Dim mem As LongPtr = CreateCompatibleDC(dc) + Dim scr As LongPtr = GetDC(0) + Dim bmp As LongPtr = CreateCompatibleBitmap(scr, w, hgt) + ReleaseDC 0, scr + Dim old As LongPtr = SelectObject(mem, bmp) + BitBlt mem, 0, 0, w, hgt, dc, x, y, &HCC0020 + SelectObject mem, old + Dim bi As BITMAPINFOHEADER + bi.biSize = 40: bi.biWidth = w: bi.biHeight = -hgt: bi.biPlanes = 1: bi.biBitCount = 32 + ReDim px(w * hgt - 1) + GetDIBits mem, bmp, 0, hgt, VarPtr(px(0)), bi, 0 + DeleteObject bmp + DeleteDC mem + End Sub + + ' The ink of dark text on a white ground: its extent in pixels and its total darkness. + Private Function Measure(px() As Long, ByVal w As Long, ByVal hgt As Long) As String + Dim x As Long, y As Long, l As Long = w, r As Long = -1, t As Long = hgt, b As Long = -1 + Dim dark As Double + For y = 0 To hgt - 1 + For x = 0 To w - 1 + Dim c As Long = px(y * w + x) And &HFFFFFF + Dim lum As Long = ((c And &HFF&) + ((c And &HFF00&) \ &H100&) + ((c And &HFF0000) \ &H10000)) \ 3 + dark += 255 - lum + If lum < 128 Then + If x < l Then l = x + If x > r Then r = x + If y < t Then t = y + If y > b Then b = y + End If + Next + Next + Return "ink " & (r - l + 1) & " x " & (b - t + 1) & ", darkness " & CLng(dark / 1000) + End Function + + Private Function InkWidth(ByVal m As String) As Long + Return CLng(Split(Mid$(m, 5), " x ")(0)) + End Function + + ' What a rectangle of the form, in pixels at 96 DPI, measures. + Public Function Ink(ByVal x As Long, ByVal y As Long, ByVal w As Long, ByVal hgt As Long) As String + Dim h As LongPtr = FormWindow() + Dim dpi As Long = GetDpiForWindow(h) + Dim dc As LongPtr = GetDC(h) + Dim px() As Long + Grab dc, x * dpi \ 96, y * dpi \ 96, w * dpi \ 96, hgt * dpi \ 96, px + ReleaseDC h, dc + Return Measure(px, w * dpi \ 96, hgt * dpi \ 96) + End Function + + ' What the same text measures drawn by GDI in Segoe UI at a weight. + Private Function SegoeUI(ByVal weight As Long) As String + Dim h As LongPtr = FormWindow() + Dim dpi As Long = GetDpiForWindow(h) + Dim w As Long = 560 * dpi \ 96, hgt As Long = 120 * dpi \ 96 + Dim scr As LongPtr = GetDC(0) + Dim mem As LongPtr = CreateCompatibleDC(scr) + Dim bmp As LongPtr = CreateCompatibleBitmap(scr, w, hgt) + ReleaseDC 0, scr + Dim oldBmp As LongPtr = SelectObject(mem, bmp) + PatBlt mem, 0, 0, w, hgt, &HFF0062 + SetBkMode mem, 1 + Dim face As String = "Segoe UI" + Dim fnt As LongPtr = CreateFontW(-(28 * dpi \ 72), 0, 0, 0, weight, 0, 0, 0, 1, 0, 0, 4, 0, StrPtr(face)) + Dim oldF As LongPtr = SelectObject(mem, fnt) + Dim rc As RECT + rc.Right = w: rc.Bottom = hgt + Dim s As String = "Wg Hq Wg Hq" + DrawTextW mem, StrPtr(s), Len(s), rc, 1 Or 4 Or 32 + SelectObject mem, oldF + DeleteObject fnt + Dim px() As Long + Grab mem, 0, 0, w, hgt, px + SelectObject mem, oldBmp + DeleteObject bmp + DeleteDC mem + Return Measure(px, w, hgt) + End Function + + Public Sub Report() + Dim k As Long, groups As String = "100" + For k = 2 To 9 + groups &= IIf(Measured(k) = Measured(k - 1), " ", " | ") & (100 * k) + Next + Debug.Print "Weights drawn alike: " & groups + For k = 1 To 9 + Debug.Print " Weight " & (100 * k) & ": " & Measured(k) + Next + Dim same As Boolean = True, w As Variant + For Each w In Array(400, 600, 700) + Dim g As String = SegoeUI(w) + Debug.Print " GDI Segoe UI " & w & ": " & g + If Abs(InkWidth(g) - InkWidth(Measured(w \ 100))) > 2 Then same = False + Next + Debug.Print "As wide as GDI's Segoe UI at 400, 600 and 700: " & same + End Sub + +End Module diff --git a/bugs/waynes-fontweight-three-steps/waynes-fontweight-three-steps.twinproj b/bugs/waynes-fontweight-three-steps/waynes-fontweight-three-steps.twinproj new file mode 100644 index 000000000..8279154d2 Binary files /dev/null and b/bugs/waynes-fontweight-three-steps/waynes-fontweight-three-steps.twinproj differ diff --git a/bugs/waynesform-controls-nothing/repro.json b/bugs/waynesform-controls-nothing/repro.json new file mode 100644 index 000000000..4bebe3376 --- /dev/null +++ b/bugs/waynesform-controls-nothing/repro.json @@ -0,0 +1,13 @@ +{ + "mode": "run", + "expect": { + "exit": 0, + "output": [ + "^before Show: Label1 is a WaynesLabel, Controls Is Nothing = True$", + "^before Show: Controls.Count raises 91, Object variable or With block variable not set$", + "^in Sub New: Label1 is a WaynesLabel, Controls Is Nothing = True$", + "^while shown: Label1 is a WaynesLabel, Controls Is Nothing = True$", + "^while shown: Controls.Count raises 91, Object variable or With block variable not set$" + ] + } +} diff --git a/bugs/waynesform-controls-nothing/src/Settings b/bugs/waynesform-controls-nothing/src/Settings new file mode 100644 index 000000000..c1e801ad1 --- /dev/null +++ b/bugs/waynesform-controls-nothing/src/Settings @@ -0,0 +1,62 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "WaynesformControlsNothing", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: A CustomControls form's Controls collection is always Nothing", + "project.exportPathIsV2": true, + "project.id": "{1226A919-CF6D-4134-82D2-C6CA5CC96404}", + "project.name": "WaynesformControlsNothing", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{697A5CBF-2012-48BD-9D2F-3EA64CDE149A}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] Custom Controls Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControlsPackage", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 5, + "overrideSymbol": "*CustomControlsPackage" + }, + { + "id": "{EA18E2B1-80BA-478D-AC7C-E955E6AA1B05}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] CustomControls", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControls", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} \ No newline at end of file diff --git a/bugs/waynesform-controls-nothing/src/Sources/Form1.tbform b/bugs/waynesform-controls-nothing/src/Sources/Form1.tbform new file mode 100644 index 000000000..3cea46925 --- /dev/null +++ b/bugs/waynesform-controls-nothing/src/Sources/Form1.tbform @@ -0,0 +1,85 @@ +[ + { + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -3092272, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "Caption": "Form1", + "FormDesignerId": "{5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901}", + "Height": 320, + "Left": 0, + "Name": "Form1", + "Top": 0, + "Width": 600, + "WindowsOptions": { + "BorderStyle": "tbFixedSizable", + "ControlBox": true, + "MaximizeButton": true, + "MinimizeButton": true, + "ShowInTaskbar": true, + "StartUpPosition": "tbStartUpCenterScreen", + "WindowState": "tbNormal", + "_className": "WindowsFormOptions", + "_clsid": "{D3086FE1-A140-4DC6-85A3-03E8B94DC6E3}" + }, + "_children": [ + { + "Name": "Timer1", + "Left": 20, + "Top": 20, + "Width": 32, + "Height": 32, + "Interval": 100, + "Enabled": true, + "Visible": true, + "_className": "WaynesTimer", + "_clsid": "{19E29F0D-8062-40D5-962E-5BCD1F6C090E}" + }, + { + "Name": "Label1", + "Left": 20, + "Top": 40, + "Width": 150, + "Height": 60, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + } + ], + "_className": "WaynesForm", + "_clsid": "{18C42F40-B03D-474E-B99E-7853A314E664}" + } +] \ No newline at end of file diff --git a/bugs/waynesform-controls-nothing/src/Sources/Form1.twin b/bugs/waynesform-controls-nothing/src/Sources/Form1.twin new file mode 100644 index 000000000..7a1dc36a7 --- /dev/null +++ b/bugs/waynesform-controls-nothing/src/Sources/Form1.twin @@ -0,0 +1,21 @@ +' A form of the CustomControls package (a WaynesForm) holding one WaynesLabel, Label1, and a +' WaynesTimer. It reports its Controls collection in its constructor and once it is shown. +[Description("")] +[FormDesignerId("5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901")] +Class Form1 + + Sub New() + Startup.Report "in Sub New", Me + End Sub + + Private Ticks As Long + + Private Sub Timer1_Timer() + Ticks += 1 + If Ticks = 3 Then + Startup.Report "while shown", Me + Me.Close + End If + End Sub + +End Class diff --git a/bugs/waynesform-controls-nothing/src/Sources/Startup.twin b/bugs/waynesform-controls-nothing/src/Sources/Startup.twin new file mode 100644 index 000000000..b4f923ee7 --- /dev/null +++ b/bugs/waynesform-controls-nothing/src/Sources/Startup.twin @@ -0,0 +1,26 @@ +' A form of the CustomControls package (a WaynesForm) has a Controls property, documented as the +' collection of every control on the form, and it is Nothing whenever the program can read it: +' in the form's constructor, before Show, and while the form is shown. Reading Controls.Count +' raises error 91. The form's controls themselves exist: Label1 is a WaynesLabel. +' Sub Main creates Form1, reports, and shows it; Form1 reports in Sub New and once shown. +' Run it with: node scripts/bug_repro.mjs run waynesform-controls-nothing +Module Startup + + Public Sub Main() + Dim f As New Form1 + Report "before Show", f + f.Show vbModal + End Sub + + Public Sub Report(ByVal stage As String, ByVal f As Form1) + Debug.Print stage & ": Label1 is a " & TypeName(f.Label1) & ", Controls Is Nothing = " & (f.Controls Is Nothing) + On Error Resume Next + Dim n As Long = f.Controls.Count + If Err.Number <> 0 Then + Debug.Print stage & ": Controls.Count raises " & Err.Number & ", " & Err.Description + Else + Debug.Print stage & ": Controls.Count = " & n + End If + End Sub + +End Module diff --git a/bugs/waynesform-controls-nothing/waynesform-controls-nothing.twinproj b/bugs/waynesform-controls-nothing/waynesform-controls-nothing.twinproj new file mode 100644 index 000000000..e307d046e Binary files /dev/null and b/bugs/waynesform-controls-nothing/waynesform-controls-nothing.twinproj differ diff --git a/bugs/waynesform-window-ignores-code/repro.json b/bugs/waynesform-window-ignores-code/repro.json new file mode 100644 index 000000000..8cc89ceef --- /dev/null +++ b/bugs/waynesform-window-ignores-code/repro.json @@ -0,0 +1,14 @@ +{ + "mode": "run", + "expect": { + "exit": 0, + "output": [ + "^Caption: \"Set in code\", title bar: \"Designer caption\"$", + "^Width: 300, client width: 400$", + "^BorderStyle: tbFixedSingle, sizing border: True$", + "^MaximizeButton: False, maximize box: True$", + "^Caption: \"Set when shown\", title bar: \"Designer caption\"$", + "^Width: 250, client width: 400$" + ] + } +} diff --git a/bugs/waynesform-window-ignores-code/src/Settings b/bugs/waynesform-window-ignores-code/src/Settings new file mode 100644 index 000000000..e5347b51e --- /dev/null +++ b/bugs/waynesform-window-ignores-code/src/Settings @@ -0,0 +1,62 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "WaynesformWindowIgnoresCode", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: A CustomControls form's window ignores its Caption, size, position and WindowsOptions set in code", + "project.exportPathIsV2": true, + "project.id": "{3ACD19FA-A867-4FAD-91C8-0B7C42DA445A}", + "project.name": "WaynesformWindowIgnoresCode", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{697A5CBF-2012-48BD-9D2F-3EA64CDE149A}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] Custom Controls Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControlsPackage", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 5, + "overrideSymbol": "*CustomControlsPackage" + }, + { + "id": "{EA18E2B1-80BA-478D-AC7C-E955E6AA1B05}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] CustomControls", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControls", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} diff --git a/bugs/waynesform-window-ignores-code/src/Sources/Form1.tbform b/bugs/waynesform-window-ignores-code/src/Sources/Form1.tbform new file mode 100644 index 000000000..79862cfeb --- /dev/null +++ b/bugs/waynesform-window-ignores-code/src/Sources/Form1.tbform @@ -0,0 +1,56 @@ +[ + { + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": 13684944, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "Caption": "Designer caption", + "FormDesignerId": "{5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901}", + "Height": 200, + "Left": 0, + "Name": "Form1", + "Top": 0, + "Width": 400, + "WindowsOptions": { + "BorderStyle": "tbFixedSizable", + "ControlBox": true, + "MaximizeButton": true, + "MinimizeButton": true, + "ShowInTaskbar": true, + "StartUpPosition": "tbStartUpCenterScreen", + "WindowState": "tbNormal", + "_className": "WindowsFormOptions", + "_clsid": "{D3086FE1-A140-4DC6-85A3-03E8B94DC6E3}" + }, + "_children": [ + { + "Name": "Timer1", + "Left": 20, + "Top": 20, + "Width": 32, + "Height": 32, + "Interval": 100, + "Enabled": true, + "Visible": true, + "_className": "WaynesTimer", + "_clsid": "{19E29F0D-8062-40D5-962E-5BCD1F6C090E}" + } + ], + "_className": "WaynesForm", + "_clsid": "{18C42F40-B03D-474E-B99E-7853A314E664}" + } +] diff --git a/bugs/waynesform-window-ignores-code/src/Sources/Form1.twin b/bugs/waynesform-window-ignores-code/src/Sources/Form1.twin new file mode 100644 index 000000000..6abeb5a92 --- /dev/null +++ b/bugs/waynesform-window-ignores-code/src/Sources/Form1.twin @@ -0,0 +1,36 @@ +' A form of the CustomControls package (a WaynesForm), designed with the caption "Designer +' caption", 400 x 200 pixels, a sizable border and a maximize button. Its constructor sets other +' values; once the form is shown, its timer prints each property beside what the window has. +[Description("")] +[FormDesignerId("5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901")] +Class Form1 + + Sub New() + Me.Caption = "Set in code" + Me.Width = 300 + Me.BackgroundFill.ColorPoints.SetSolidColor vbRed + Me.WindowsOptions.MaximizeButton = False + Me.WindowsOptions.BorderStyle = tbFixedSingle + End Sub + + Private Ticks As Long + + Private Sub Timer1_Timer() + Ticks += 1 + If Ticks = 3 Then + Debug.Print "-- set in Sub New, before Show:" + Startup.Report Me + ' the same properties set again on the form as it is shown + Me.Caption = "Set when shown" + Me.Width = 250 + Me.BackgroundFill.ColorPoints.SetSolidColor vbBlue + Me.WindowsOptions.MaximizeButton = False + Me.WindowsOptions.BorderStyle = tbFixedSingle + ElseIf Ticks = 6 Then + Debug.Print "-- set again while shown:" + Startup.Report Me + Me.Close + End If + End Sub + +End Class diff --git a/bugs/waynesform-window-ignores-code/src/Sources/Startup.twin b/bugs/waynesform-window-ignores-code/src/Sources/Startup.twin new file mode 100644 index 000000000..cd96fbfde --- /dev/null +++ b/bugs/waynesform-window-ignores-code/src/Sources/Startup.twin @@ -0,0 +1,71 @@ +' A form of the CustomControls package (a WaynesForm) makes its window from the values its +' designer saved, whatever its code has set: Caption, the size and position, and each of +' WindowsOptions (BorderStyle, MaximizeButton, StartUpPosition, WindowState and the rest) set +' in code, before the form is shown or after, change the property and nothing on the screen. +' The form's BackgroundFill, and its controls' style properties, set in the same place, are drawn. +' Sub Main shows Form1, whose constructor sets Caption, Width, BackgroundFill and two of +' WindowsOptions; once it is shown, Form1 calls Report, which prints each property beside what +' the window has (its title, its client width at 96 DPI, its styles, the colour it is painted). +' Run it with: node scripts/bug_repro.mjs run waynesform-window-ignores-code +Module Startup + + Private Declare PtrSafe Function FindWindowExW Lib "user32" (ByVal hWndParent As LongPtr, ByVal hWndChildAfter As LongPtr, _ + ByVal lpszClass As LongPtr, ByVal lpszWindow As LongPtr) As LongPtr + Private Declare PtrSafe Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As LongPtr, ByRef lpdwProcessId As Long) As Long + Private Declare PtrSafe Function GetCurrentProcessId Lib "kernel32" () As Long + Private Declare PtrSafe Function GetWindowTextW Lib "user32" (ByVal hWnd As LongPtr, ByVal lpString As LongPtr, ByVal nMaxCount As Long) As Long + Private Declare PtrSafe Function GetWindowLongW Lib "user32" (ByVal hWnd As LongPtr, ByVal nIndex As Long) As Long + Private Declare PtrSafe Function GetClientRect Lib "user32" (ByVal hWnd As LongPtr, ByRef lpRect As RECT) As Long + Private Declare PtrSafe Function GetDpiForWindow Lib "user32" (ByVal hWnd As LongPtr) As Long + Private Declare PtrSafe Function GetDC Lib "user32" (ByVal hWnd As LongPtr) As LongPtr + Private Declare PtrSafe Function ReleaseDC Lib "user32" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr) As Long + Private Declare PtrSafe Function GetPixel Lib "gdi32" (ByVal hDC As LongPtr, ByVal x As Long, ByVal y As Long) As Long + + Private Type RECT + Left As Long + Top As Long + Right As Long + Bottom As Long + End Type + + Private Const GWL_STYLE As Long = -16 + Private Const WS_THICKFRAME As Long = &H40000 + Private Const WS_MAXIMIZEBOX As Long = &H10000 + + Public Sub Main() + Dim f As New Form1 + f.Show vbModal + End Sub + + ' The window of this process's form: a form of the package is a window of the class tbForm. + Private Function FormWindow() As LongPtr + Dim h As LongPtr + Do + h = FindWindowExW(0, h, StrPtr("tbForm"), 0) + If h = 0 Then Err.Raise 5, , "the form has no window" + Dim pid As Long + GetWindowThreadProcessId h, pid + If pid = GetCurrentProcessId() Then Return h + Loop + End Function + + Public Sub Report(ByVal f As Form1) + Dim h As LongPtr = FormWindow() + Dim title As String = String$(256, 0) + title = Left$(title, GetWindowTextW(h, StrPtr(title), 256)) + Dim r As RECT + GetClientRect h, r + Dim dpi As Long = GetDpiForWindow(h) + Dim style As Long = GetWindowLongW(h, GWL_STYLE) + Dim dc As LongPtr = GetDC(h) + Dim colour As Long = GetPixel(dc, r.Right \ 2, r.Bottom \ 2) + ReleaseDC h, dc + Debug.Print "Caption: """ & f.Caption & """, title bar: """ & title & """" + Debug.Print "Width: " & f.Width & ", client width: " & (r.Right * 96 \ dpi) + Debug.Print "BorderStyle: " & IIf(f.WindowsOptions.BorderStyle = tbFixedSingle, "tbFixedSingle", "other") & _ + ", sizing border: " & CBool(style And WS_THICKFRAME) + Debug.Print "MaximizeButton: " & f.WindowsOptions.MaximizeButton & ", maximize box: " & CBool(style And WS_MAXIMIZEBOX) + Debug.Print "BackgroundFill painted: " & Choose(1 - (colour = vbRed) - 2 * (colour = vbBlue), "&H" & Hex$(colour), "red", "blue") + End Sub + +End Module diff --git a/bugs/waynesform-window-ignores-code/waynesform-window-ignores-code.twinproj b/bugs/waynesform-window-ignores-code/waynesform-window-ignores-code.twinproj new file mode 100644 index 000000000..8189e62f3 Binary files /dev/null and b/bugs/waynesform-window-ignores-code/waynesform-window-ignores-code.twinproj differ diff --git a/bugs/waynesframe-ignores-runtime-changes/repro.json b/bugs/waynesframe-ignores-runtime-changes/repro.json new file mode 100644 index 000000000..b225c3428 --- /dev/null +++ b/bugs/waynesframe-ignores-runtime-changes/repro.json @@ -0,0 +1,10 @@ +{ + "mode": "run", + "expect": { + "exit": 0, + "output": [ + "^fills set to red while shown: Frame1 drawn grey, Label1 drawn red$", + "^after RedrawWindow of the whole form: Frame1 drawn grey, Label1 drawn red$" + ] + } +} diff --git a/bugs/waynesframe-ignores-runtime-changes/src/Settings b/bugs/waynesframe-ignores-runtime-changes/src/Settings new file mode 100644 index 000000000..63c432260 --- /dev/null +++ b/bugs/waynesframe-ignores-runtime-changes/src/Settings @@ -0,0 +1,62 @@ +{ + "configuration.inherits": "Defaults", + "project.appTitle": "WaynesframeIgnoresRuntimeChanges", + "project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}", + "project.buildType": "Standard EXE", + "project.description": "Reproduces: A CustomControls WaynesFrame never redraws for a property set at run time", + "project.exportPathIsV2": true, + "project.id": "{8237D397-42EB-48E9-9AB2-2196FB2004B6}", + "project.name": "WaynesframeIgnoresRuntimeChanges", + "project.optionExplicit": true, + "project.references": [ + { + "id": "{00020430-0000-0000-C000-000000000046}", + "lcid": 0, + "name": "OLE Automation", + "path32": "C:\\Windows\\SysWOW64\\stdole2.tlb", + "path64": "C:\\Windows\\System32\\stdole2.tlb", + "symbolId": "stdole", + "versionMajor": 2, + "versionMinor": 0 + }, + { + "id": "{697A5CBF-2012-48BD-9D2F-3EA64CDE149A}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] Custom Controls Package", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControlsPackage", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 5, + "overrideSymbol": "*CustomControlsPackage" + }, + { + "id": "{EA18E2B1-80BA-478D-AC7C-E955E6AA1B05}", + "isCompilerPackage": true, + "licence": "MIT", + "name": "[COMPILER PACKAGE] CustomControls", + "path32": "", + "path64": "", + "publisher": "TWINBASIC-COMPILER", + "symbolId": "CustomControls", + "versionBuild": 0, + "versionMajor": 0, + "versionMinor": 0, + "versionRevision": 1 + } + ], + "project.settingsVersion": 1, + "project.startupObject": "Sub Main", + "project.warnings": { + "errors": [], + "hints": [], + "ignored": [], + "info": [], + "warnings": [] + }, + "runtime.useUnicodeStandardLibrary": true +} \ No newline at end of file diff --git a/bugs/waynesframe-ignores-runtime-changes/src/Sources/Form1.tbform b/bugs/waynesframe-ignores-runtime-changes/src/Sources/Form1.tbform new file mode 100644 index 000000000..1a8169b06 --- /dev/null +++ b/bugs/waynesframe-ignores-runtime-changes/src/Sources/Form1.tbform @@ -0,0 +1,113 @@ +[ + { + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -3092272, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "Caption": "Form1", + "FormDesignerId": "{5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901}", + "Height": 320, + "Left": 0, + "Name": "Form1", + "Top": 0, + "Width": 600, + "WindowsOptions": { + "BorderStyle": "tbFixedSizable", + "ControlBox": true, + "MaximizeButton": true, + "MinimizeButton": true, + "ShowInTaskbar": true, + "StartUpPosition": "tbStartUpCenterScreen", + "WindowState": "tbNormal", + "_className": "WindowsFormOptions", + "_clsid": "{D3086FE1-A140-4DC6-85A3-03E8B94DC6E3}" + }, + "_children": [ + { + "Name": "Timer1", + "Left": 20, + "Top": 20, + "Width": 32, + "Height": 32, + "Interval": 100, + "Enabled": true, + "Visible": true, + "_className": "WaynesTimer", + "_clsid": "{19E29F0D-8062-40D5-962E-5BCD1F6C090E}" + }, + { + "Name": "Frame1", + "Left": 20, + "Top": 60, + "Width": 150, + "Height": 80, + "Visible": true, + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -8355712, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesFrame", + "_clsid": "{E6E927FA-F6E6-4E8E-9540-DA8696F38429}" + }, + { + "Name": "Label1", + "Left": 200, + "Top": 60, + "Width": 150, + "Height": 80, + "Visible": true, + "Caption": "", + "BackgroundFill": { + "ColorPoints": { + "Granularity": 100, + "Values": [ + { + "Color": -16711936, + "PositionPercent": 0, + "_className": "FillColorPoint", + "_clsid": "{089D4C70-CF05-432E-ADFF-8E72CD22FFA8}" + } + ], + "_className": "FillColorPoints", + "_clsid": "{DE27CE92-3E3D-4738-8688-CFB118F87D88}" + }, + "Pattern": "tbPatternNone", + "_className": "Fill", + "_clsid": "{CA65F55C-1A19-4003-A6F9-D89A7D84F5EA}" + }, + "_className": "WaynesLabel", + "_clsid": "{6C9EBA9F-C7D3-479A-9604-BB81AEF3C6E9}" + } + ], + "_className": "WaynesForm", + "_clsid": "{18C42F40-B03D-474E-B99E-7853A314E664}" + } +] \ No newline at end of file diff --git a/bugs/waynesframe-ignores-runtime-changes/src/Sources/Form1.twin b/bugs/waynesframe-ignores-runtime-changes/src/Sources/Form1.twin new file mode 100644 index 000000000..18dd88e1e --- /dev/null +++ b/bugs/waynesframe-ignores-runtime-changes/src/Sources/Form1.twin @@ -0,0 +1,25 @@ +' A form of the CustomControls package (a WaynesForm) holding a grey WaynesFrame, Frame1, and a +' green WaynesLabel, Label1. Once the form is shown, its timer gives both a red fill and reports +' what is drawn, then has the whole window redrawn and reports again. +[Description("")] +[FormDesignerId("5C1E7A40-2B9D-4F63-8E15-A0D4C7B2E901")] +Class Form1 + + Private Ticks As Long + + Private Sub Timer1_Timer() + Ticks += 1 + Select Case Ticks + Case 3 + Frame1.BackgroundFill.ColorPoints.SetSolidColor vbRed + Label1.BackgroundFill.ColorPoints.SetSolidColor vbRed + Case 6 + Startup.Report "fills set to red while shown" + Startup.Redraw + Case 9 + Startup.Report "after RedrawWindow of the whole form" + Me.Close + End Select + End Sub + +End Class diff --git a/bugs/waynesframe-ignores-runtime-changes/src/Sources/Startup.twin b/bugs/waynesframe-ignores-runtime-changes/src/Sources/Startup.twin new file mode 100644 index 000000000..79d00edea --- /dev/null +++ b/bugs/waynesframe-ignores-runtime-changes/src/Sources/Startup.twin @@ -0,0 +1,63 @@ +' A WaynesFrame of the CustomControls package never redraws for a property set while its form is +' shown: Frame1's BackgroundFill set to red keeps the frame grey on the screen, even after the +' whole window is redrawn, while Label1's, set in the same place, is drawn red at once. The +' package's WaynesFrame never stores the ControlContext its Initialize is given, which WaynesLabel, +' WaynesButton and the others do, so its handler for a changed property (If Me.ControlContext IsNot +' Nothing Then Me.ControlContext.Repaint) never asks for a repaint. A fill set in the form's +' constructor, before the frame is first drawn, is drawn. +' Run it with: node scripts/bug_repro.mjs run waynesframe-ignores-runtime-changes +Module Startup + + Private Declare PtrSafe Function FindWindowExW Lib "user32" (ByVal hWndParent As LongPtr, ByVal hWndChildAfter As LongPtr, _ + ByVal lpszClass As LongPtr, ByVal lpszWindow As LongPtr) As LongPtr + Private Declare PtrSafe Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As LongPtr, ByRef lpdwProcessId As Long) As Long + Private Declare PtrSafe Function GetCurrentProcessId Lib "kernel32" () As Long + Private Declare PtrSafe Function GetDpiForWindow Lib "user32" (ByVal hWnd As LongPtr) As Long + Private Declare PtrSafe Function GetDC Lib "user32" (ByVal hWnd As LongPtr) As LongPtr + Private Declare PtrSafe Function ReleaseDC Lib "user32" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr) As Long + Private Declare PtrSafe Function GetPixel Lib "gdi32" (ByVal hDC As LongPtr, ByVal x As Long, ByVal y As Long) As Long + Private Declare PtrSafe Function RedrawWindow Lib "user32" (ByVal hWnd As LongPtr, ByVal lprcUpdate As LongPtr, _ + ByVal hrgnUpdate As LongPtr, ByVal flags As Long) As Long + + Public Sub Main() + Dim f As New Form1 + f.Show vbModal + End Sub + + ' The window of this process's form: a form of the package is a window of the class tbForm. + Private Function FormWindow() As LongPtr + Dim h As LongPtr + Do + h = FindWindowExW(0, h, StrPtr("tbForm"), 0) + If h = 0 Then Err.Raise 5, , "the form has no window" + Dim pid As Long + GetWindowThreadProcessId h, pid + If pid = GetCurrentProcessId() Then Return h + Loop + End Function + + ' The colour drawn at a point of the form, the point in pixels at 96 DPI. + Private Function Colour(ByVal x As Long, ByVal y As Long) As String + Dim h As LongPtr = FormWindow() + Dim dpi As Long = GetDpiForWindow(h) + Dim dc As LongPtr = GetDC(h) + Dim c As Long = GetPixel(dc, x * dpi \ 96, y * dpi \ 96) + ReleaseDC h, dc + Select Case c + Case vbRed: Return "red" + Case vbGreen: Return "green" + Case &H808080: Return "grey" + Case Else: Return "&H" & Hex$(c) + End Select + End Function + + Public Sub Report(ByVal stage As String) + Debug.Print stage & ": Frame1 drawn " & Colour(95, 100) & ", Label1 drawn " & Colour(275, 100) + End Sub + + Public Sub Redraw() + Const RDW_INVALIDATE = &H1, RDW_ERASE = &H4, RDW_ALLCHILDREN = &H80, RDW_UPDATENOW = &H100 + RedrawWindow FormWindow(), 0, 0, RDW_INVALIDATE Or RDW_ERASE Or RDW_ALLCHILDREN Or RDW_UPDATENOW + End Sub + +End Module diff --git a/bugs/waynesframe-ignores-runtime-changes/waynesframe-ignores-runtime-changes.twinproj b/bugs/waynesframe-ignores-runtime-changes/waynesframe-ignores-runtime-changes.twinproj new file mode 100644 index 000000000..85cf8581b Binary files /dev/null and b/bugs/waynesframe-ignores-runtime-changes/waynesframe-ignores-runtime-changes.twinproj differ diff --git a/builder/page-baseline.json b/builder/page-baseline.json index 1f96fae93..3b36f0d84 100644 --- a/builder/page-baseline.json +++ b/builder/page-baseline.json @@ -1,5 +1,5 @@ { "src": "docs", - "pages": 1517, - "staticFiles": 1245 + "pages": 1540, + "staticFiles": 1346 } diff --git a/docs/Documentation/Authoring.md b/docs/Documentation/Authoring.md index 44f4b98f8..7c7a11389 100644 --- a/docs/Documentation/Authoring.md +++ b/docs/Documentation/Authoring.md @@ -185,9 +185,9 @@ as `[CefBrowser](.)`, and a section of it as `[Create](.#create)`. **Set `has_toc: false` on every page in the group.** It suppresses the automatic "Table of contents" heading and list of child pages that the template otherwise appends to a parent page. On a reference index that list repeats the members the -page already introduces, so every one of the 238 pages that sets the key sets it +page already introduces, so every page that sets the key sets it to `false`. The `AppGlobalClassObject` package is the example to copy --- its -`index.md` and all 37 pages under `_App/` carry it. +`index.md` and every page under `_App/` carry it. `has_toc` is unrelated to the in-page table of contents, which is the `* TOC goes here` / `{:toc}` marker, and to `{: .no_toc }` on the page title, @@ -235,9 +235,9 @@ The repair re-levels the whole page. The plugin raises **every** heading of leve ### Editing a page that still uses the old style -**The plugin runs only on a page that uses `#` and `###` and no `##` anywhere.** More than four hundred pages are in that state. Adding one `##` section to such a page disarms the normalizer: every `###` already there stops being repaired and becomes a heading-order defect, in the same edit that added a correctly-levelled section. +**The plugin runs only on a page that uses `#` and `###` and no `##` anywhere.** Hundreds of pages are in that state. Adding one `##` section to such a page disarms the normalizer: every `###` already there stops being repaired and becomes a heading-order defect, in the same edit that added a correctly-levelled section. -Nothing warns you. The build succeeds, because it does not check heading order, and `check.bat`'s accessibility scan audits sixteen sample pages out of roughly 1,160. +Nothing warns you. The build succeeds, because it does not check heading order, and `check.bat`'s accessibility scan audits a sample of pages out of {{tbdocs:pages}}. When you add a section to a page whose headings start at `###`, pick one of these and finish it: @@ -259,7 +259,7 @@ Two details of the slug surprise people. Runs of hyphens are not collapsed and t `headerIdPlugin` skips a heading that already carries an `id`, so the heading can then be reworded freely. Two details of the syntax matter. The delimiters are `{:` and `}`, not bare braces. And a blank line changes the direction: an attribute list on the line *immediately* after a block attaches to that block, while one after a blank line attaches to the next block. Leave a blank line in and the id lands on the following paragraph. -The same attribute works inline, attached to a span --- `| **vbPRCMColor**{: #vbPRCMColor } | 2 | ...` gives one enumeration member in a table its own anchor. Across `docs/`, 1,342 attribute lists set an id, in 179 files. Only 159 stand alone on a line of their own, 146 of them pinning a heading; the other 1,183 are inline. +The same attribute works inline, attached to a span --- `| **vbPRCMColor**{: #vbPRCMColor } | 2 | ...` gives one enumeration member in a table its own anchor. Across `docs/`, over a thousand attribute lists set an id. Only a small share stand alone on a line of their own, most of those pinning a heading; the rest are inline. **`redirect_from` cannot rescue a renamed anchor.** It emits a whole-page stub (one destination URL written four times, as the canonical link, a `location=` assignment, a meta refresh and a visible fallback link) and nothing maps one fragment to another. It moves a page, not a section. @@ -285,7 +285,7 @@ symbols: [_HiddenModule] --- ``` -On a statement page the first name is the statement and the rest are its keywords; on an operator page each is an operator of its own --- the comparison operators page lists `["=", "<>", "<", "<=", ">", ">="]`, quoted, because a bare `>` is YAML syntax. Quote `True`, `False` and `Null` as well: YAML reads them bare as a boolean and as no value, and the build refuses an entry that is not a name. Only two pages need it today. A page in a package folder that gives the index no entry at all is named after the build's summary. +On a statement page the first name is the statement and the rest are its keywords; on an operator page each is an operator of its own --- the comparison operators page lists `["=", "<>", "<", "<=", ">", ">="]`, quoted, because a bare `>` is YAML syntax. Quote `True`, `False` and `Null` as well: YAML reads them bare as a boolean and as no value, and the build refuses an entry that is not a name. Few pages need it. A page in a package folder that gives the index no entry at all is named after the build's summary. Two summary pages outside the package folders are read too, and their `symbols:` list names the page's `##` sections: each intrinsic type of [Data Types](../../Reference/Data-Types), and each keyword of [Literal Keywords](../../Reference/Literal-Keywords) (`["Nothing", "Null", "Empty", "True", "False"]`). A name with no `##` heading of its own fails the build. @@ -807,7 +807,7 @@ Images live in an `Images/` folder beside the page that uses them, and are refer **The text in the square brackets is the image's alt text, and every image needs one.** Write what a reader who cannot see the picture would otherwise miss --- what the screenshot shows and which part of it the surrounding prose is pointing at. A caption-length phrase is usually right; the file name, the word *screenshot*, and the name of the button you happened to be looking for are not. -No gate checks the alt text. The accessibility scan's `image-alt` rule asks only whether an accessible name *exists*. `![image](…)` passes it. So does `![img](…)`. So does an empty `![](…)`, because an empty alt marks an image as decorative, which is right for a spacer and wrong for a screenshot. The scan also samples only sixteen pages. Whether the text describes the picture is for you and your reviewer to judge. +No gate checks the alt text. The accessibility scan's `image-alt` rule asks only whether an accessible name *exists*. `![image](…)` passes it. So does `![img](…)`. So does an empty `![](…)`, because an empty alt marks an image as decorative, which is right for a spacer and wrong for a screenshot. The scan also samples only a few pages. Whether the text describes the picture is for you and your reviewer to judge. Copy the *shape* of a neighbouring page's image markdown, never its alt text. The example above used to read `![Create Package]`, and that string spread onto ten further images --- a references dialog, a toolbox, a properties window, an animated GIF --- describing none of them. diff --git a/docs/Documentation/Builder.md b/docs/Documentation/Builder.md index fbab007d9..e080019ca 100644 --- a/docs/Documentation/Builder.md +++ b/docs/Documentation/Builder.md @@ -642,7 +642,7 @@ The build aborts or flips the exit code in these cases: - **Worker crash.** A worker handler that throws posts `{ taskFailed, message, stack }` to main; the scheduler calls `_abort()`, the build rejects, and the orchestrator reports the error with the task name. - **A worker that never returns.** A handler stuck in an unbounded loop, an exponentially backtracking regex or a promise that never settles posts nothing, so its successors' dependency counts never fall and the scheduler's promise never settles. Nothing in the SAB protocol can see this. `Scheduler` therefore runs a `setInterval` watchdog: if no task completes for `--stall-timeout` seconds (default 120, `0` disables), it aborts with `{ stalled: true }` and prints the outstanding tasks in three groups: claimed by a worker that never returned (the cause), runnable but unclaimed (including an `F_PIN_TO_PRED` task whose lane is the wedged one), and blocked on a predecessor (the consequence). A `render:` or `flush:` chunk also prints its source pages, through an optional `describe()` on the task def. `Worker.terminate()` ends a thread spinning inside a regex, so the abort ends the process. Under `--serve` the pool outlives a rebuild, so `serve.mjs` replaces the whole pool on the `stalled` flag instead of identifying the wedged lane, because the SAB records the lane a task *completed* on, not the one that claimed it. See [when a build stops instead of failing](Building#when-a-build-stops) for the reader-facing form. - **Link and integrity check** (`--check`). The one failure that does *not* abort: a broken link still produces a valid site worth inspecting, unlike a nav ambiguity, where the output itself would be wrong. The check tasks collect findings and `runBuild()` sets the exit code afterwards: 1 for any link or integrity failure, the same code as every other failed step. A refused command line or a crash exits 2. -- **Incomplete parallel results.** Six checks along the chunk-merge path refuse to continue with a piece missing: `renderJoin` asserts that every page has rendered content; `render:i`'s merge rejects a page the build does not know; the search index refuses both a page without content and a chunk that never arrived; the book refuses a chapter whose content is absent (empty is legitimate); and a link-check chunk that errored fails the run. None can fire while the task graph is wired correctly. They exist because a wrongly wired graph would otherwise be skipped silently, as the next section explains. +- **Incomplete parallel results.** Checks along the chunk-merge path refuse to continue with a piece missing: `renderJoin` asserts that every page has rendered content; `render:i`'s merge rejects a page the build does not know; the search index refuses both a page without content and a chunk that never arrived; the book refuses a chapter whose content is absent (empty is legitimate); and a link-check chunk that errored fails the run. None can fire while the task graph is wired correctly. They exist because a wrongly wired graph would otherwise be skipped silently, as the next section explains. ### Dependency counts order the work, not the build state diff --git a/docs/Documentation/Building.md b/docs/Documentation/Building.md index 822b60517..21a14c235 100644 --- a/docs/Documentation/Building.md +++ b/docs/Documentation/Building.md @@ -323,7 +323,7 @@ A page in a package folder that gives no entry at all is reported by name after check.bat -[`scripts/check_a11y.mjs`](Tools-Site-Checks#check-a11y) drives `axe-core` inside headless Chromium (via `puppeteer`) over sixteen sample pages against WCAG 2.0/2.1/2.2 at Level A + AA (plus the `heading-order` best-practice rule), and exits non-zero on any violation. It runs last, after the cheaper gates: a freshness check that refuses a stale tree, the [DOT diagram fit check](#diagram-fonts-and-why-checkbat-measures-them), and the sample-coverage check that says whether the sixteen pages still cover every markup construct the site uses. [Tools and Scripts](Tools#checkbat) has the list in order. +[`scripts/check_a11y.mjs`](Tools-Site-Checks#check-a11y) drives `axe-core` inside headless Chromium (via `puppeteer`) over a sample of pages against WCAG 2.0/2.1/2.2 at Level A + AA (plus the `heading-order` best-practice rule), and exits non-zero on any violation. It runs last, after the cheaper gates: a freshness check that refuses a stale tree, the [DOT diagram fit check](#diagram-fonts-and-why-checkbat-measures-them), and the sample-coverage check that says whether the sample pages still cover every markup construct the site uses. [Tools and Scripts](Tools#checkbat) has the list in order. Each page is scanned in **both the light and dark themes**, because dark mode is a separate palette. The scan runs against `_site-offline/`, because the online tree's root-absolute asset URLs do not resolve under `file://` and every page would be unstyled. It needs the Chromium install from the [requirements](#requirements). @@ -510,7 +510,7 @@ The release job runs only after a green deploy, on the dispatched commit. It att | asset | what it is | |---|---| | `twinbasic-docs-offline.zip` | `_site-offline/` zipped from the inside, so `index.html` sits at the archive root. Extract anywhere and open it --- no server, and search, navigation and dark mode all work. | -| `twinBASIC Book.pdf` | The PDF book, A4, about 2,400 pages, bookmarked to `h1`--`h4`. | +| `twinBASIC Book.pdf` | The PDF book, A4, bookmarked to `h1`--`h4`. | | the Downloads page's files | Every file the [Downloads](../../Downloads) page offers from this site: each same-site link on it with the `download` attribute, read from the built page. A download added to that page is in the next release with no change to the workflow. | > [!IMPORTANT] diff --git a/docs/Documentation/Extending.md b/docs/Documentation/Extending.md index f6ccb7b03..6bf981b09 100644 --- a/docs/Documentation/Extending.md +++ b/docs/Documentation/Extending.md @@ -142,7 +142,7 @@ Find the row for what changed. The middle column is the step that explains the m | A task's `expected` list | [Pick the right flags](#2-pick-the-right-flags) | Nothing. The scheduler derives successor edges from `expected`. The exception is the dynamic edges: `render:i` and `flush:i` are wired in `dispatch.submit`, not in `TASKS`. | | A task's `execute()` or handler return shape | [Define the task in `TASKS`](#4-define-the-task-in-tasks) | The task's own `submit()`, and every downstream task that reads the field back off `state`. | | Which thread a task runs on | [Decide where the work runs](#1-decide-where-the-work-runs) | Swap `runOnMain: true` + `execute` for `handler:` plus a `cpu-worker.mjs` entry, and add the name to `HANDLERS` in `sab-scheduler.mjs`. A task moved onto a worker loses direct access to `state`: everything it reads must arrive through the payload SAB or, for the output of a main-thread predecessor, through a broadcast (see [Write the worker handler](#3-write-the-worker-handler-if-worker-resident)), and everything it produces must come back through its return value. | -| Which Gantt section a task charts under | --- | **`GANTT_SECTION` in `gantt.mjs`**, not the task definition. A `ganttSection` on the definition wins where it is set, which is why the walkthroughs below set one, but only the `render:i` and `flush:i` tasks that `dispatch` registers carry one. Of the 37 static tasks, 35 are in the map; the other two, `warmInit` and `renderEnvInit`, are `unique_per_worker` tasks, whose per-lane timings chart as `Boot`. Any other task with no section, or with a section the chart does not draw, fails the build. | +| Which Gantt section a task charts under | --- | **`GANTT_SECTION` in `gantt.mjs`**, not the task definition. A `ganttSection` on the definition wins where it is set, which is why the walkthroughs below set one, but only the `render:i` and `flush:i` tasks that `dispatch` registers carry one. Every static task is in the map but `warmInit` and `renderEnvInit`, which are `unique_per_worker` tasks, whose per-lane timings chart as `Boot`. Any other task with no section, or with a section the chart does not draw, fails the build. | | A field on the per-page render delta | [Worked example B](#6-worked-example-b-distributed-compute) | The `pages.map(…)` projection at the end of the render handler **and** the merge in `dispatch.submit`'s `render:i` callback. Without both, the field never reaches main. | | What a markdown-it rule emits | [Write the plugin](#1-write-the-plugin) | Nothing in the chain, if the rule is self-contained. But changing the emitted HTML changes what the accessibility scan sees --- read the construct-family note at the end of [Verify](#3-verify). | @@ -548,7 +548,7 @@ Then run `test.bat`, which judges a `render.mjs` edit. Two of its gates read thi **A pattern assembled from string constants is still checked by the regex gate,** when the source decides what the constants are. If it does not (a function parameter, a `let` built in a loop), `node scripts/check_regex_safety.mjs --census` names the pattern and you must reason about it yourself. See [`check_regex_safety.mjs`](Tools-Toolchain-Tests#check-regex-safety) for the shapes it resolves. -**If the plugin emits markup the site has not carried before --- a new wrapper element, a widget, a figure, a control --- register a construct family for it in [`scripts/pick_a11y_sample.mjs`](Tools-Site-Checks#pick-a11y-sample) in the same change.** The accessibility scan audits sixteen sample pages out of ~1,160, and no axe rule keyed on a construct runs unless a sample page carries it. Without a family the gate keeps reporting a clean pass while covering less. `node scripts/pick_a11y_sample.mjs --census` shows the existing families and their pages; `--check` names the gaps and the cheapest page that closes each. A new task or sub-stage that changes the emitted HTML, or a template change, carries the same obligation. +**If the plugin emits markup the site has not carried before --- a new wrapper element, a widget, a figure, a control --- register a construct family for it in [`scripts/pick_a11y_sample.mjs`](Tools-Site-Checks#pick-a11y-sample) in the same change.** The accessibility scan audits a sample of pages out of {{tbdocs:pages}}, and no axe rule keyed on a construct runs unless a sample page carries it. Without a family the gate keeps reporting a clean pass while covering less. `node scripts/pick_a11y_sample.mjs --census` shows the existing families and their pages; `--check` names the gaps and the cheapest page that closes each. A new task or sub-stage that changes the emitted HTML, or a template change, carries the same obligation. --- @@ -687,7 +687,7 @@ Two checks enforce the registration; neither reads the POSIX command blocks or ` So a new gate needs a second assertion of the opposite sign. Four shapes in the repository to copy: -- **Named probes on both sides.** `check_publish_policy.mjs` asserts that thirteen file types stay refused *and* that six stay published, because a policy that refuses everything also reports a clean sweep. +- **Named probes on both sides.** `check_publish_policy.mjs` asserts that named file types stay refused *and* that others stay published, because a policy that refuses everything also reports a clean sweep. - **A deliberately corrupted side.** `check_links_diff.mjs --self-test` diffs the checker against a mutated copy of itself and fails unless the difference is reported. - **A fixture that provokes one fault of each kind,** with the count asserted afterwards. The real site is clean, so without one every category compares empty against empty, and a category that has stopped being checked looks identical to a category with nothing to find. - **An A/A control.** Running `check_a11y_fingerprint.mjs` with the same scheme on both sides shows whether the harness is stable, before any A/B result from it is believed. diff --git a/docs/Documentation/PDF-Generation.md b/docs/Documentation/PDF-Generation.md index 9b213d53e..58e4e93e9 100644 --- a/docs/Documentation/PDF-Generation.md +++ b/docs/Documentation/PDF-Generation.md @@ -17,7 +17,7 @@ Internals of the two-stage PDF pipeline: `tbdocs` Phase 8 assembles a sparse `_s ![A flow chart running top to bottom through two boxed stages. The first, tbdocs writePdf, holds three steps side by side: assembleBook combining the chapter HTML, copyPdfCss copying the two stylesheets, and copyPdfImages copying the referenced images. Together they produce _site-pdf/book.html with its stylesheets and images. That file feeds the second stage, render-book.mjs, whose three phases run in sequence: Phase 1 lays the document out with puppeteer and paged.js into one element per output page, Phase 2 extracts the metadata and outline tree and calls page.pdf for a raw buffer, and Phase 3 reloads that buffer through the fast pdf-lib shims, sets the metadata and outline, and saves. The result is the finished PDF under _pdf.](/assets/images/dot/pdf-render-pipeline.svg) -The book runs to about 3,700 pages. `tbdocs` builds `_site-pdf/` as part of its normal run; `render-book.mjs` runs only when `book.bat` calls it, which keeps `puppeteer` and `pdf-lib` out of the site generator's dependency tree. +The book runs to thousands of pages. `tbdocs` builds `_site-pdf/` as part of its normal run; `render-book.mjs` runs only when `book.bat` calls it, which keeps `puppeteer` and `pdf-lib` out of the site generator's dependency tree. ## Running the renderer diff --git a/docs/Documentation/Pipeline-Stages.md b/docs/Documentation/Pipeline-Stages.md index 86d34d28b..91c48bcf5 100644 --- a/docs/Documentation/Pipeline-Stages.md +++ b/docs/Documentation/Pipeline-Stages.md @@ -752,14 +752,14 @@ Both HTML escapers convert a value that is not a string with `String` first. | `renderPhase` | `(pages, site, staticFiles?) → Promise` | Renders each page's `rawContent` to `renderedContent` via the supplied site's markdown-it. Skips `layout: book-combined`. | | `applyPreRenderRewrites` | `(rawContent, md) → string` | The pre-render source rewrite chain the render stage applies to each page before parsing: normalises line endings to LF, masks code with `maskCode` from `lib/markdown.mjs` using the site's markdown-it instance `md`, runs the four kramdown-parity rewrites, restores the code, then runs `rewriteAdmonitions` with the same instance. Throws a `TypeError` when `md` is omitted. Exported so `check_code_regions.mjs` and `check_examples.mjs` test the real chain. | | `applyPostRenderRewrites` | `(html) → string` | The rewrites over a page's rendered HTML after parsing: `normaliseVoidTags` writes each void tag self-closed and in lower case (`
` becomes `
`), then `padEmptyCells` puts a no-break space in each empty table cell. Both go through `replaceOutsideCode`. Exported for `scripts/check_code_regions.mjs`. | -| `createMarkdownIt` | `({ highlighter, linkTables, baseurl, staticFiles, svgContents?, vendoredVideos?, vendoredImages?, counts? }) → MarkdownIt` | Builds the configured markdown-it instance: the twenty-one plugins tabulated below, in their fixed order, plus eight renderer-rule overrides. `svgContents` is a `Map` of pre-read SVG file contents; when present, `figurePlugin` replaces a diagram (a lone `.svg` image) with a figure holding the inline SVG. `vendoredVideos` and `vendoredImages` are the maps `videoLinkPlugin` and `remoteImagePlugin` resolve against, and `counts` is the registry `countPlugin` substitutes from. See [Extending](Extending#adding-a-markdown-it-plugin) for how to add a plugin. | +| `createMarkdownIt` | `({ highlighter, linkTables, baseurl, staticFiles, svgContents?, vendoredVideos?, vendoredImages?, counts? }) → MarkdownIt` | Builds the configured markdown-it instance: the plugins tabulated below, in their fixed order, plus renderer-rule overrides. `svgContents` is a `Map` of pre-read SVG file contents; when present, `figurePlugin` replaces a diagram (a lone `.svg` image) with a figure holding the inline SVG. `vendoredVideos` and `vendoredImages` are the maps `videoLinkPlugin` and `remoteImagePlugin` resolve against, and `counts` is the registry `countPlugin` substitutes from. See [Extending](Extending#adding-a-markdown-it-plugin) for how to add a plugin. | | `initHighlighter` | (re-export from `highlight.mjs`) | `() → Promise`. Initialises Shiki with the bundled twinBASIC grammar. | | `buildLinkTables` | `(pages) → { byPath, byUrl, byRedirect }` | Map lookups keyed by `srcRel`, `permalink`, and `redirect_from` entries. | | `serializeLinkTables` | `(lt) → { byPath, byUrl, byRedirect }` | Serializes the Maps to `[key, permalink]` pair arrays for structured-clone transfer to workers. | | `rewriteAdmonitions` | `(src, md) → string` | GFM admonition rewrite to the `markdown-alert markdown-alert-` class structure with the five SVG octicons. Leaves an admonition alone when its `[!TYPE]` line is inside a region that `blockRegions` from `lib/markdown.mjs` reports with the site's markdown-it instance `md`; a fence inside an admonition is part of its body. Throws a `TypeError` when `md` is omitted. | #### The plugin chain -`createMarkdownIt` applies twenty-one plugins in a fixed order: three from npm, seventeen defined in `render.mjs`, and `countPlugin` from `counts.mjs`. Most of the in-tree ones close a behavioural gap between markdown-it and kramdown, which rendered this content under Jekyll. The site's ~870 pages were authored against kramdown's dialect, so matching it is a requirement. +`createMarkdownIt` applies its plugins in a fixed order: some from npm, the rest defined in `render.mjs`, and `countPlugin` from `counts.mjs`. Most of the in-tree ones close a behavioural gap between markdown-it and kramdown, which rendered this content under Jekyll. The site's ~870 pages were authored against kramdown's dialect, so matching it is a requirement. The table lists the plugin chain only. The renderer rules `createMarkdownIt` replaces directly, among them the one that wraps every table, are under [Renderer overrides](#renderer-overrides). diff --git a/docs/Documentation/Tools-Compiler.md b/docs/Documentation/Tools-Compiler.md index 65b33ff3a..b20990696 100644 --- a/docs/Documentation/Tools-Compiler.md +++ b/docs/Documentation/Tools-Compiler.md @@ -273,8 +273,9 @@ that: exactly as they are, because an IDE started with the two flags does not write them, and the read-only listing of the targets under the run's folders finds them in both separators; - a file association that pointed into the temp folder when a run began --- at another run's - private copy of the IDE --- is put back pointing at the newest install, or left as it is - when there is none; + private copy of the IDE --- is put back pointing at the newest install, every path into the + copy's folder (the open command, the icon, the template `ShellNew` makes a new project from) + pointed at the same file in the install's folder, or left as it is when there is none; - the window's geometry (the `Window` key) is put back value by value, an untouched key is not written, a key the run created is deleted, and the key is left as it is when a run of [`try_help_addin.mjs`](Tools-IDE#try-help-addin), whose IDE you move yourself, ended with it; @@ -296,7 +297,7 @@ Exit codes: **0** every assertion held, **1** an assertion failed, **2** the tes node scripts/impexp.mjs settings|licence|changelog|readme node scripts/impexp.mjs --self-test -Standalone `.twinproj` / `.twinpack` unpacker and packer, with the compiler executable's own command line: the same six commands, the project file first, and `--overwrite` required to replace anything. `scripts/impexp.py` is the same tool, run as `python scripts/impexp.py ...`, and `scripts/impexp/` is a third edition, a twinBASIC console program that runs as `impexp_win32.exe ...`. An argument that holds a double quote, which is what Windows makes of a folder in quotes that ends with a backslash (`"C:\out\" --overwrite` arrives as `C:\out" --overwrite`), is refused with exit code 2 and the command it meant, without the backslash and after the program as it was run, ready to copy; it is not repaired, because the compiler executable reads `"C:\out\"` as the folder. The three editions print the same output, give the same exit codes and write byte-identical project files, which [`check_impexp_parity.mjs`](Tools-Toolchain-Tests#check-impexp-parity) checks. The Node edition needs Node 18+ and the Python edition Python 3.6+; the twinBASIC edition needs Windows and nothing else at run time, and reads and writes its paths as Unicode. None has dependencies. `--self-test` needs only the program, runs the same 21 tests in all three, and adds a round trip of `indexer/sample.twinpack` when it can find that file: the Node and Python editions look in `indexer/` beside their own `scripts/` folder, and the twinBASIC edition in each folder above the exe, then in each folder above the current folder. +Standalone `.twinproj` / `.twinpack` unpacker and packer, with the compiler executable's own command line: the same six commands, the project file first, and `--overwrite` required to replace anything. `scripts/impexp.py` is the same tool, run as `python scripts/impexp.py ...`, and `scripts/impexp/` is a third edition, a twinBASIC console program that runs as `impexp_win32.exe ...`. An argument that holds a double quote, which is what Windows makes of a folder in quotes that ends with a backslash (`"C:\out\" --overwrite` arrives as `C:\out" --overwrite`), is refused with exit code 2 and the command it meant, without the backslash and after the program as it was run, ready to copy; it is not repaired, because the compiler executable reads `"C:\out\"` as the folder. The three editions print the same output, give the same exit codes and write byte-identical project files, which [`check_impexp_parity.mjs`](Tools-Toolchain-Tests#check-impexp-parity) checks. The Node edition needs Node 18+ and the Python edition Python 3.6+; the twinBASIC edition needs Windows and nothing else at run time, and reads and writes its paths as Unicode. None has dependencies. `--self-test` needs only the program, runs the same tests in all three, and adds a round trip of `indexer/sample.twinpack` when it can find that file: the Node and Python editions look in `indexer/` beside their own `scripts/` folder, and the twinBASIC edition in each folder above the exe, then in each folder above the current folder. The twinBASIC edition exists for readers who have twinBASIC and neither Node nor Python. It is laid out as [`imagestrip`](Tools-IDE#imagestrip) is: `scripts/impexp/src/` is an exported project tree, and `scripts/impexp/impexp.twinproj` is the project file packed from it, which opens in the IDE. Both are checked out byte for byte (`.gitattributes`). After a change to `src/`, pack it again: diff --git a/docs/Documentation/Tools-IDE.md b/docs/Documentation/Tools-IDE.md index becdbd8ed..3487cd02a 100644 --- a/docs/Documentation/Tools-IDE.md +++ b/docs/Documentation/Tools-IDE.md @@ -39,9 +39,9 @@ Exit codes: **0** every piece of every shipped theme loads; **1** at least one i Runs the add-in scenarios under `test/addin/`. Each scenario file is a `node:test` file and one **lane**, listed in `test/addin/lanes.mjs`; run it with [`addin-test.bat`](Tools#addin-testbat), because on its own a scenario skips itself. A lane runs in its own process, with its own slot from [`tbbroker`](Tools-Compiler#tbbroker) (a private desktop), work folder and private copy of the twinBASIC install, so a test add-in never loads into your own IDE and two lanes never share one. Each IDE's DevTools port is one Windows picks. -A scenario builds the add-ins it tests into its copy, opens a project and operates the IDE: it clicks, presses keys, types, and reads the add-ins' tool windows, message boxes, notifications, the code editor and the Debug Console. The eighteen lanes take about two minutes together: +A scenario builds the add-ins it tests into its copy, opens a project and operates the IDE: it clicks, presses keys, types, and reads the add-ins' tool windows, message boxes, notifications, the code editor and the Debug Console. The lanes take about two minutes together: -- **Two sample lanes** operate the IDE's own sample add-ins, Sample 10 and Sample 15 (Global Search), end to end. +- **The sample lanes** operate the IDE's own sample add-ins, Sample 10 and Sample 15 (Global Search), end to end. - **Probe lanes** take what they need from `test/addin/probes/`. They check: - which keyboard shortcuts fire, for the [KeyboardShortcuts](../../tB/Packages/tbIDE/KeyboardShortcuts) page; - what a tool window does with HTML and with a web page in an `iframe`, for the [HtmlElement](../../tB/Packages/tbIDE/HtmlElement) page and its neighbours (the panes lane serves its pages from a server of its own on `localhost`); @@ -50,7 +50,8 @@ A scenario builds the add-ins it tests into its copy, opens a project and operat - whether `TB_ADDIN_TEST` (see below) reaches the add-in, also after a compiler restart; - what the help add-in's hover help costs, and whether a hover provider added through the page shows in the IDE's own hover; - whether an add-in can show a window of its own, a form holding a WebView2 control. -- **Two help lanes** test the help add-in in `add-in/`, built with the symbol index committed in `add-in/Resources/SYMBOLS/`. `help` takes the pages from the built site. `help-offline` takes them from the add-in's own server, built with an archive of the built offline tree that the lane writes with the build's [help archive](Tools-Build#the-help-archive) writer. +- **The defect lanes** assert IDE defects that an add-in meets: what applying a panel layout does to an add-in's tool window, and what [DebugConsole.PrintText](../../tB/Packages/tbIDE/DebugConsole#printtext) does with its colour argument. +- **The help lanes** test the help add-in in `add-in/`, built with the symbol index committed in `add-in/Resources/SYMBOLS/`. `help` takes the pages from the built site. `help-offline` takes them from the add-in's own server, built with an archive of the built offline tree that the lane writes with the build's [help archive](Tools-Build#the-help-archive) writer. | Flag | Effect | |---|---| @@ -106,7 +107,7 @@ Exit codes: **0** the IDE was closed, and the registry is as it was found; **1** Takes the documentation's screenshots of the IDE, so that one run regenerates them after a new BETA. Each picture belongs to a *setup*, one IDE brought to a known state. A setup's IDE is started only when one of its pictures is selected. Run `build.bat` first: the help setup's pane pages come from the built site, `docs/_site`, served on `localhost`. -- **help** builds the help add-in in `add-in/` into a private copy of the twinBASIC install and opens the demo project `test/addin/helpdemo`. It takes the nine pictures of the [Help Add-In](../../tB/IDE/AddIns/Help) page, `docs/IDE/AddIns/Images/Help_.png`. +- **help** builds the help add-in in `add-in/` into a private copy of the twinBASIC install and opens the demo project `test/addin/helpdemo`. It takes the pictures of the [Help Add-In](../../tB/IDE/AddIns/Help) page, `docs/IDE/AddIns/Images/Help_.png`. - **no-project** starts the IDE with no project open: the menus under `docs/IDE/Menu/Images/`, and the dialogs that need no project --- New / Open Project and its tabs, the Manage Keyboard Shortcuts and Manage Panel Layouts dialogs, and the ones the FAQ shows. - **project** opens the demo project without the add-in, for the dialogs that need a project open: About, whose licence line needs the compiler, and IDE Options, whose font lists do. - **sample**, **settings** and **glyphs** open `test/shots/sample`, a small Standard EXE made for the pictures. They take the panels and the editor with a project, Project Settings (with the settings files of `test/shots/settings`), and the icons the pages show inline. diff --git a/docs/Documentation/Tools-Samples.md b/docs/Documentation/Tools-Samples.md index 7a2116b4e..35ba011b8 100644 --- a/docs/Documentation/Tools-Samples.md +++ b/docs/Documentation/Tools-Samples.md @@ -119,7 +119,7 @@ Exit codes: **0** every marked sample compiles, or none is marked (`--report` al node scripts/package_tests.mjs ( ... | --all-packages) [--arch win32|win64|both] [--timeout S] [--hang-timeout S] [--update] [--ide ] [--json] -It runs the packages named, each matched to its folder in any case (`tbregexp` is `tbRegExp`), or with `--all-packages` every package that has a test project; a whole run takes several minutes a package, so it is never the default. With neither, or with both, it refuses and lists the packages that have a test project. +It runs the packages named, each matched to its folder in any case (`tbregexp` is `tbRegExp`), or with `--all-packages` every package that has a test project but GdiPlus, which runs only when named (its known defects include cases that never return); a whole run takes several minutes a package, so it is never the default. With neither, or with both, it refuses and lists the packages that have a test project. Runs the contributed packages' test projects. Each package the reference documents under `docs/Reference/Contributed/` has one in `test/package-tests//`: `[TestCase]` Subs of `[TestFixture]` modules that check every claim the NOTEs and WARNINGs of its section make, a generated `RunAll` module, and `expect.json`. The README in that folder says how a case is written. Each case checks what is correct, so a defect of the package is a failing case, and `expect.json` records how each case fails, or that it never returns, on the version the section documents. diff --git a/docs/Documentation/Tools-Site-Checks.md b/docs/Documentation/Tools-Site-Checks.md index c0efc5f54..70a5fc81d 100644 --- a/docs/Documentation/Tools-Site-Checks.md +++ b/docs/Documentation/Tools-Site-Checks.md @@ -65,7 +65,7 @@ Exit codes: **0** every link is reachable and every anchor exists, **1** a link node scripts/check_a11y.mjs [--root-dir ] [--theme light|dark|both] [--viewport desktop|mobile|both] [--stock-axe] [--minified] -Automated accessibility scan of the built site, and the second of `check.bat`'s five steps (right after [`check_tree_fresh.mjs`](#check-tree-fresh)). It loads `axe-core` into headless Chromium (via `puppeteer`) and runs it against sixteen sample pages in both themes at two viewports, plus two state audits that open a disclosure first --- 72 audits in all. The page list is derived, and [`scripts/pick_a11y_sample.mjs`](#pick-a11y-sample) keeps it representative. +Automated accessibility scan of the built site, and the second of `check.bat`'s five steps (right after [`check_tree_fresh.mjs`](#check-tree-fresh)). It loads `axe-core` into headless Chromium (via `puppeteer`) and runs it against a sample of pages in both themes at two viewports, plus state audits that open a disclosure first. The page list is derived, and [`scripts/pick_a11y_sample.mjs`](#pick-a11y-sample) keeps it representative. This script only reports. The scan itself --- page list, themes and viewports, blocked requests, axe run options, source patches and state audits --- lives in [`scripts/lib/axe-scan.mjs`](#axe-scan), shared with `sweep_a11y.mjs` and `check_a11y_fingerprint.mjs`. Change the scan there, not here. @@ -94,7 +94,7 @@ Exit codes: **0** no page has a violation (incomplete checks are reported but do node scripts/pick_a11y_sample.mjs [--check|--propose|--census] [--fresh] -Derives the accessibility scan's page list, and checks that it still covers every construct the site uses. The scan reads sixteen pages out of ~1,160. If the list stops being representative, nothing fails: the rule for a construct no sample page carries never runs. +Derives the accessibility scan's page list, and checks that it still covers every construct the site uses. The scan reads a sample of pages out of {{tbdocs:pages}}. If the list stops being representative, nothing fails: the rule for a construct no sample page carries never runs. The script holds a list of **construct families**: markup shapes some axe rule keys on, each recording that rule. The modes: diff --git a/docs/Documentation/Tools-Toolchain-Tests.md b/docs/Documentation/Tools-Toolchain-Tests.md index 50ce048f4..e7873240b 100644 --- a/docs/Documentation/Tools-Toolchain-Tests.md +++ b/docs/Documentation/Tools-Toolchain-Tests.md @@ -23,7 +23,7 @@ The gate on the publish allowlist. Everything under `docs/` that is not a page i A clean build shows only that nothing in `docs/` is refused, which an allowlist widened until it refuses nothing would show too. So this gate asserts the other half: -- thirteen named probes must stay refused: a `.bak`, a `.pem`, a `.docx`, a `.twin`, a `secrets.json`, a `Thumbs.db`, a frontmatter-less `.md`, an extensionless `LICENSE`, a dotfile; +- named probes must stay refused: a `.bak`, a `.pem`, a `.docx`, a `.twin`, a `secrets.json`, a `Thumbs.db`, a frontmatter-less `.md`, an extensionless `LICENSE`, a dotfile; - six must keep publishing: `.png`, `.PNG`, `.woff2`, `.txt`, `.html`, `CNAME`; - `bundle_extra` exemptions stay scoped to the exact declared path, not the extension everywhere; - the [help add-in's project file](Tools-Build#the-help-add-ins-project-file) publishes from the output trees at its declared path, and a `.twinproj` nowhere else; @@ -75,7 +75,7 @@ Probes run in every pass, each a defect this repository shipped; a passing run p The admonition probes test the mirror fault, which the region comparison cannot see: **a rewrite that misreads what is code can also fail to fire on real prose**, and the regions still come back identical. `Reference/Attributes.md` shipped all six of its admonitions as the literal text `[!NOTE]` this way: a `[Description(...)]` sample held two fence markers in a twinBASIC string literal, the fence stasher closed the surrounding fence on them, and every later pairing was off by one. -Four probes hold the rewrites over every page's rendered HTML, `render.mjs`'s `applyPostRenderRewrites` and `template.mjs`'s `injectAnchorHeadings`. A `
` or `` written as raw HTML must come through as written, and a match outside it must still be rewritten.
+Probes hold the rewrites over every page's rendered HTML, `render.mjs`'s `applyPostRenderRewrites` and `template.mjs`'s `injectAnchorHeadings`. A `
` or `` written as raw HTML must come through as written, and a match outside it must still be rewritten.
 
 The gate also covers `lib/markdown.mjs` and `lib/frontmatter.mjs`, the modules that tell the tools what in a page is code and where its frontmatter ends. On every page the sweep checks that `blockRegions`, which parses blocks only, finds exactly the fences, code blocks and HTML blocks of a full parse. More probes check that:
 
@@ -387,7 +387,7 @@ Exit codes: **0** every test passed, **1** a test failed.
 
     node scripts/check_page_baseline.mjs
 
-Verifies the [page-count drift guard](Building#the-page-count-drift-guard) still refuses what it exists to refuse, and still writes only where it may. Seventeen probes run against a scratch baseline file in the system temp directory, so `builder/page-baseline.json` is never touched. No browser, no built tree, well under a second.
+Verifies the [page-count drift guard](Building#the-page-count-drift-guard) still refuses what it exists to refuse, and still writes only where it may. Its probes run against a scratch baseline file in the system temp directory, so `builder/page-baseline.json` is never touched. No browser, no built tree, well under a second.
 
 The guard says nothing on a healthy tree, so a build whose guard has stopped working sounds the same. The first probe is a whole package lost to a blanket `exclude:` rule, which a fixed floor on the page count would not notice. Two probes look redundant and are not:
 
@@ -403,11 +403,11 @@ Exit codes: **0** every probe passed, **1** a probe failed, **2** the gate could
 
     node scripts/check_book_coverage.mjs
 
-Verifies the build still warns about a page [`docs/_book.yml`](Book-Configuration#pages-left-out-of-the-book) does not mention. Twelve probes run over a manifest and pages built in memory, so nothing here reads `docs/`. No browser, no built tree, well under a second.
+Verifies the build still warns about a page [`docs/_book.yml`](Book-Configuration#pages-left-out-of-the-book) does not mention. Its probes run over a manifest and pages built in memory, so nothing here reads `docs/`. No browser, no built tree, well under a second.
 
 The warnings say nothing when every page has an entry --- in a part, or in `left_out:` with a reason --- which is all a broken check would say too. Without these probes, a whole section can drop out of the PDF unreported.
 
-Eight probes give each of the five findings a fault to report: a page with no entry, a page in the book and in `left_out:`, an entry of each kind that selects no page, and a landing or foreword URL that names none. The other four hold the opposite: a consistent manifest reports nothing, and the three pages the book carries without a selector naming them --- a chaptered part's landing, a foreword, and the book page itself --- are never reported. Dropping any one emission site from `bookCoverage()` fails most of the twelve probes, and the probe named after that site says which.
+Some probes give each kind of finding a fault to report: a page with no entry, a page in the book and in `left_out:`, an entry of each kind that selects no page, and a landing or foreword URL that names none. The others hold the opposite: a consistent manifest reports nothing, and the three pages the book carries without a selector naming them --- a chaptered part's landing, a foreword, and the book page itself --- are never reported. Dropping any one emission site from `bookCoverage()` fails most of the probes, and the probe named after that site says which.
 
 Exit codes: **0** every probe passed, **1** a probe failed, **2** the gate could not run: a refused command line, or a crash.
 
@@ -427,7 +427,7 @@ The same comment anywhere else opens a region, which `` closes: it
 
 Each item is a `Fixture.Sub` for a `[TestCase]`, `compile ` for a compile case, `probe ` for a scenario of the package's `probe/` harness, or `none -- ` for a callout no program can check; an item any page's marker may hold, such as a reproducer under `bugs/`, is [`check_callout_evidence.mjs`](#check-callout-evidence)'s to check. For a package with a test project, the gate fails when a callout has neither a marker nor a region around it, when a region is not closed or opens inside another, when an item names nothing that exists, when a case is named by no marker (a compile case of the package's `compile/` project included), when `compile/` holds a `[TestCase]`, when a `[TestCase]` does not start with `Expect.Begin` and end with `Expect.Done`, when `expect.json` is for another version than the section's `indexed_from` or names a case that does not exist, and when the generated `RunAll.twin` is out of date. A section with no test project yet is listed in the script's `PENDING` set; the gate fails on a name there with a project, and on a section neither there nor with one, so the list only shrinks.
 
-Thirteen probes run first, on pages, sources and an `expect.json` built in memory: how a marker, a region and their items are read, the RunAll module, how `expect.json` is read and written, and how a case's result is judged.
+Probes run first, on pages, sources and an `expect.json` built in memory: how a marker, a region and their items are read, the RunAll module, how `expect.json` is read and written, and how a case's result is judged.
 
 Exit codes: **0** every probe passed and every test project is in order, **1** a probe failed, or a section or test project is not in order, **2** the gate could not run: a refused command line, or a crash.
 
@@ -447,7 +447,7 @@ Besides a contributed package's own cases, an item is `bug ` for a reprodu
 
 The gate fails when a callout labelled `BETA ` outside a generated section has neither a marker nor a region around it, when an item names nothing that exists, when a `sample` names a fence that is hidden context or an id two fences share, when a page outside a contributed package's section names a package's test case, when a region outside those sections is not closed or opens inside another, when a page still has the old `` comment, and when a fence marked [`probe`](Tools-Samples#probes), which the reader never sees, is named by no marker.
 
-Fourteen probes run first, on pages, an index of what exists and tool reports built in memory: how a marker, a region, an errors section and their items are read, that a marker in a fence or in indented code is text, what an item that names nothing is, and, for `recheck_callouts.mjs`, how each tool's report is read, how a callout's verdict is taken from its items, and how its label is moved.
+Probes run first, on pages, an index of what exists and tool reports built in memory: how a marker, a region, an errors section and their items are read, that a marker in a fence or in indented code is text, what an item that names nothing is, and, for `recheck_callouts.mjs`, how each tool's report is read, how a callout's verdict is taken from its items, and how its label is moved.
 
 Exit codes: **0** every probe passed and every labelled callout and marker is in order, **1** a probe failed, or a callout or marker is not in order, **2** the gate could not run: a refused command line, or a crash.
 
@@ -458,7 +458,7 @@ Exit codes: **0** every probe passed and every labelled callout and marker is in
 
 Verifies that every reference page's Common Errors section is what [`errors.mjs write`](Tools-Defects#errors) makes of the run-time error data under `errors/`, and that the data is in order: every file reads, with no key it does not know; every error number it names has its message in `errors/messages.yml`; a row that differs from VB6 names its reproducer under `bugs/`, or says `pending`; every page it names exists, has a title and a permalink, and is named by one file only; no page under `docs/` has a section that no data file names; and the index of the numbers on the central page, [Run-time Errors](../../Reference/Run-time-Errors), is what `write` makes of the data and `errors/messages.yml`. It reads only the sources, so it needs no twinBASIC, no VB6 and no built tree. Measuring the data is `errors.mjs run`, and measuring the messages `errors.mjs messages`; neither is a gate.
 
-Twenty-eight probes run first, on data and pages built in memory: how the data and the messages are read and refused, the section with its numbers linked to the central page, its rows for one number merged into one, and its VB6 note, where a new section goes and that a marker inside a fence is not one, that writing twice changes nothing and removing a section gives the page back, the links between permalinks, the central page's index and its markers, how the probe modules and their output are read, and how the measured messages are compared with the list.
+Probes run first, on data and pages built in memory: how the data and the messages are read and refused, the section with its numbers linked to the central page, its rows for one number merged into one, and its VB6 note, where a new section goes and that a marker inside a fence is not one, that writing twice changes nothing and removing a section gives the page back, the links between permalinks, the central page's index and its markers, how the probe modules and their output are read, and how the measured messages are compared with the list.
 
 Exit codes: **0** every probe passed and every section matches its data, **1** a probe failed, or the data or a section is not in order, **2** the gate could not run: a refused command line, or a crash.
 
diff --git a/docs/Documentation/Tools.md b/docs/Documentation/Tools.md
index 4162c86e6..e2effc204 100644
--- a/docs/Documentation/Tools.md
+++ b/docs/Documentation/Tools.md
@@ -10,7 +10,7 @@ permalink: /Documentation/Development/Tools
 # Tools and Scripts
 {: .no_toc }
 
-Reference for every executable in the documentation repository. This page covers the nine Windows batch wrappers at the repository root, the conventions every command-line tool shares, and the configuration files the tools read. The tools themselves --- the Node and Python scripts under `scripts/`, the twinBASIC programs [`imagestrip`](Tools-IDE#imagestrip), [`impexp`](Tools-Compiler#impexp) and [`tbbroker`](Tools-Compiler#tbbroker), `tbdocs` and its flags, and the PDF render driver --- are on seven pages, grouped by what they work on. For the day-to-day workflow, see [Building and Deployment](Building). To modify the build pipeline, see [tbdocs Internals](Builder).
+Reference for every executable in the documentation repository. This page covers the nine Windows batch wrappers at the repository root, the conventions every command-line tool shares, and the configuration files the tools read. The tools themselves --- the Node and Python scripts under `scripts/`, the twinBASIC programs [`imagestrip`](Tools-IDE#imagestrip), [`impexp`](Tools-Compiler#impexp) and [`tbbroker`](Tools-Compiler#tbbroker), `tbdocs` and its flags, and the PDF render driver --- are on group pages, grouped by what they work on. For the day-to-day workflow, see [Building and Deployment](Building). To modify the build pipeline, see [tbdocs Internals](Builder).
 
 * TOC goes here
 {:toc}
diff --git a/docs/Documentation/index.md b/docs/Documentation/index.md
index 4653bbfa3..03a1622b2 100644
--- a/docs/Documentation/index.md
+++ b/docs/Documentation/index.md
@@ -37,7 +37,7 @@ A `build.bat` run executes `tbdocs` against a shared task graph. Workers and the
 - [Authoring Pages](Development/Authoring) --- how to write or edit a page so it matches the rest of the site: frontmatter and permalinks, heading levels, formatting, plain-English prose, attribution, and cross-section links.
 - [Building and Deployment](Development/Building) --- the day-to-day workflow for editing content: requirements, building, serving locally, link checking, Graphviz diagrams, screenshots, and the GitHub Pages deployment.
 - [Updating a Contributed Package](Development/Contributed-Packages) --- the steps that bring a contributed package's section up to a new version of the package: its snapshot, pages, samples and test cases, and the runs that check them.
-- [Tools and Scripts](Development/Tools) --- reference for every script, batch file, and CLI flag exposed by the documentation toolchain, on a landing page for the batch wrappers and seven pages of tools grouped by what they work on (intended audience: doc contributors).
+- [Tools and Scripts](Development/Tools) --- reference for every script, batch file, and CLI flag exposed by the documentation toolchain, on a landing page for the batch wrappers and pages of tools grouped by what they work on (intended audience: doc contributors).
 - [tbdocs Builder](Development/Builder) --- detailed technical documentation for the `tbdocs` static site generator that lives under [`builder/`](https://github.com/twinbasic/documentation/tree/main/builder). Read this when modifying the build pipeline itself. Sub-pages:
     - [Pipeline Stages](Development/Pipeline-Stages) --- complete interface reference: per-task signatures and per-module export tables, plus the scheduler-level concepts (flag bits, task lifecycle, SAB layout).
     - [Book Configuration](Development/Book-Configuration) --- `_book.yml` key reference for the PDF chapter manifest.
diff --git a/docs/IDE/Images/ProjectSettings_VersionInfo.light.png b/docs/IDE/Images/ProjectSettings_VersionInfo.light.png
new file mode 100644
index 000000000..cd40f9372
Binary files /dev/null and b/docs/IDE/Images/ProjectSettings_VersionInfo.light.png differ
diff --git a/docs/IDE/Images/ProjectSettings_VersionInfo.light.svg b/docs/IDE/Images/ProjectSettings_VersionInfo.light.svg
new file mode 100644
index 000000000..6c72801b0
--- /dev/null
+++ b/docs/IDE/Images/ProjectSettings_VersionInfo.light.svg
@@ -0,0 +1 @@
+win32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingVersion InfoMajorMinorBuildRevisionProduct NameCompany NameFile DescriptionLegal CopyrightLegal TrademarksCommentsAuto-Increment▲▼2▲▼4▲▼17▲▼0Stock CounterExample SoftwareCounts the stock of a small shopCopyright 2026 Example Software(unset)Built with twinBASICDefault: None(Filter)74611635654143222122The major version number associated with the build.The minor version number associated with the build.The build version number associated with the build.The revision version number associated with the build.The ProductName text that will be included in the generated VERSIONINFO resource for this file.The CompanyName text that will be included in the generated VERSIONINFO resource for this file.The FileDescription text that will be included in the generated VERSIONINFO resource for this file.The LegalCopyright text that will be included in the generated VERSIONINFO resource for this file.The LegalTrademarks text that will be included in the generated VERSIONINFO resource for this file.Comments that will be included in the generated VERSIONINFO resource for this file.If you want the version number to be automatically increased by 1 after a successful build, choose thepart of the build number to be increased here. VB6 always uses the Revision field for the auto-increment field.
diff --git a/docs/IDE/Images/ProjectSettings_VersionInfo.png b/docs/IDE/Images/ProjectSettings_VersionInfo.png
new file mode 100644
index 000000000..a9b27270d
Binary files /dev/null and b/docs/IDE/Images/ProjectSettings_VersionInfo.png differ
diff --git a/docs/IDE/Images/ProjectSettings_VersionInfo.svg b/docs/IDE/Images/ProjectSettings_VersionInfo.svg
new file mode 100644
index 000000000..056222f2a
--- /dev/null
+++ b/docs/IDE/Images/ProjectSettings_VersionInfo.svg
@@ -0,0 +1 @@
+win32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzAzProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingVersion InfoMajorMinorBuildRevisionProduct NameCompany NameFile DescriptionLegal CopyrightLegal TrademarksCommentsAuto-Increment▲▼2▲▼4▲▼17▲▼0Stock CounterExample SoftwareCounts the stock of a small shopCopyright 2026 Example Software(unset)Built with twinBASICDefault: None(Filter)74611635654143222122The major version number associated with the build.The minor version number associated with the build.The build version number associated with the build.The revision version number associated with the build.The ProductName text that will be included in the generated VERSIONINFO resource for this file.The CompanyName text that will be included in the generated VERSIONINFO resource for this file.The FileDescription text that will be included in the generated VERSIONINFO resource for this file.The LegalCopyright text that will be included in the generated VERSIONINFO resource for this file.The LegalTrademarks text that will be included in the generated VERSIONINFO resource for this file.Comments that will be included in the generated VERSIONINFO resource for this file.If you want the version number to be automatically increased by 1 after a successful build, choose thepart of the build number to be increased here. VB6 always uses the Revision field for the auto-increment field.
diff --git a/docs/IDE/Project Settings.md b/docs/IDE/Project Settings.md
index 0da6750c6..366e1c774 100644
--- a/docs/IDE/Project Settings.md	
+++ b/docs/IDE/Project Settings.md	
@@ -257,6 +257,8 @@ When set to **Yes**, twinBASIC container windows --- forms, UserControls, Pictur
 
 The version number of the build, and the text that the build writes into the file's version resource (`VERSIONINFO`).
 
+![The Project Settings dialog on its Version Info group, for a project whose version resource is filled in: Major 2, Minor 4, Build 17 and Revision 0, each in a box with up and down buttons; Product Name Stock Counter; Company Name Example Software; File Description Counts the stock of a small shop; Legal Copyright Copyright 2026 Example Software; Legal Trademarks unset, its box reading (unset) in grey; Comments Built with twinBASIC; and Auto-Increment at Default: None. Each setting's description is under its name.](Images/ProjectSettings_VersionInfo.png){:width="1202" height="738"}
+
 #### Major/Minor/Build/Revision
 
 The four parts of the version number: *Major*, *Minor*, *Build* and *Revision*. The build writes them into the file's version resource, and [**App.Major**](../Packages/AppGlobalClassObject/_App/Major), [**App.Minor**](../Packages/AppGlobalClassObject/_App/Minor), [**App.Build**](../Packages/AppGlobalClassObject/_App/Build) and [**App.Revision**](../Packages/AppGlobalClassObject/_App/Revision) return them. When they are not set, the version is 1.0.0.0. In the `Settings` file they are `project.versionMajor`, `project.versionMinor`, `project.versionBuild` and `project.versionRevision`.
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/Build.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/Build.md
index 4b3e1b671..c5868a51b 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/Build.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/Build.md
@@ -15,7 +15,7 @@ Syntax: *object*.**Build**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-**Build** returns the fourth component of the four-part version number (*Major*.*Minor*.*Revision*.*Build*) as set in the twinBASIC project settings. Together with [**Major**](Major), [**Minor**](Minor), and [**Revision**](Revision), it allows the running code to inspect its own version at runtime.
+**Build** returns the third component of the four-part version number (*Major*.*Minor*.*Build*.*Revision*), as set in [Project Settings](../../../IDE/Project-Settings#majorminorbuildrevision). Together with [**Major**](Major), [**Minor**](Minor), and [**Revision**](Revision), it allows the running code to inspect its own version at runtime.
 
 > [!NOTE]
 >
@@ -26,7 +26,7 @@ Syntax: *object*.**Build**
 This example prints the full version string to the debug console.
 
 ```tb check_build
-Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Revision & "." & App.Build
+Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Build & "." & App.Revision
 ```
 
 ### See Also
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/Comments.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/Comments.md
index 4d90216d7..0b1448174 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/Comments.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/Comments.md
@@ -15,7 +15,7 @@ Syntax: *object*.**Comments**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-**Comments** returns the text entered in the **Comments** field of the project's version information. This field is embedded in the compiled executable's `VS_VERSION_INFO` resource and is typically used to record build notes or other free-form text about the release. When running inside the twinBASIC IDE, the value is read from the current project settings.
+**Comments** returns the text entered in the **Comments** field of the project's version information, in [Project Settings](../../../IDE/Project-Settings#comments). This field is embedded in the compiled executable's `VS_VERSION_INFO` resource and is typically used to record build notes or other free-form text about the release. When running inside the twinBASIC IDE, the value is read from the current project settings.
 
 ### Example
 
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/CompanyName.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/CompanyName.md
index 6ff325ce9..1d0035d3e 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/CompanyName.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/CompanyName.md
@@ -15,7 +15,7 @@ Syntax: *object*.**CompanyName**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-The value is taken from the Company Name field in the project's version information, as set in the twinBASIC project settings. When the field has not been filled in, **CompanyName** returns an empty string.
+The value is taken from the **Company Name** field of the project's version information, set in [Project Settings](../../../IDE/Project-Settings#company-name). When the field has not been filled in, **CompanyName** returns an empty string.
 
 ### Example
 
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/FileDescription.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/FileDescription.md
index cd48d086e..1fc74d8eb 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/FileDescription.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/FileDescription.md
@@ -15,7 +15,7 @@ Syntax: *object*.**FileDescription**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-**FileDescription** returns the value set in the project's **File Description** version-info field. This is the human-readable description of the executable that appears in Windows Explorer's file properties dialog. When no description has been set in the project settings, the property returns an empty string.
+**FileDescription** returns the value set in the project's **File Description** version-info field, in [Project Settings](../../../IDE/Project-Settings#file-description). This is the human-readable description of the executable that appears in Windows Explorer's file properties dialog. When no description has been set in the project settings, the property returns an empty string.
 
 ### Example
 
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalCopyright.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalCopyright.md
index f0698469f..da88f2e47 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalCopyright.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalCopyright.md
@@ -12,7 +12,7 @@ Returns the legal copyright string from the project's version information. Read-
 
 Syntax: **App**.**LegalCopyright**
 
-Returns a **String** containing the value set in the **Legal Copyright** field of the project's **Version Information** settings. If no value has been set, returns an empty string.
+Returns a **String** containing the value set in the **Legal Copyright** field of the project's [Version Info](../../../IDE/Project-Settings#legal-copyright) settings. If no value has been set, returns an empty string.
 
 ### See Also
 
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalTrademarks.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalTrademarks.md
index 1d027d724..c1d532c2d 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalTrademarks.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/LegalTrademarks.md
@@ -15,7 +15,7 @@ Syntax: *object*.**LegalTrademarks**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-The value is taken from the **Legal Trademarks** field in the project's version information, set in the twinBASIC project settings. When no value has been specified, an empty string is returned.
+The value is taken from the **Legal Trademarks** field of the project's version information, set in [Project Settings](../../../IDE/Project-Settings#legal-trademarks). When no value has been specified, an empty string is returned.
 
 ### Example
 
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/Major.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/Major.md
index 9cfa8f129..8fc58218d 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/Major.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/Major.md
@@ -15,14 +15,14 @@ Syntax: *object*.**Major**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-**Major** returns the first component of the four-part version number (*Major*.*Minor*.*Revision*.*Build*) as set in the twinBASIC project settings. Together with [**Minor**](Minor), [**Revision**](Revision), and [**Build**](Build), it allows the running code to inspect its own version at runtime.
+**Major** returns the first component of the four-part version number (*Major*.*Minor*.*Build*.*Revision*), as set in [Project Settings](../../../IDE/Project-Settings#majorminorbuildrevision). Together with [**Minor**](Minor), [**Revision**](Revision), and [**Build**](Build), it allows the running code to inspect its own version at runtime.
 
 ### Example
 
 This example prints the full version string to the debug console.
 
 ```tb check_build
-Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Revision & "." & App.Build
+Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Build & "." & App.Revision
 ```
 
 ### See Also
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/Minor.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/Minor.md
index caf5146a6..84fade78d 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/Minor.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/Minor.md
@@ -15,14 +15,14 @@ Syntax: *object*.**Minor**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-**Minor** returns the second component of the four-part version number (*Major*.*Minor*.*Revision*.*Build*) as set in the twinBASIC project settings. Together with [**Major**](Major), [**Revision**](Revision), and [**Build**](Build), it allows the running code to inspect its own version at runtime.
+**Minor** returns the second component of the four-part version number (*Major*.*Minor*.*Build*.*Revision*), as set in [Project Settings](../../../IDE/Project-Settings#majorminorbuildrevision). Together with [**Major**](Major), [**Revision**](Revision), and [**Build**](Build), it allows the running code to inspect its own version at runtime.
 
 ### Example
 
 This example prints the full version string to the debug console.
 
 ```tb check_build
-Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Revision & "." & App.Build
+Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Build & "." & App.Revision
 ```
 
 ### See Also
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/ProductName.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/ProductName.md
index bc45350c3..91c36c633 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/ProductName.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/ProductName.md
@@ -15,7 +15,7 @@ Syntax: *object*.**ProductName**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-The value is taken from the Product Name field in the project's version information, as set in the twinBASIC project settings. When the field has not been filled in, **ProductName** returns an empty string.
+The value is taken from the **Product Name** field of the project's version information, set in [Project Settings](../../../IDE/Project-Settings#product-name). When the field is not set, a built program returns the [Application Title](../../../IDE/Project-Settings#application-title), which the build writes into the version resource in its place, and a program run in the IDE returns an empty string.
 
 ### Example
 
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/Revision.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/Revision.md
index 99c92c191..55ae3ad44 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/Revision.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/Revision.md
@@ -15,14 +15,14 @@ Syntax: *object*.**Revision**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-**Revision** returns the third component of the four-part version number (*Major*.*Minor*.*Revision*.*Build*) as set in the twinBASIC project settings. Together with [**Major**](Major), [**Minor**](Minor), and [**Build**](Build), it allows the running code to inspect its own version at runtime.
+**Revision** returns the fourth component of the four-part version number (*Major*.*Minor*.*Build*.*Revision*), as set in [Project Settings](../../../IDE/Project-Settings#majorminorbuildrevision). Together with [**Major**](Major), [**Minor**](Minor), and [**Build**](Build), it allows the running code to inspect its own version at runtime.
 
 ### Example
 
 This example prints the full version string to the debug console.
 
 ```tb check_build
-Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Revision & "." & App.Build
+Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Build & "." & App.Revision
 ```
 
 ### See Also
diff --git a/docs/Reference/Built-In/AppGlobalClassObject/_App/Title.md b/docs/Reference/Built-In/AppGlobalClassObject/_App/Title.md
index b386f2832..bc16d7b74 100644
--- a/docs/Reference/Built-In/AppGlobalClassObject/_App/Title.md
+++ b/docs/Reference/Built-In/AppGlobalClassObject/_App/Title.md
@@ -17,7 +17,7 @@ Syntax: *object*.**Title**
 *object*
 : *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.
 
-Returns the current application title as a **String**. The initial value is taken from the project settings at startup.
+Returns the current application title as a **String**. The initial value is the project's [Application Title](../../../IDE/Project-Settings#application-title) setting.
 
 ## Let
 
diff --git a/docs/Reference/Built-In/CEF/CefBrowser/Images/CefBrowser_Page.png b/docs/Reference/Built-In/CEF/CefBrowser/Images/CefBrowser_Page.png
new file mode 100644
index 000000000..292ae948c
Binary files /dev/null and b/docs/Reference/Built-In/CEF/CefBrowser/Images/CefBrowser_Page.png differ
diff --git a/docs/Reference/Built-In/CEF/CefBrowser/index.md b/docs/Reference/Built-In/CEF/CefBrowser/index.md
index ff966343c..93bc8ef32 100644
--- a/docs/Reference/Built-In/CEF/CefBrowser/index.md
+++ b/docs/Reference/Built-In/CEF/CefBrowser/index.md
@@ -10,6 +10,8 @@ has_toc: false
 
 A **CefBrowser** is a twinBASIC control that hosts the Chromium Embedded Framework --- drop one onto a [**Form**](../../VB/Form/) and Chromium renders web content inside its rectangle. Application code can navigate to URLs, run JavaScript, exchange messages with the loaded page, register virtual-host folders, and print the document to PDF.
 
+![A window titled CefBrowser Demo. Under the line A CefBrowser control on a form, showing a page, the control fills most of the form with a web page on a pale grey-blue ground: the blue heading Hello from a CefBrowser; a paragraph saying that the page is a string of HTML that the form passed to NavigateToString, with NavigateToString in a code font, and that the Chromium Embedded Framework draws it inside the control; three bullet points, Headings, lists and styles, as in a browser, JavaScript, which twinBASIC code can call, and No file and no network needed; and a pale blue box with a dark blue bar at its left, holding This line was set by the form's code, which called the page's setNote function with JsRun.](Images/CefBrowser_Page.png){:width="601" height="381"}
+
 The control spawns a separate browser process the first time it is used in a session and communicates with it across an IPC channel; many properties and methods raise *"CefBrowser control is not ready"* (run-time error 5) when called before the [**Ready**](#ready) event has fired.
 
 ```tb check_build
@@ -44,6 +46,10 @@ A **CefBrowser** control progresses through three distinct phases, each triggere
 
 Calling navigation, scripting, or setting accessors before [**Ready**](#ready) raises run-time error 5 with the message *"CefBrowser control is not ready."* Once **Ready** fires, the control auto-navigates to the [**DocumentURL**](#documenturl) field if it has a non-empty value (the design-time default is `https://www.twinbasic.com`).
 
+
+> [!WARNING] BETA 1042
+> Moving or resizing the control after it raises [**Create**](#create) and before it raises [**Ready**](#ready) --- with [**Move**](#move) in **Form_Load**, for instance --- makes the browser helper process end with an access violation. The control then raises neither **Ready** nor [**Error**](#error), and its later calls, such as [**Navigate**](#navigate), raise run-time error -2147467259, *Unspecified error*. Place and size the control in the form designer, or move it once **Ready** has been raised.
+
 The first **CefBrowser** to initialise in a process launches the shared browser helper executable; subsequent **CefBrowser** instances share that helper. Closing the last **CefBrowser** does not terminate the helper --- it lingers for the life of the host process so that a future control can attach to it without re-launching.
 
 ## Deferred startup
diff --git a/docs/Reference/Built-In/CEF/index.md b/docs/Reference/Built-In/CEF/index.md
index 2a2761eae..ab53cc97a 100644
--- a/docs/Reference/Built-In/CEF/index.md
+++ b/docs/Reference/Built-In/CEF/index.md
@@ -13,6 +13,8 @@ indexed_from: beta-x-1042
 
 The **cefPackage** wraps the [Chromium Embedded Framework](https://chromiumembedded.github.io/cef/) and exposes it as an ordinary twinBASIC control. Drop a [**CefBrowser**](CefBrowser/) onto a form and a Chromium browser renders web content inside it --- navigate to URLs, run JavaScript, print pages to PDF, and exchange messages with the loaded page.
 
+![A window titled CefBrowser Demo, with a CefBrowser control filling most of the form. The control shows a web page that the form passed to NavigateToString: a blue heading, Hello from a CefBrowser, a paragraph, three bullet points, and a pale blue box holding a line that the form's code set by calling a JavaScript function of the page with JsRun.](CefBrowser/Images/CefBrowser_Page.png){:width="601" height="381"}
+
 The package is a built-in package shipped with twinBASIC, but the CEF runtime itself is distributed *separately* --- applications must ship the matching runtime ZIP alongside the executable. See [Runtime files](#runtime-files) below.
 
 > [!IMPORTANT]
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/BorderStyle.md b/docs/Reference/Built-In/CustomControls/Enumerations/BorderStyle.md
index 5e8b7a4b3..1625fec0b 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/BorderStyle.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/BorderStyle.md
@@ -14,8 +14,12 @@ The Win32 frame style used by a [**WaynesForm**](../WaynesForm/) window. Determi
 | **tbNone**{: #tbNone } | 0 | No border at all --- the form is a borderless, captionless rectangle. |
 | **tbFixedSingle**{: #tbFixedSingle } | 1 | Thin single-line border; size is fixed at run time. |
 | **tbFixedSizable**{: #tbFixedSizable } | 2 | Standard resizable border with a normal title bar. The default for newly-constructed [**WindowsFormOptions**](../WaynesForm/WindowsFormOptions). |
-| **tbFixedDialog**{: #tbFixedDialog } | 3 | Dialog-frame border; size is fixed and the system menu offers only **Move** / **Close**. |
+| **tbFixedDialog**{: #tbFixedDialog } | 3 | Dialog-frame border; size is fixed. |
 | **tbFixedToolWindow**{: #tbFixedToolWindow } | 4 | Tool-window border with the smaller title bar; size is fixed. |
 | **tbSizableToolWindow**{: #tbSizableToolWindow } | 5 | Tool-window border with the smaller title bar; the window is resizable. |
 
-Most border styles cannot be combined with **MinimizeButton** or **MaximizeButton** --- only **tbFixedSizable** shows full sizing controls. Setting [**MinimizeButton**](../WaynesForm/WindowsFormOptions#minimizebutton) or [**MaximizeButton**](../WaynesForm/WindowsFormOptions#maximizebutton) to **True** on a window style that does not include them has no effect.
+The **Minimize** and **Maximize** buttons that [**MinimizeButton**](../WaynesForm/WindowsFormOptions#minimizebutton) and [**MaximizeButton**](../WaynesForm/WindowsFormOptions#maximizebutton) ask for are shown by **tbFixedSingle**, **tbFixedSizable** and **tbFixedDialog**. The two tool-window styles show only a **Close** button, and **tbNone** has no title bar at all.
+
+Six forms, one in each style, each with **MinimizeButton** and **MaximizeButton** set to **True**:
+
+![Six forms: tbNone with no border or title bar; tbFixedSingle, tbFixedSizable and tbFixedDialog with a title bar holding the minimize, maximize and close buttons; and tbFixedToolWindow and tbSizableToolWindow with a lower title bar holding only a close button](Images/BorderStyle.png){:width="905" height="317"}
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/CornerShape.md b/docs/Reference/Built-In/CustomControls/Enumerations/CornerShape.md
index e16f4d143..b97ad0367 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/CornerShape.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/CornerShape.md
@@ -13,7 +13,7 @@ Determines how a single corner of a control is shaped. Used by [**Corner.Shape**
 |----------|-------|-------------|
 | **tbCurve**{: #tbCurve } | 0 | Quarter-circle round corner; the radius gives the curve. |
 | **tbNotched**{: #tbNotched } | 1 | Diagonal notch across the corner; the radius gives the cut depth. |
-| **tbCutOut**{: #tbCutOut } | 2 | Inverse round-corner --- the corner area is carved *out* of the control. |
+| **tbCutOut**{: #tbCutOut } | 2 | A square cut out of the corner; the radius gives the side of the square. |
 
 [**Corners.SetAll**](../Styles/Corners#setall) applies one shape to every corner at once; setting [**TopLeft**](../Styles/Corners#topleft) / [**TopRight**](../Styles/Corners#topright) / [**BottomLeft**](../Styles/Corners#bottomleft) / [**BottomRight**](../Styles/Corners#bottomright) individually lets the shapes mix:
 
@@ -21,9 +21,13 @@ Determines how a single corner of a control is shaped. Used by [**Corner.Shape**
 With btnDemo.NormalState.Corners
     .TopLeft.Shape = tbCurve     : .TopLeft.Radius = 16     ' rounded
     .TopRight.Shape = tbNotched  : .TopRight.Radius = 16    ' diagonal cut
-    .BottomLeft.Shape = tbCutOut : .BottomLeft.Radius = 16  ' carved-out
+    .BottomLeft.Shape = tbCutOut : .BottomLeft.Radius = 16  ' square cut out
     .BottomRight.Shape = tbCurve : .BottomRight.Radius = 0  ' sharp 90°
 End With
 ```
 
 A [**Radius**](../Styles/Corners#radius) of 0 produces a sharp 90° corner regardless of [**Shape**](../Styles/Corners#shape); a radius greater than or equal to half the control's smaller dimension turns a [**tbCurve**](#tbCurve) corner into a quarter-circle that touches the centreline, which is the technique the package's `Circle` sample button uses to render a full circle from a rectangular control.
+
+Buttons with each shape on all four corners at a radius of 16 pixels, with a radius of 0, with the shapes mixed as in the sample above, and with a radius of half the button's side:
+
+![Buttons in their default blue: tbCurve with rounded corners, tbNotched with each corner cut off diagonally, tbCutOut with a square cut out of each corner, Radius 0 with square corners, Mixed with the sample's four corners, and a round button whose radius is half its side](Images/CornerShape.png){:width="601" height="265"}
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/Customtate.md b/docs/Reference/Built-In/CustomControls/Enumerations/Customtate.md
index 27e6deed8..06e3bce26 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/Customtate.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/Customtate.md
@@ -17,3 +17,5 @@ A reserved enumeration with the same three members as [**WindowState**](WindowSt
 | **tbNormal**{: #tbNormal } | 0 | Same value as [**WindowState.tbNormal**](WindowState#tbNormal). |
 | **tbMinimized**{: #tbMinimized } | 1 | Same value as [**WindowState.tbMinimized**](WindowState#tbMinimized). |
 | **tbMaximized**{: #tbMaximized } | 2 | Same value as [**WindowState.tbMaximized**](WindowState#tbMaximized). |
+
+Because the two enumerations share their member names, each name written alone is ambiguous (TB5073), even where a **WindowState** is expected: write [**WindowState**](WindowState)`.tbMaximized` and the like.
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/DockMode.md b/docs/Reference/Built-In/CustomControls/Enumerations/DockMode.md
index a127230a9..c3c5275dd 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/DockMode.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/DockMode.md
@@ -20,8 +20,8 @@ How a control is positioned relative to its container --- attached to one edge,
 
 Order matters when more than one sibling is docked inside the same container: each docked control claims its edge from whatever client area remains *after* its earlier-added siblings have claimed theirs. The control with **Dock = tbDockFill** is therefore added last so that it inherits the residual space:
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     lblHeader.Dock = tbDockTop      ' attached to the top, full width
     lblStatus.Dock = tbDockBottom   ' attached to the bottom, full width
     pnlTree.Dock   = tbDockLeft     ' attached to the left, between header and status
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/FillPattern.md b/docs/Reference/Built-In/CustomControls/Enumerations/FillPattern.md
index cbefde456..d7bdcaee4 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/FillPattern.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/FillPattern.md
@@ -7,31 +7,31 @@ permalink: /tB/Packages/CustomControls/Enumerations/FillPattern
 # FillPattern
 {: .no_toc }
 
-Identifies how the colour table held by a [**Fill**](../Styles/Fill) is applied across the area being painted. The same colour stops produce very different results depending on the pattern --- a north-to-south gradient with two stops paints a top-to-bottom transition, while a corner gradient with the same stops paints from one corner outward. Used by [**Fill.Pattern**](../Styles/Fill#pattern).
+Identifies how the colour table held by a [**Fill**](../Styles/Fill) is applied across the area being painted. The same colour stops produce very different results depending on the pattern --- a north-to-south gradient with two stops paints a top-to-bottom transition, while a corner gradient with the same stops puts the second colour in one corner and the first everywhere else. Used by [**Fill.Pattern**](../Styles/Fill#pattern).
 
 | Constant | Value | Description |
 |----------|-------|-------------|
-| **tbPatternNone**{: #tbPatternNone } | 0 | No fill --- leaves the region transparent. |
+| **tbPatternNone**{: #tbPatternNone } | 0 | No gradient --- the first colour of the table fills the whole area. |
 | **tbGradientNorthToSouth**{: #tbGradientNorthToSouth } | 1 | Linear gradient from the top edge down to the bottom edge. |
 | **tbGradientSouthToNorth**{: #tbGradientSouthToNorth } | 2 | Linear gradient from the bottom edge up to the top edge. |
 | **tbGradientWestToEast**{: #tbGradientWestToEast } | 3 | Linear gradient from the left edge across to the right edge. |
 | **tbGradientEastToWest**{: #tbGradientEastToWest } | 4 | Linear gradient from the right edge across to the left edge. |
-| **tbGradientNorthWestToSouthEast**{: #tbGradientNorthWestToSouthEast } | 5 | Linear diagonal gradient from the top-left corner to the bottom-right. |
-| **tbGradientNorthWestToSouthEastAlt**{: #tbGradientNorthWestToSouthEastAlt } | 6 | Alternate diagonal: same axis as **tbGradientNorthWestToSouthEast** but with the stops mirrored about the centre. |
-| **tbGradientNorthEastToSouthWest**{: #tbGradientNorthEastToSouthWest } | 7 | Linear diagonal gradient from the top-right corner to the bottom-left. |
-| **tbGradientNorthEastToSouthWestAlt**{: #tbGradientNorthEastToSouthWestAlt } | 8 | Alternate diagonal: same axis as **tbGradientNorthEastToSouthWest** but mirrored. |
-| **tbGradientSouthWestToNorthEast**{: #tbGradientSouthWestToNorthEast } | 9 | Linear diagonal gradient from the bottom-left corner to the top-right. |
-| **tbGradientSouthWestToNorthEastAlt**{: #tbGradientSouthWestToNorthEastAlt } | 10 | Alternate diagonal: same axis as **tbGradientSouthWestToNorthEast** but mirrored. |
-| **tbGradientSouthEastToNorthWest**{: #tbGradientSouthEastToNorthWest } | 11 | Linear diagonal gradient from the bottom-right corner to the top-left. |
-| **tbGradientSouthEastToNorthWestAlt**{: #tbGradientSouthEastToNorthWestAlt } | 12 | Alternate diagonal: same axis as **tbGradientSouthEastToNorthWest** but mirrored. |
-| **tbGradientCornerTopLeft**{: #tbGradientCornerTopLeft } | 13 | Radial-style gradient emanating from the top-left corner outward. |
-| **tbGradientCornerTopRight**{: #tbGradientCornerTopRight } | 14 | Radial-style gradient emanating from the top-right corner outward. |
-| **tbGradientCornerBottomLeft**{: #tbGradientCornerBottomLeft } | 15 | Radial-style gradient emanating from the bottom-left corner outward. |
-| **tbGradientCornerBottomRight**{: #tbGradientCornerBottomRight } | 16 | Radial-style gradient emanating from the bottom-right corner outward. |
-| **tbGradientCornerTopLeftAlt**{: #tbGradientCornerTopLeftAlt } | 17 | Alternate top-left corner gradient with the stops mirrored. |
-| **tbGradientCornerTopRightAlt**{: #tbGradientCornerTopRightAlt } | 18 | Alternate top-right corner gradient with the stops mirrored. |
-| **tbGradientCornerBottomLeftAlt**{: #tbGradientCornerBottomLeftAlt } | 19 | Alternate bottom-left corner gradient with the stops mirrored. |
-| **tbGradientCornerBottomRightAlt**{: #tbGradientCornerBottomRightAlt } | 20 | Alternate bottom-right corner gradient with the stops mirrored. |
+| **tbGradientNorthWestToSouthEast**{: #tbGradientNorthWestToSouthEast } | 5 | Diagonal gradient from the top-left corner to the bottom-right corner. The colour changes evenly across and down, so the top-right and bottom-left corners are halfway between the two colours. |
+| **tbGradientNorthWestToSouthEastAlt**{: #tbGradientNorthWestToSouthEastAlt } | 6 | Diagonal gradient from the top-left corner to the bottom-right corner, its lines of equal colour at 45 degrees: on an area wider than it is high the colour changes mostly across, and on one higher than it is wide mostly down. On a square area it is the same as **tbGradientNorthWestToSouthEast**. |
+| **tbGradientNorthEastToSouthWest**{: #tbGradientNorthEastToSouthWest } | 7 | Diagonal gradient from the top-right corner to the bottom-left corner. The colour changes evenly across and down, so the top-left and bottom-right corners are halfway between the two colours. |
+| **tbGradientNorthEastToSouthWestAlt**{: #tbGradientNorthEastToSouthWestAlt } | 8 | Diagonal gradient from the top-right corner to the bottom-left corner, its lines of equal colour at 45 degrees: on an area wider than it is high the colour changes mostly across, and on one higher than it is wide mostly down. On a square area it is the same as **tbGradientNorthEastToSouthWest**. |
+| **tbGradientSouthWestToNorthEast**{: #tbGradientSouthWestToNorthEast } | 9 | Diagonal gradient from the bottom-left corner to the top-right corner. The colour changes evenly across and down, so the top-left and bottom-right corners are halfway between the two colours. |
+| **tbGradientSouthWestToNorthEastAlt**{: #tbGradientSouthWestToNorthEastAlt } | 10 | Diagonal gradient from the bottom-left corner to the top-right corner, its lines of equal colour at 45 degrees: on an area wider than it is high the colour changes mostly across, and on one higher than it is wide mostly down. On a square area it is the same as **tbGradientSouthWestToNorthEast**. |
+| **tbGradientSouthEastToNorthWest**{: #tbGradientSouthEastToNorthWest } | 11 | Diagonal gradient from the bottom-right corner to the top-left corner. The colour changes evenly across and down, so the top-right and bottom-left corners are halfway between the two colours. |
+| **tbGradientSouthEastToNorthWestAlt**{: #tbGradientSouthEastToNorthWestAlt } | 12 | Diagonal gradient from the bottom-right corner to the top-left corner, its lines of equal colour at 45 degrees: on an area wider than it is high the colour changes mostly across, and on one higher than it is wide mostly down. On a square area it is the same as **tbGradientSouthEastToNorthWest**. |
+| **tbGradientCornerTopLeft**{: #tbGradientCornerTopLeft } | 13 | The second colour at the top-left corner, fading to the first colour toward the right and bottom edges, which are the first colour throughout. |
+| **tbGradientCornerTopRight**{: #tbGradientCornerTopRight } | 14 | The second colour at the top-right corner, fading to the first colour toward the left and bottom edges, which are the first colour throughout. |
+| **tbGradientCornerBottomLeft**{: #tbGradientCornerBottomLeft } | 15 | The second colour at the bottom-left corner, fading to the first colour toward the right and top edges, which are the first colour throughout. |
+| **tbGradientCornerBottomRight**{: #tbGradientCornerBottomRight } | 16 | The second colour at the bottom-right corner, fading to the first colour toward the left and top edges, which are the first colour throughout. |
+| **tbGradientCornerTopLeftAlt**{: #tbGradientCornerTopLeftAlt } | 17 | The second colour along the whole left edge, deepest at the top-left corner, fading quickly to the first colour, which fills the right part of the area. |
+| **tbGradientCornerTopRightAlt**{: #tbGradientCornerTopRightAlt } | 18 | The second colour along the whole right edge, deepest at the top-right corner, fading quickly to the first colour, which fills the left part of the area. |
+| **tbGradientCornerBottomLeftAlt**{: #tbGradientCornerBottomLeftAlt } | 19 | The second colour along the whole left edge, deepest at the bottom-left corner, fading quickly to the first colour, which fills the right part of the area. |
+| **tbGradientCornerBottomRightAlt**{: #tbGradientCornerBottomRightAlt } | 20 | The second colour along the whole right edge, deepest at the bottom-right corner, fading quickly to the first colour, which fills the left part of the area. |
 
 The colour table itself comes from the array of [**FillColorPoint**](../Styles/Fill#fillcolorpoint-class) values inside [**Fill.ColorPoints**](../Styles/Fill#colorpoints), interpolated to the configured [**Granularity**](../Styles/Fill#granularity).
 
@@ -51,4 +51,8 @@ pnlThree.BackgroundFill.SetSimplePattern vbWhite, &H99CCFF, _
         Pattern:=tbGradientCornerTopLeft
 ```
 
-**tbPatternNone** produces a flat region with no gradient --- the `Fill` becomes fully transparent and the area behind the control shows through.
+The first colour is where each gradient starts: at the edge or corner its name starts from, for an edge or diagonal gradient. A corner gradient is the other way round, with the second colour at the corner it names. **tbPatternNone** fills the area with the first colour alone; a [**Fill**](../Styles/Fill) with no colour stops paints nothing, and the area behind the control shows through.
+
+Each pattern painting the same two colours, a dark blue first and a pale yellow second:
+
+![Twenty-one panels painted with the same dark blue and pale yellow, one in each FillPattern and named under it: tbPatternNone solid blue; the four edge gradients; the diagonals, whose Alt forms run more across the wide panels; and the corner gradients, with the yellow in the named corner, or along the named side for the Alt forms](Images/FillPattern.png){:width="1009" height="565"}
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/FontWeight.md b/docs/Reference/Built-In/CustomControls/Enumerations/FontWeight.md
index 1764477a0..f443446e2 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/FontWeight.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/FontWeight.md
@@ -7,7 +7,11 @@ permalink: /tB/Packages/CustomControls/Enumerations/FontWeight
 # FontWeight
 {: .no_toc }
 
-The weight of a font face, on the standard 100 -- 900 scale used by OpenType's `wght` axis and by CSS's `font-weight`. Assigned to [**FontStyle.Weight**](../Styles/TextRendering#weight); availability of each weight depends on which faces are installed for the chosen font family.
+The weight of a font face, on the standard 100 -- 900 scale used by OpenType's `wght` axis and by CSS's `font-weight`. Assigned to [**FontStyle.Weight**](../Styles/TextRendering#weight). A [**FontStyle**](../Styles/TextRendering#fontstyle-class) has no font name, so the face is the package's choice.
+
+
+> [!NOTE] BETA 1042
+> The text is drawn in Segoe UI, in three weights only: 100 to 500 alike, in its regular face; 600 in Segoe UI Semibold; and 700 to 900 alike, in Segoe UI Bold. So **tbThin**, **tbExtraLight**, **tbLight** and **tbMedium** draw as **tbNormal**, and **tbExtraBold** and **tbHeavy** as **tbBold**, though Windows has Segoe UI Light and Black.
 
 | Constant | Value | Description |
 |----------|-------|-------------|
@@ -20,3 +24,9 @@ The weight of a font face, on the standard 100 -- 900 scale used by OpenType's `
 | **tbBold**{: #tbBold } | 700 | The standard bold weight. |
 | **tbExtraBold**{: #tbExtraBold } | 800 | Also known as Ultra Bold. |
 | **tbHeavy**{: #tbHeavy } | 900 | The heaviest weight. Also known as Black. |
+
+**tbNormal** is also a member of [**WindowState**](WindowState) and [**Customtate**](Customtate), so written alone it is ambiguous (TB5073), even where a **FontWeight** is expected. Qualify it with the enumeration's name:
+
+```tb check_build
+Dim weight As FontWeight = FontWeight.tbNormal
+```
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/Images/BorderStyle.png b/docs/Reference/Built-In/CustomControls/Enumerations/Images/BorderStyle.png
new file mode 100644
index 000000000..93cb36258
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Enumerations/Images/BorderStyle.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/Images/CornerShape.png b/docs/Reference/Built-In/CustomControls/Enumerations/Images/CornerShape.png
new file mode 100644
index 000000000..f7306c8e5
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Enumerations/Images/CornerShape.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/Images/FillPattern.png b/docs/Reference/Built-In/CustomControls/Enumerations/Images/FillPattern.png
new file mode 100644
index 000000000..e4de0347c
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Enumerations/Images/FillPattern.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/Images/TextAlignment.png b/docs/Reference/Built-In/CustomControls/Enumerations/Images/TextAlignment.png
new file mode 100644
index 000000000..09c310068
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Enumerations/Images/TextAlignment.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/Images/TextOverflowMode.png b/docs/Reference/Built-In/CustomControls/Enumerations/Images/TextOverflowMode.png
new file mode 100644
index 000000000..439a442d7
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Enumerations/Images/TextOverflowMode.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/TextAlignment.md b/docs/Reference/Built-In/CustomControls/Enumerations/TextAlignment.md
index 91907b1f4..7dfcdffd8 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/TextAlignment.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/TextAlignment.md
@@ -22,3 +22,5 @@ Horizontal and vertical alignment of text drawn inside a control's bounding rect
 | **tbAlignBottomRight**{: #tbAlignBottomRight } | 8 | Bottom edge, right-aligned. |
 
 The padding added around the text by [**TextRendering.Padding**](../Styles/TextRendering#padding) is applied first; the alignment then positions the text inside the padded region.
+
+![Nine labels of the same size, each with its TextAlignment value's name set at the place that value gives: along the top edge, through the middle and along the bottom edge, at the left, in the centre and at the right](Images/TextAlignment.png){:width="677" height="373"}
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/TextOverflowMode.md b/docs/Reference/Built-In/CustomControls/Enumerations/TextOverflowMode.md
index 1262bf435..e69e8a1cc 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/TextOverflowMode.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/TextOverflowMode.md
@@ -15,3 +15,7 @@ Controls how text that does not fit inside the available rectangle is truncated.
 | **tbDisallowPartialChars**{: #tbDisallowPartialChars } | 1 | Truncate at the last fully-visible character; no half-glyph at the edge. Used by [**WaynesTextBox**](../WaynesTextBox/) so the caret never falls between glyphs of a surrogate pair. |
 | **tbAppendEllipsis**{: #tbAppendEllipsis } | 2 | Truncate at the last fully-visible character and append `…` if any characters were dropped. The default for newly-constructed [**TextRendering**](../Styles/TextRendering) objects. |
 | **tbShrinkToFit**{: #tbShrinkToFit } | 3 | Reduce the rendered font size until the entire string fits without truncation. Used by [**WaynesTimer**](../WaynesTimer) so its design-time clock glyph scales with the control. |
+
+The same caption, too long for its label, in each mode:
+
+![Four labels of one width holding the same long caption: tbAllowPartialChars cuts the last letter in half at the edge, tbDisallowPartialChars stops at the last whole letter, tbAppendEllipsis ends the text with an ellipsis, and tbShrinkToFit draws the whole caption in a much smaller font](Images/TextOverflowMode.png){:width="469" height="273"}
diff --git a/docs/Reference/Built-In/CustomControls/Enumerations/WindowState.md b/docs/Reference/Built-In/CustomControls/Enumerations/WindowState.md
index 69adc5d29..882e55a0b 100644
--- a/docs/Reference/Built-In/CustomControls/Enumerations/WindowState.md
+++ b/docs/Reference/Built-In/CustomControls/Enumerations/WindowState.md
@@ -14,3 +14,9 @@ The window state of a [**WaynesForm**](../WaynesForm/) --- minimized, restored t
 | **tbNormal**{: #tbNormal } | 0 | The window is shown at its design-time size. The default for newly-constructed [**WindowsFormOptions**](../WaynesForm/WindowsFormOptions). |
 | **tbMinimized**{: #tbMinimized } | 1 | The window is minimized to the taskbar on first display. |
 | **tbMaximized**{: #tbMaximized } | 2 | The window is maximized to fill its monitor on first display. |
+
+The three names are also the members of [**Customtate**](Customtate), and **tbNormal** is a member of [**FontWeight**](FontWeight) as well, so each name written alone is ambiguous (TB5073), even where a **WindowState** is expected. Qualify it with the enumeration's name:
+
+```tb check_build
+Dim state As WindowState = WindowState.tbMaximized
+```
diff --git a/docs/Reference/Built-In/CustomControls/Framework/CustomControlsCollection.md b/docs/Reference/Built-In/CustomControls/Framework/CustomControlsCollection.md
index afb390430..e3c740a0c 100644
--- a/docs/Reference/Built-In/CustomControls/Framework/CustomControlsCollection.md
+++ b/docs/Reference/Built-In/CustomControls/Framework/CustomControlsCollection.md
@@ -18,6 +18,10 @@ For Each ctl In MyForm.Controls
 Next
 ```
 
+
+> [!NOTE] BETA 1042
+> A form's [**Controls**](../WaynesForm/#controls) is **Nothing** whenever code can read it, so the loop above, and any member of this page called through it, raises error 91, *Object variable or With block variable not set*.
+
 ## Properties
 
 ### Count
diff --git a/docs/Reference/Built-In/CustomControls/Framework/_CustomControlsCollection.md b/docs/Reference/Built-In/CustomControls/Framework/_CustomControlsCollection.md
index b32171b57..5041f18a4 100644
--- a/docs/Reference/Built-In/CustomControls/Framework/_CustomControlsCollection.md
+++ b/docs/Reference/Built-In/CustomControls/Framework/_CustomControlsCollection.md
@@ -73,6 +73,10 @@ For Each ctl In MyForm.Controls
 Next
 ```
 
+
+> [!NOTE] BETA 1042
+> A form's [**Controls**](../WaynesForm/#controls) is **Nothing** whenever code can read it, so this loop raises error 91, *Object variable or With block variable not set*.
+
 ## See Also
 
 - [CustomControlsCollection](CustomControlsCollection) -- the CoClass whose default interface this is
diff --git a/docs/Reference/Built-In/CustomControls/Images/Overview.png b/docs/Reference/Built-In/CustomControls/Images/Overview.png
new file mode 100644
index 000000000..67a3170d2
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Images/Overview.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Styles/Borders.md b/docs/Reference/Built-In/CustomControls/Styles/Borders.md
index ac91fef14..85fd3ae0f 100644
--- a/docs/Reference/Built-In/CustomControls/Styles/Borders.md
+++ b/docs/Reference/Built-In/CustomControls/Styles/Borders.md
@@ -33,10 +33,10 @@ elems(0).StrokeSize = 4
 elems(0).Fill.ColorPoints.SetSolidColor vbBlack
 Set elems(1) = New CustomControlsPackage.Border
 elems(1).StrokeSize = 7
-elems(1).Fill.ColorPoints.SetSolidColor &H99CCFF       ' light blue band
+elems(1).Fill.ColorPoints.SetSolidColor &H99CCFF       ' light orange band
 Set elems(2) = New CustomControlsPackage.Border
 elems(2).StrokeSize = 4
-elems(2).Fill.ColorPoints.SetSolidColor &H4D7AB4       ' deeper blue
+elems(2).Fill.ColorPoints.SetSolidColor &H4D7AB4       ' brown
 btnGo.NormalState.Borders.Elements = elems
 ```
 
@@ -55,6 +55,10 @@ btnGo.NormalState.Borders.Elements = elems
 
 A single [**Border**](#border-class) can also display a gradient instead of a solid colour --- assign a multi-stop [**Fill**](Fill) to its [**Fill**](#fill) member. Set [**BlendWithBackgroundFill**](#blendwithbackgroundfill) to **True** on a translucent border to make it tint with the control's own **BackgroundFill** rather than with whatever lies under the control.
 
+A button in its default look, which has no border, and with each of the three samples above:
+
+![Four blue buttons: with no border; with a thin black border; with a thick black border; and with three borders inside each other, black outside, light orange in the middle and brown inside](Images/Borders.png){:width="733" height="197"}
+
 * TOC
 {:toc}
 
diff --git a/docs/Reference/Built-In/CustomControls/Styles/Corners.md b/docs/Reference/Built-In/CustomControls/Styles/Corners.md
index 58a07b6b1..8101f004d 100644
--- a/docs/Reference/Built-In/CustomControls/Styles/Corners.md
+++ b/docs/Reference/Built-In/CustomControls/Styles/Corners.md
@@ -31,6 +31,8 @@ End With
 
 A circular control is just a square one with all four corners set to [**tbCurve**](../Enumerations/CornerShape#tbCurve) and a radius greater than or equal to half the control's smaller dimension --- that is what the `Circle` button in the package's sample forms uses.
 
+![Buttons in their default blue: tbCurve with rounded corners, tbNotched with each corner cut off diagonally, tbCutOut with a square cut out of each corner, Radius 0 with square corners, Mixed with a different corner on each side, and a round button whose radius is half its side](../Enumerations/Images/CornerShape.png){:width="601" height="265"}
+
 * TOC
 {:toc}
 
@@ -85,7 +87,7 @@ A single corner of a [**Corners**](#) object. Has a [**Shape**](#shape) (curve,
 ### Radius
 {: .no_toc }
 
-The corner's radius in pixels. The interpretation depends on [**Shape**](#shape): for **tbCurve** it is the radius of the quarter-circle, for **tbNotched** the cut depth, and for **tbCutOut** the depth of the carved-out region. [**PixelCount**](../Enumerations/PixelCount). Default: 0 (a sharp 90° corner regardless of **Shape**).
+The corner's radius in pixels. The interpretation depends on [**Shape**](#shape): for **tbCurve** it is the radius of the quarter-circle, for **tbNotched** the cut depth, and for **tbCutOut** the side of the square cut out. [**PixelCount**](../Enumerations/PixelCount). Default: 0 (a sharp 90° corner regardless of **Shape**).
 
 ### Shape
 {: .no_toc }
diff --git a/docs/Reference/Built-In/CustomControls/Styles/Fill.md b/docs/Reference/Built-In/CustomControls/Styles/Fill.md
index 6c174d3e8..85254fdf5 100644
--- a/docs/Reference/Built-In/CustomControls/Styles/Fill.md
+++ b/docs/Reference/Built-In/CustomControls/Styles/Fill.md
@@ -9,7 +9,7 @@ has_toc: false
 # Fill class
 {: .no_toc }
 
-The colour or gradient that paints a region --- background of a control, body of a border, fill of a grid line, foreground of text. A **Fill** has two parts: a [**Pattern**](#pattern) that picks the gradient direction (or `tbPatternNone` for transparent), and a [**ColorPoints**](#colorpoints) collection of one or more colour stops that supply the actual colours.
+The colour or gradient that paints a region --- background of a control, body of a border, fill of a grid line, foreground of text. A **Fill** has two parts: a [**Pattern**](#pattern) that picks the gradient direction (or `tbPatternNone` for the first colour alone), and a [**ColorPoints**](#colorpoints) collection of one or more colour stops that supply the actual colours.
 
 A single solid colour is just a one-stop fill: call [**ColorPoints.SetSolidColor**](#setsolidcolor) with a `Long` colour, or [**SetSimplePattern**](#setsimplepattern) on the parent **Fill** for a two-colour gradient.
 
@@ -54,6 +54,10 @@ End With
 > so a call passing anything other than a [**FillColorPoint**](#fillcolorpoint-class)
 > compiles and then fails at run time.
 
+The three samples above, and a two-stop fill with a [**Granularity**](#granularity) of 6 and of 2:
+
+![Six panels: solid blue from SetSolidColor; blue fading to white; light blue fading to brown between 20 and 80 per cent, solid above and below; three stops, light blue to light orange to brown; the same two-stop fill in six bands with Granularity 6, and in two halves with Granularity 2](Images/Fill.png){:width="617" height="349"}
+
 * TOC
 {:toc}
 
@@ -67,7 +71,7 @@ The [**FillColorPoints**](#fillcolorpoints-class) collection holding the gradien
 ### Pattern
 {: .no_toc }
 
-How the colours in [**ColorPoints**](#colorpoints) are mapped across the region. A member of [**FillPattern**](../Enumerations/FillPattern). Default: **tbGradientNorthToSouth**. Use **tbPatternNone** to make the **Fill** transparent.
+How the colours in [**ColorPoints**](#colorpoints) are mapped across the region. A member of [**FillPattern**](../Enumerations/FillPattern). Default: **tbGradientNorthToSouth**. **tbPatternNone** fills the region with the first colour alone. A **Fill** with no colour stops --- a new one, such as a [**WaynesLabel**](../WaynesLabel)'s **BackgroundFill** until it is given a colour --- paints nothing, and what is behind the region shows through.
 
 ## Methods
 
diff --git a/docs/Reference/Built-In/CustomControls/Styles/Images/Borders.png b/docs/Reference/Built-In/CustomControls/Styles/Images/Borders.png
new file mode 100644
index 000000000..e0b72cdf1
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Styles/Images/Borders.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Styles/Images/Fill.png b/docs/Reference/Built-In/CustomControls/Styles/Images/Fill.png
new file mode 100644
index 000000000..21b418490
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Styles/Images/Fill.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Styles/Images/TextRendering.png b/docs/Reference/Built-In/CustomControls/Styles/Images/TextRendering.png
new file mode 100644
index 000000000..23a7bcbd8
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/Styles/Images/TextRendering.png differ
diff --git a/docs/Reference/Built-In/CustomControls/Styles/TextRendering.md b/docs/Reference/Built-In/CustomControls/Styles/TextRendering.md
index ae80b5b1b..b99deba6f 100644
--- a/docs/Reference/Built-In/CustomControls/Styles/TextRendering.md
+++ b/docs/Reference/Built-In/CustomControls/Styles/TextRendering.md
@@ -52,6 +52,10 @@ End With
 
 Setting [**OverflowMode**](#overflowmode) to **tbShrinkToFit** scales the glyphs down rather than truncating with an ellipsis when the text is too long for the available width --- useful on fixed-width labels whose caption is set at runtime from data of unpredictable length.
 
+The two samples above, the label given a dark **BackgroundFill** for its white text:
+
+![A label reading Monthly report in large white bold letters on a dark blue fill, and a blue button whose large bold caption, Go, is drawn in a white-to-pink gradient with a black outline](Images/TextRendering.png){:width="521" height="215"}
+
 * TOC
 {:toc}
 
@@ -96,7 +100,7 @@ Raised when [**Alignment**](#alignment) or [**OverflowMode**](#overflowmode) is
 
 ## FontStyle class
 
-The font metrics that control how [**TextRendering**](#) lays out text. Accessed as [**TextRendering.Font**](#font).
+The font metrics that control how [**TextRendering**](#) lays out text. Accessed as [**TextRendering.Font**](#font). A **FontStyle** has no font name: the face is the package's choice.
 
 ### Italic
 {: .no_toc }
@@ -123,6 +127,10 @@ When **True**, an underline is drawn beneath each glyph. **Boolean**. Default: *
 
 The font weight on the OpenType `wght` scale. A member of [**FontWeight**](../Enumerations/FontWeight). Default: **tbNormal**.
 
+
+> [!NOTE] BETA 1042
+> Only three weights are drawn: 100 to 500 alike, as regular text; 600 as semibold; and 700 to 900 alike, as bold. See [**FontWeight**](../Enumerations/FontWeight).
+
 ### OnChanged
 {: .no_toc }
 
diff --git a/docs/Reference/Built-In/CustomControls/WaynesButton/Images/WaynesButton_States.png b/docs/Reference/Built-In/CustomControls/WaynesButton/Images/WaynesButton_States.png
new file mode 100644
index 000000000..13566d708
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/WaynesButton/Images/WaynesButton_States.png differ
diff --git a/docs/Reference/Built-In/CustomControls/WaynesButton/index.md b/docs/Reference/Built-In/CustomControls/WaynesButton/index.md
index 6356ee5f0..9ee1473c5 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesButton/index.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesButton/index.md
@@ -12,8 +12,8 @@ An owner-drawn push-button. Renders a configurable rectangle (with optional grad
 
 The button raises a [**Click**](#click) event when clicked, plus the standard set of mouse, focus, and keyboard events. By default the four state objects are pre-set with a solid mid-blue ([**WAYNESCOLOR_BLUE**](#) --- `&HAC7220`) background and 15-pixel curved corners.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     btnGo.Caption = "Continue"
     btnGo.NormalState.BackgroundFill.ColorPoints.SetSolidColor vbBlue
     btnGo.HoverState.BackgroundFill.SetSimplePattern vbBlue, vbWhite
@@ -41,6 +41,10 @@ The button paints in one of four states, chosen at each repaint:
 
 Each state is a [**WaynesButtonState**](WaynesButtonState) --- a small bundle of [**Corners**](../Styles/Corners), [**BackgroundFill**](../Styles/Fill), [**Borders**](../Styles/Borders), and [**TextRendering**](../Styles/TextRendering).
 
+A button in its default look in its normal state, and with its **HoverState** given a lighter fill and its **FocusedState** an orange border:
+
+![The same blue button three times: in the normal state; in the hover state, lighter blue; and in the focused state, with an orange border](Images/WaynesButton_States.png){:width="816" height="195"}
+
 ## Properties
 
 ### Anchors
diff --git a/docs/Reference/Built-In/CustomControls/WaynesForm/WindowsFormOptions.md b/docs/Reference/Built-In/CustomControls/WaynesForm/WindowsFormOptions.md
index c19b2c0de..db16aa868 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesForm/WindowsFormOptions.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesForm/WindowsFormOptions.md
@@ -11,12 +11,14 @@ has_toc: false
 
 The Win32-frame settings of a [**WaynesForm**](.) --- border style, initial window state, startup position, taskbar visibility, and the title-bar buttons. Exposed as [**WaynesForm.WindowsOptions**](.#windowsoptions); a single instance per form, created automatically.
 
-Most of the fields take effect *once*, when the form is first shown --- changing [**StartUpPosition**](#startupposition) or [**WindowState**](#windowstate) on a form that is already visible has no effect. The exception is the title-bar buttons; whether they have a visible effect depends on whether [**BorderStyle**](#borderstyle) is one of the styles that include those buttons in the first place.
+The fields are applied when the form's window is made, as the form is first shown. Whether the title-bar buttons appear also depends on whether [**BorderStyle**](#borderstyle) is one of the styles that include them.
 
 The type itself is `Private Class` --- the instance is accessed only through the form's **WindowsOptions** property, and a variable typed as **WindowsFormOptions** cannot be declared from outside the package.
 
+A form's code sets the fields in its constructor, `Sub New`; a **WaynesForm** raises no **Load** event (see [Setting up a form](.#setting-up-a-form)).
+
 ```tb check_build inherits=WaynesForm
-Private Sub Form_Load()
+Sub New()
     With Me.WindowsOptions
         .StartUpPosition = tbStartUpCenterScreen
         .BorderStyle = tbFixedDialog
@@ -26,6 +28,10 @@ Private Sub Form_Load()
 End Sub
 ```
 
+
+> [!WARNING] BETA 1042
+> The form's window is made from the values the form designer saved, and never from these fields as code has set them. A field set in code --- in `Sub New`, before the form is shown, or while it is shown --- reads back the new value, but the window's border, buttons, place, state and taskbar button stay as designed, and no error is raised. Set the fields in the form designer.
+
 ## Properties
 
 ### BorderStyle
@@ -41,12 +47,12 @@ Whether the form's title bar shows the system control box (the icon at the far l
 ### MaximizeButton
 {: .no_toc }
 
-Whether the title bar shows a **Maximize** button. **Boolean**. Default: **True**. Effective only when [**BorderStyle**](#borderstyle) is one of the resizable styles.
+Whether the title bar shows a **Maximize** button. **Boolean**. Default: **True**. Shown when [**BorderStyle**](#borderstyle) is **tbFixedSingle**, **tbFixedSizable** or **tbFixedDialog**; see [**BorderStyle**](../Enumerations/BorderStyle).
 
 ### MinimizeButton
 {: .no_toc }
 
-Whether the title bar shows a **Minimize** button. **Boolean**. Default: **True**. Effective only when [**BorderStyle**](#borderstyle) is one of the styles that supports minimizing.
+Whether the title bar shows a **Minimize** button. **Boolean**. Default: **True**. Shown when [**BorderStyle**](#borderstyle) is **tbFixedSingle**, **tbFixedSizable** or **tbFixedDialog**; see [**BorderStyle**](../Enumerations/BorderStyle).
 
 ### ShowInTaskbar
 {: .no_toc }
@@ -68,4 +74,4 @@ The window state of the form when first shown --- normal, minimized, or maximize
 ### OnChanged
 {: .no_toc }
 
-Raised whenever any of the seven fields is assigned. The parent [**WaynesForm**](.) listens for this event and (where applicable to a not-yet-shown form) re-applies the frame settings.
+Raised whenever any of the seven fields is assigned. The parent [**WaynesForm**](.) listens for this event and repaints itself.
diff --git a/docs/Reference/Built-In/CustomControls/WaynesForm/index.md b/docs/Reference/Built-In/CustomControls/WaynesForm/index.md
index 3941761db..cfb0d3004 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesForm/index.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesForm/index.md
@@ -14,8 +14,15 @@ Within the current release of the package every form created with the designer i
 
 A form has a [**Caption**](#caption) (shown in the Win32 title bar), a [**BackgroundFill**](#backgroundfill) (painted across its entire client area), and a [**WindowsOptions**](#windowsoptions) sub-object that controls the surrounding Win32 frame --- border style, window state, taskbar visibility, minimize / maximize buttons, and so on. Call [**Show**](#show) to display the form; call [**Close**](#close) to close it.
 
+* TOC
+{:toc}
+
+## Setting up a form
+
+A **WaynesForm** raises no **Load** event --- [**Click**](#click) is its only event --- so a `Form_Load` procedure in its code is never called. The code that sets the form up goes in its constructor, `Sub New`, which runs once the values saved by the form designer are loaded and before the form's window is made. The form's controls exist by then, so `Sub New` can set their properties as well as the form's own.
+
 ```tb check_build inherits=WaynesForm
-Private Sub Form_Load()
+Sub New()
     Me.Caption = "Welcome"
     Me.BackgroundFill.ColorPoints.SetSolidColor vbWhite
     With Me.WindowsOptions
@@ -26,18 +33,23 @@ Private Sub Form_Load()
 End Sub
 ```
 
-[**BackgroundFill**](#backgroundfill) is an ordinary [**Fill**](../Styles/Fill), so the form can display a gradient backdrop or a solid colour --- this is what the package's `HelloWorld` sample form uses to give itself a soft top-to-bottom wash:
+
+> [!WARNING] BETA 1042
+> The form's window is made from the values the form designer saved, and never from the form's properties as code has set them. [**Caption**](#caption), [**Width**](#width), [**Height**](#height), [**Left**](#left), [**Top**](#top) and every member of [**WindowsOptions**](#windowsoptions) set in code --- in `Sub New`, before **Show**, or while the form is shown --- read back the new value, but the title bar, the window's size and place, its border and its buttons stay as designed, and no error is raised. Set them in the form designer. [**BackgroundFill**](#backgroundfill), and the style objects of the form's controls, are drawn as code sets them. In the sample above, only the white background takes effect.
+
+
+> [!WARNING] BETA 1042
+> The form's controls, too, keep most of the place, size and visibility the form designer gave them. In `Sub New`, a control's **Left**, **Height** and **Dock** take effect, and its **Top**, **Width** and **Visible** do not; once the form is shown, none of them does, and no error is raised. See [Controls](../#controls) on the package's page.
+
+[**BackgroundFill**](#backgroundfill) is an ordinary [**Fill**](../Styles/Fill), so the form can display a gradient backdrop or a solid colour --- a soft top-to-bottom wash, for example:
 
 ```tb check_build inherits=WaynesForm
-Private Sub Form_Load()
+Sub New()
     Me.BackgroundFill.SetSimplePattern &HE5E5E5, &HF8F8F8, _
             Pattern:=tbGradientNorthToSouth
 End Sub
 ```
 
-* TOC
-{:toc}
-
 ## Modal display
 
 The current release supports modal display only. Calling [**Show**](#show) with **vbModeless** writes a debug-print message and otherwise does nothing --- call **Show vbModal** to display the form.
@@ -61,6 +73,10 @@ Syntax: *object*.**Caption** [ = *string* ]
 
 The [**CustomControlsCollection**](../Framework/CustomControlsCollection) of every control hosted on the form. Inherited from the form base. Read-only --- iterate or look up by index / name to access individual controls.
 
+
+> [!NOTE] BETA 1042
+> **Controls** is **Nothing** whenever code can read it --- in `Sub New`, before **Show** and while the form is shown --- so any use of it, such as `Me.Controls.Count`, raises error 91, *Object variable or With block variable not set*. Reach each control by its name instead (`Me.Label1`).
+
 ### FormDesignerId
 {: .no_toc }
 
diff --git a/docs/Reference/Built-In/CustomControls/WaynesFrame.md b/docs/Reference/Built-In/CustomControls/WaynesFrame.md
index b48e0dec3..de3626954 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesFrame.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesFrame.md
@@ -12,12 +12,16 @@ A rectangular container control whose entire area is painted with a configurable
 
 The default fill is a solid mid-grey ([**WAYNESCOLOR_GREY**](#) --- `&H808080`); change it by accessing the **Fill.ColorPoints** collection.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     Frame1.BackgroundFill.ColorPoints.SetSolidColor vbWhite
 End Sub
 ```
 
+
+> [!WARNING] BETA 1042
+> A frame is never drawn again once its form is shown: a property set from then on --- its [**BackgroundFill**](#backgroundfill), say --- changes the property and nothing on the screen, and no error is raised. A value set in the form's `Sub New`, as above, is drawn, because the frame has not been drawn yet. The frame never keeps the [**CustomControlContext**](Framework/CustomControlContext) it is given, which the package's other controls use to ask for a repaint. To show a changing area, use a [**WaynesLabel**](WaynesLabel) with an empty caption, whose **BackgroundFill** is drawn as it is set.
+
 Frames work well as containers for [**Dock**](Enumerations/DockMode)-positioned children. Set the frame's own **Dock** to **tbDockFill** so it claims the form's body, then dock its children to **tbDockTop** / **tbDockLeft** / **tbDockFill** / etc. --- the docking calculation traverses the container tree, so children dock to the frame's client area rather than to the form. The order in which the children are added still determines which edges they claim first.
 
 ## Properties
diff --git a/docs/Reference/Built-In/CustomControls/WaynesGrid/Images/WaynesGrid.png b/docs/Reference/Built-In/CustomControls/WaynesGrid/Images/WaynesGrid.png
new file mode 100644
index 000000000..4a640ac7f
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/WaynesGrid/Images/WaynesGrid.png differ
diff --git a/docs/Reference/Built-In/CustomControls/WaynesGrid/index.md b/docs/Reference/Built-In/CustomControls/WaynesGrid/index.md
index f1e95fa18..1ff375754 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesGrid/index.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesGrid/index.md
@@ -12,8 +12,8 @@ A tabular data display --- a grid of cells with column headers and row headers,
 
 The grid has an array of [**Column**](Column) objects giving each column its [**Caption**](Column#caption) and [**Width**](Column#width). Five distinct [**CellRenderingOptions**](CellRenderingOptions) sub-objects control the appearance of column headers, row headers, normal cells, the hovered cell, the selected cell, and full-column / full-row multi-selection.
 
-```tb check_build inherits=Form
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     Dim cols(0 To 2) As Column
     Set cols(0) = New Column
     Set cols(1) = New Column
@@ -58,6 +58,10 @@ With Grid1.SelectedCellOptions
 End With
 ```
 
+The two samples above together, with grid lines from [**VerticalLineOptions**](#verticallineoptions) and [**HorizontalLineOptions**](#horizontallineoptions), the dates from a fixed day, and the second cell of the third row selected. The selected cell's text is centred: [**SelectedCellOptions**](#selectedcelloptions) has a **TextRendering** of its own, which the sample does not align.
+
+![A grid with a grey gradient header row of ID, Name and Date in bold, grey row headers numbered from 1, white cells with left-aligned text and pale grey grid lines, and the cell Row 3 selected in pale blue with a blue border](Images/WaynesGrid.png){:width="561" height="345"}
+
 * TOC
 {:toc}
 
diff --git a/docs/Reference/Built-In/CustomControls/WaynesLabel.md b/docs/Reference/Built-In/CustomControls/WaynesLabel.md
index 4ecf6f7c5..263ca1c9a 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesLabel.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesLabel.md
@@ -10,8 +10,8 @@ has_toc: false
 
 A static text-display control. Paints a [**Caption**](#caption) string inside its rectangle using the configured [**TextRendering**](#textrendering), on top of a [**BackgroundFill**](#backgroundfill). The label has no interactive states --- appearance is the same whether the mouse is hovering over it or not.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     lblHeader.Caption = "Hello, world"
     With lblHeader.TextRendering
         .Font.Size = 14
diff --git a/docs/Reference/Built-In/CustomControls/WaynesSlider/Images/WaynesSlider.png b/docs/Reference/Built-In/CustomControls/WaynesSlider/Images/WaynesSlider.png
new file mode 100644
index 000000000..4f878f9c3
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/WaynesSlider/Images/WaynesSlider.png differ
diff --git a/docs/Reference/Built-In/CustomControls/WaynesSlider/index.md b/docs/Reference/Built-In/CustomControls/WaynesSlider/index.md
index 6a740d726..7f2966c66 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesSlider/index.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesSlider/index.md
@@ -14,8 +14,8 @@ The control paints three visual states ([**NormalState**](#normalstate), [**Hove
 
 If the control's [**Height**](#height) is greater than its [**Width**](#width) on first display, the slider defaults to [**Direction**](#direction) = **Vertical**; otherwise it defaults to **Horizontal**.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     sldVolume.MinValue = 0
     sldVolume.MaxValue = 100
     sldVolume.StepValue = 5
@@ -26,8 +26,8 @@ End Sub
 
 [**Value**](#value) is just a **Long** property --- assigning to it from outside the control moves the block and triggers a repaint. Combined with a [**WaynesTimer**](../WaynesTimer), the slider can animate itself across its range:
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     sldProgress.MinValue = 0
     sldProgress.MaxValue = 100
     sldProgress.Value = 0
@@ -44,6 +44,10 @@ Private Sub Timer1_Timer()
 End Sub
 ```
 
+Sliders in their default look, from 0 to 100 with a **Value** of 40, with each [**DisplayFormat**](#displayformat), and one whose [**Direction**](#direction) is **Vertical**:
+
+![Three horizontal sliders with a black outline and a blue block at 40 per cent of the track: the block shows 40, 40.0% and nothing; and a vertical slider whose block shows 40](Images/WaynesSlider.png){:width="641" height="245"}
+
 * TOC
 {:toc}
 
diff --git a/docs/Reference/Built-In/CustomControls/WaynesTextBox/Images/WaynesTextBox.png b/docs/Reference/Built-In/CustomControls/WaynesTextBox/Images/WaynesTextBox.png
new file mode 100644
index 000000000..dffa33035
Binary files /dev/null and b/docs/Reference/Built-In/CustomControls/WaynesTextBox/Images/WaynesTextBox.png differ
diff --git a/docs/Reference/Built-In/CustomControls/WaynesTextBox/WaynesTextBoxState.md b/docs/Reference/Built-In/CustomControls/WaynesTextBox/WaynesTextBoxState.md
index 1715766ab..07969b52e 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesTextBox/WaynesTextBoxState.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesTextBox/WaynesTextBoxState.md
@@ -52,7 +52,7 @@ The [**Fill**](../Styles/Fill) used to draw the inline squiggle decoration when
 ### DecorationINFO
 {: .no_toc }
 
-The [**Fill**](../Styles/Fill) used to draw the inline background-highlight decoration when the substring `INFO` is detected in [**Value**](.#value). Defaults to a light blue.
+The [**Fill**](../Styles/Fill) used to draw the inline background-highlight decoration when the substring `INFO` is detected in [**Value**](.#value). Defaults to amber.
 
 ### DecorationWARNING
 {: .no_toc }
diff --git a/docs/Reference/Built-In/CustomControls/WaynesTextBox/index.md b/docs/Reference/Built-In/CustomControls/WaynesTextBox/index.md
index 40aaedeb7..5622d06d6 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesTextBox/index.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesTextBox/index.md
@@ -14,8 +14,8 @@ The control paints three visual states ([**NormalState**](#normalstate), [**Hove
 
 The current text is held in [**Value**](#value). Surrogate-pair characters are handled correctly by the cursor / selection logic --- the caret never appears between the high and low halves of a pair.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     txtName.Value = ""
     txtName.NormalState.TextRendering.Padding.Left = 6
     txtName.NormalState.TextRendering.Padding.Right = 6
@@ -24,8 +24,8 @@ End Sub
 
 The three states are styled independently --- a common pattern is to give the focused state a heavier border in an accent colour and brighten its fill, so the active field stands out from its siblings:
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     With txtName.NormalState
         .BackgroundFill.ColorPoints.SetSolidColor vbWhite
         .Borders.SetSimpleBorder StrokeSize:=1, ColorRGB:=&HC0C0C0
@@ -44,6 +44,10 @@ Private Sub Form_Load()
 End Sub
 ```
 
+A box in its default look showing the three decorators, and a box styled as in the sample above, with the focus and its caret at the end of its text:
+
+![Two text boxes: the first reads An ERROR, a WARNING and some INFO, with a red squiggle under ERROR, a dark blue line under WARNING and an amber highlight behind INFO; the second, with a blue border two pixels wide, has the focus and its caret after the last letter](Images/WaynesTextBox.png){:width="561" height="195"}
+
 * TOC
 {:toc}
 
@@ -53,7 +57,7 @@ As the user types, the control automatically marks any occurrence of three liter
 
 - `ERROR` --- a red squiggle underline (colour from [**WaynesTextBoxState.DecorationERROR**](WaynesTextBoxState#decorationerror)).
 - `WARNING` --- a dark-blue 2-pixel straight underline (from [**DecorationWARNING**](WaynesTextBoxState#decorationwarning)).
-- `INFO` --- a light-blue background highlight (from [**DecorationINFO**](WaynesTextBoxState#decorationinfo)).
+- `INFO` --- an amber background highlight (from [**DecorationINFO**](WaynesTextBoxState#decorationinfo)).
 
 The colours are configurable per visual state. The substrings themselves are hard-coded into the control's paint logic in the current release.
 
diff --git a/docs/Reference/Built-In/CustomControls/WaynesTimer.md b/docs/Reference/Built-In/CustomControls/WaynesTimer.md
index c4e7308d1..392d9a8fd 100644
--- a/docs/Reference/Built-In/CustomControls/WaynesTimer.md
+++ b/docs/Reference/Built-In/CustomControls/WaynesTimer.md
@@ -12,8 +12,8 @@ A non-visual timer control. Wraps an internal [**CustomControlTimer**](Framework
 
 At design time the control paints a 🕑 clock-face glyph centred in its rectangle, on a pale grey background, scaled to fit the control. At run time the control is invisible --- its visible **Width** and **Height** are clamped to 32×32 on initialize but the control itself draws nothing.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     Timer1.Interval = 1000
     Timer1.Enabled = True
 End Sub
diff --git a/docs/Reference/Built-In/CustomControls/index.md b/docs/Reference/Built-In/CustomControls/index.md
index ce6a71aba..fe5504398 100644
--- a/docs/Reference/Built-In/CustomControls/index.md
+++ b/docs/Reference/Built-In/CustomControls/index.md
@@ -12,12 +12,14 @@ indexed_from: beta-x-1042
 
 The **CustomControls** built-in package supplies a set of fully owner-drawn controls --- buttons, a form, a frame, a grid, a label, a slider, a textbox, and a timer --- together with the framework on which they are built. Every visible pixel is rendered by the package itself rather than by Windows, so the look and feel is identical across systems and is configured entirely through a small vocabulary of style objects ([**Fill**](Styles/Fill), [**Borders**](Styles/Borders), [**Corners**](Styles/Corners), [**TextRendering**](Styles/TextRendering), …) rather than by toggling theme flags.
 
+![A form of the package holding one of each visible control in its default look: a frame with a gradient as a header with a label on it, labels, a text box, a slider, a grid of three rows with row headers, and two buttons with rounded corners](Images/Overview.png){:width="601" height="425"}
+
 The package ships as two paired components: a **CustomControls DESIGNER** library --- the framework half, source-side project `CustomControls` --- that defines the rendering surface and the interface every custom control implements; and the **Custom Controls** package --- source-side project `CustomControlsPackage` --- that supplies the eight concrete `Waynes…` controls. The two are co-versioned with twinBASIC and always ship together; both are MIT-licensed.
 
 Beyond providing ready-to-use controls, the package doubles as a worked example for authoring new custom controls. The `Waynes…` classes implement the same [**ICustomControl**](Framework/ICustomControl) interface that a hand-written control would, against the same [**CustomControlContext**](Framework/CustomControlContext) callback object and [**Canvas**](Framework/Canvas) drawing surface --- see the [Framework](Framework/) page for the host-side contract.
 
-```tb check_build
-Private Sub Form_Load()
+```tb check_build inherits=WaynesForm
+Sub New()
     btnGo.Caption = "Continue"
     btnGo.NormalState.BackgroundFill.ColorPoints.SetSolidColor vbBlue
     btnGo.NormalState.Corners.SetAll tbCurve, 12
@@ -29,6 +31,8 @@ Private Sub btnGo_Click()
 End Sub
 ```
 
+The controls are drawn on a [**WaynesForm**](WaynesForm/), the package's own form, and nowhere else: on a form of the [**VB**](../VB/) package they are created and their properties can be set, but nothing of them is drawn. A **WaynesForm** raises no **Load** event, so the code that sets up its controls goes in the form's constructor, `Sub New`, as above (see [Setting up a form](WaynesForm/#setting-up-a-form)). The samples on the controls' pages are written as a **WaynesForm**'s code in the same way.
+
 ## Controls
 
 - [WaynesButton](WaynesButton/) -- owner-drawn push-button with separate visual states for normal, hover, focused, and pressed
@@ -48,6 +52,10 @@ Every concrete control implements [**ICustomControl**](Framework/ICustomControl)
 
 These members are listed on each control's own page; their definitions are identical and are not repeated separately.
 
+
+> [!WARNING] BETA 1042
+> A control is drawn where and as the form designer placed it for most of what code sets. Set in the form's `Sub New`, **Left**, **Height** and **Dock** take effect, and **Top**, **Width** and **Visible** do not; set while the form is shown, none of them does --- the control is not moved, resized or hidden, and no error is raised. Each property reads back the value code gave it. Place and size the controls in the form designer. A control's style objects, such as its **BackgroundFill**, are drawn as code sets them.
+
 ## Style objects
 
 The visual style of every control is controlled by a few small helper classes, instantiated automatically through `Public WithEvents …` properties. They are nested arbitrarily --- a [**TextRendering**](Styles/TextRendering) contains a [**Fill**](Styles/Fill) for the text colour, which contains a `Granularity` and an array of `FillColorPoint` gradient stops; an array of [**Border**](Styles/Borders#border-class) objects describes how the outline of a control is stroked; and so on.
@@ -60,7 +68,7 @@ The visual style of every control is controlled by a few small helper classes, i
 - [Padding](Styles/Padding) -- per-side padding around text inside a [**TextRendering**](Styles/TextRendering)
 - [TextRendering](Styles/TextRendering) -- font, padding, fill, outlines, alignment, and overflow for the text drawn inside a control (including the `FontStyle` sub-object)
 
-Every style object raises an **OnChanged** event whenever one of its fields is set, and the control that hosts it requests a repaint on each change --- assigning style values at runtime triggers an immediate redraw.
+Every style object raises an **OnChanged** event whenever one of its fields is set, and the control that hosts it requests a repaint on each change --- assigning style values at runtime triggers an immediate redraw. A [**WaynesFrame**](WaynesFrame) is the exception: see the WARNING on its page.
 
 ## Framework
 
diff --git a/docs/Reference/Built-In/TwinBasicAssertions/Exact.md b/docs/Reference/Built-In/TwinBasicAssertions/Exact.md
index baa7e7841..00237d656 100644
--- a/docs/Reference/Built-In/TwinBasicAssertions/Exact.md
+++ b/docs/Reference/Built-In/TwinBasicAssertions/Exact.md
@@ -49,7 +49,7 @@ Unconditionally records a test failure.
 Syntax: **Assert.Exact.Fail** [ *Message* ]
 
 *Message*
-: *optional* A **String** describing the failure. It is not displayed: the IDE reports every failure as the run-time error **Assertion FAILED**, stopped on the line of the call.
+: *optional* A **String** describing the failure. It is not displayed: the IDE reports every failure as the run-time error **Assertion FAILED**, stopped on the line of the call, as [the tutorial's picture](../../../Tutorials/Testing-with-Assert#running-the-tests) shows.
 
 **Fail** marks code paths that should be unreachable in a passing test --- most often after a call that is expected to raise an error, in a branch that runs when the call returned normally instead.
 
diff --git a/docs/Reference/Built-In/TwinBasicAssertions/Permissive.md b/docs/Reference/Built-In/TwinBasicAssertions/Permissive.md
index 1ccab538e..7296c945c 100644
--- a/docs/Reference/Built-In/TwinBasicAssertions/Permissive.md
+++ b/docs/Reference/Built-In/TwinBasicAssertions/Permissive.md
@@ -45,7 +45,7 @@ Unconditionally records a test failure.
 Syntax: **Assert.Permissive.Fail** [ *Message* ]
 
 *Message*
-: *optional* A **String** describing the failure. It is not displayed: the IDE reports every failure as the run-time error **Assertion FAILED**, stopped on the line of the call.
+: *optional* A **String** describing the failure. It is not displayed: the IDE reports every failure as the run-time error **Assertion FAILED**, stopped on the line of the call, as [the tutorial's picture](../../../Tutorials/Testing-with-Assert#running-the-tests) shows.
 
 **Fail** marks code paths that should be unreachable in a passing test --- most often after a call that is expected to raise an error, in a branch that runs when the call returned normally instead.
 
diff --git a/docs/Reference/Built-In/TwinBasicAssertions/Strict.md b/docs/Reference/Built-In/TwinBasicAssertions/Strict.md
index 7d03ef738..59d69ecc1 100644
--- a/docs/Reference/Built-In/TwinBasicAssertions/Strict.md
+++ b/docs/Reference/Built-In/TwinBasicAssertions/Strict.md
@@ -48,7 +48,7 @@ Unconditionally records a test failure.
 Syntax: **Assert.Strict.Fail** [ *Message* ]
 
 *Message*
-: *optional* A **String** describing the failure. It is not displayed: the IDE reports every failure as the run-time error **Assertion FAILED**, stopped on the line of the call.
+: *optional* A **String** describing the failure. It is not displayed: the IDE reports every failure as the run-time error **Assertion FAILED**, stopped on the line of the call, as [the tutorial's picture](../../../Tutorials/Testing-with-Assert#running-the-tests) shows.
 
 **Fail** marks code paths that should be unreachable in a passing test --- most often after a call that is expected to raise an error, in a branch that runs when the call returned normally instead.
 
diff --git a/docs/Reference/Built-In/TwinBasicAssertions/index.md b/docs/Reference/Built-In/TwinBasicAssertions/index.md
index ec39c8cb0..ae1b68d61 100644
--- a/docs/Reference/Built-In/TwinBasicAssertions/index.md
+++ b/docs/Reference/Built-In/TwinBasicAssertions/index.md
@@ -9,7 +9,7 @@ indexed_from: beta-x-1042
 
 # Assert Package
 
-The **Assert** built-in package supplies the assertion functions used to write unit tests for twinBASIC code. Each assertion checks an expected condition. One that holds does nothing visible, so a test procedure that returns has passed. One that fails raises the run-time error **Assertion FAILED** (-353703420, `&HEAEAEA04`) at the call, and the IDE stops on that line --- even inside `On Error Resume Next`, which does not catch it. The expected value, the actual value and the optional message are not displayed, and nothing is written to the Debug Console. [Writing unit tests with Assert](../../../Tutorials/Testing-with-Assert) builds and runs a complete test project.
+The **Assert** built-in package supplies the assertion functions used to write unit tests for twinBASIC code. Each assertion checks an expected condition. One that holds does nothing visible, so a test procedure that returns has passed. One that fails raises the run-time error **Assertion FAILED** (-353703420, `&HEAEAEA04`) at the call, and the IDE stops on that line --- even inside `On Error Resume Next`, which does not catch it. The expected value, the actual value and the optional message are not displayed, and nothing is written to the Debug Console. [Writing unit tests with Assert](../../../Tutorials/Testing-with-Assert) builds and runs a complete test project, and [shows the IDE stopped](../../../Tutorials/Testing-with-Assert#running-the-tests) at a failed assertion.
 
 The package's three modules --- [**Exact**](Exact), [**Strict**](Strict), and [**Permissive**](Permissive) --- expose the same fifteen assertion functions; only the *comparison semantics* differ. Each flavour matches a different strictness level for equality evaluation.
 
diff --git a/docs/Reference/Built-In/WebView2/WebView2/Images/WebView2_Page.png b/docs/Reference/Built-In/WebView2/WebView2/Images/WebView2_Page.png
new file mode 100644
index 000000000..b771de267
Binary files /dev/null and b/docs/Reference/Built-In/WebView2/WebView2/Images/WebView2_Page.png differ
diff --git a/docs/Reference/Built-In/WebView2/WebView2/index.md b/docs/Reference/Built-In/WebView2/WebView2/index.md
index b3bc093be..8e490df2b 100644
--- a/docs/Reference/Built-In/WebView2/WebView2/index.md
+++ b/docs/Reference/Built-In/WebView2/WebView2/index.md
@@ -10,6 +10,8 @@ has_toc: false
 
 A **WebView2** is a twinBASIC control that hosts the Microsoft Edge **WebView2** runtime --- drop one onto a [**Form**](../../VB/Form/) and the running Edge engine renders web content inside its rectangle. Application code can navigate to URLs, run JavaScript, intercept HTTP requests, share BASIC objects with the page, post messages back and forth, and print the document to PDF.
 
+![A window titled WebView2 Demo. Under the line A WebView2 control on a form, showing a page, the control fills most of the form with a web page on a pale grey-blue ground: the blue heading Hello from a WebView2; a paragraph saying that the page is a string of HTML that the form passed to NavigateToString, with NavigateToString in a code font, and that the Microsoft Edge engine draws it inside the control; three bullet points, Headings, lists and styles, as in a browser, JavaScript, which twinBASIC code can call, and No file and no network needed; and a pale blue box with a dark blue bar at its left, holding This line was set by the form's code, which called the page's setNote function with JsRun.](Images/WebView2_Page.png){:width="601" height="381"}
+
 The control wraps the underlying `ICoreWebView2*` COM interfaces and exposes them as ordinary BASIC properties, methods, and events. Most of the work happens asynchronously inside the browser process --- the control raises [**Ready**](#ready) once the WebView2 environment and controller have been created, and most members raise *"WebView2 control is not ready"* (run-time error 5) if called before then.
 
 ```tb check_build
diff --git a/docs/Reference/Built-In/WebView2/index.md b/docs/Reference/Built-In/WebView2/index.md
index 14ae0de5e..b37de6300 100644
--- a/docs/Reference/Built-In/WebView2/index.md
+++ b/docs/Reference/Built-In/WebView2/index.md
@@ -12,6 +12,8 @@ indexed_from: beta-x-1042
 
 The **WebView2Package** wraps the Microsoft Edge WebView2 runtime and exposes it as an ordinary twinBASIC control. Drop a [**WebView2**](WebView2/) onto a form and the running Edge engine renders web content inside it --- navigate to URLs, run JavaScript, intercept HTTP requests, post messages between BASIC and JavaScript, and print pages to PDF.
 
+![A window titled WebView2 Demo, with a WebView2 control filling most of the form. The control shows a web page that the form passed to NavigateToString: a blue heading, Hello from a WebView2, a paragraph, three bullet points, and a pale blue box holding a line that the form's code set by calling a JavaScript function of the page with JsRun.](WebView2/Images/WebView2_Page.png){:width="601" height="381"}
+
 The package is a built-in package shipped with twinBASIC. See the [WebView2 tutorials](../../../Tutorials/WebView2/) for how to reference it in a project, and worked samples.
 
 Beyond the control itself, the package exposes a small set of wrapper objects that appear inside the control's event arguments --- the request / response pair on **WebResourceRequested**, the request-header collection on **NavigationStarting**, the environment-options object configured before **Create** --- together with the `wv2…` enumerations used to spell out option values.
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/DTPicker.md b/docs/Reference/Built-In/WinNativeCommonCtls/DTPicker.md
index 7f67f200b..fc0c91b6e 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/DTPicker.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/DTPicker.md
@@ -10,6 +10,8 @@ has_toc: false
 
 A **DTPicker** is a date / time picker control. The inline field shows the current date or time formatted per [**Format**](#format); clicking the dropdown arrow opens a [**MonthView**](MonthView)-style calendar for picking a new date, and dismissing the calendar updates [**Value**](#value).
 
+![Date pickers set to January 14, 2025, 3:45 PM: in the long date, time and custom formats, with spin buttons in place of the drop-down button, with a check box, and in the short date format with its calendar dropped down below it](Images/DTPicker.png){:width="561" height="409"}
+
 ```tb check_build
 Private Sub Form_Load()
     DTPicker1.Format = dtpShortDate
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/DTPickerFormatConstants.md b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/DTPickerFormatConstants.md
index 3398228a2..310708e32 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/DTPickerFormatConstants.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/DTPickerFormatConstants.md
@@ -19,6 +19,8 @@ When set to **dtpCustom**, the picker also reads [**DTPicker.CustomFormat**](../
 | **dtpTime**{: #dtpTime }           | 2 | Time format, e.g. *"3:45:00 PM"*.                       |
 | **dtpCustom**{: #dtpCustom }       | 3 | Custom picture string from [**CustomFormat**](../DTPicker#customformat). |
 
+![Date pickers set to January 14, 2025, 3:45 PM: in the long date, time and custom formats, with spin buttons in place of the drop-down button, with a check box, and in the short date format with its calendar dropped down below it](../Images/DTPicker.png){:width="561" height="409"}
+
 ## See Also
 
 - [DTPicker](../DTPicker) -- the consuming control
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/ImlDrawConstants.png b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/ImlDrawConstants.png
new file mode 100644
index 000000000..dceaa75dc
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/ImlDrawConstants.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeBorderStyleConstants.png b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeBorderStyleConstants.png
new file mode 100644
index 000000000..736df5d25
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeBorderStyleConstants.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeLineStyleConstants.png b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeLineStyleConstants.png
new file mode 100644
index 000000000..60ecf55dd
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeLineStyleConstants.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/ImlDrawConstants.md b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/ImlDrawConstants.md
index aa7bf1927..bd271767d 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/ImlDrawConstants.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/ImlDrawConstants.md
@@ -11,7 +11,7 @@ permalink: /tB/Packages/WinNativeCommonCtls/Enumerations/ImlDrawConstants
 Flag combinations passed to the *Style* parameter of [**ListImage.Draw**](../ImageList/ListImage#draw). Multiple flags can be **Or**-combined to compose render styles.
 
 ```tb check_build project=packages
-' Draw a small icon with the focus rectangle overlaid:
+' Draw a small icon blended a quarter with the highlight colour:
 ImageList1.ListImages("doc").Draw _
     PictureBox1.hDC, 0, 0, _
     WinNativeCommonCtls.ImlDrawTransparent Or WinNativeCommonCtls.ImlDrawFocus
@@ -36,11 +36,13 @@ End Sub
 
 | Member                    | Value | Description                                                              |
 |---------------------------|-------|--------------------------------------------------------------------------|
-| **ImlDrawNormal**{: #ImlDrawNormal }           | 1  | Render in the normal state (no overlays).                |
-| **ImlDrawTransparent**{: #ImlDrawTransparent } | 2  | Honour the image's mask / alpha --- transparent pixels stay transparent. |
-| **ImlDrawSelected**{: #ImlDrawSelected }       | 4  | Render with the selection-color overlay (typically a blue tint).        |
-| **ImlDrawFocus**{: #ImlDrawFocus }             | 8  | Render with the focus-rectangle overlay (dotted border).                |
-| **ImlDrawNoMask**{: #ImlDrawNoMask }           | 16 | Bypass the mask --- draw the entire bitmap including pixels that would normally be transparent. |
+| **ImlDrawNormal**{: #ImlDrawNormal }           | 1  | Draws the picture. Where it is transparent, the image list's [**BackColor**](../ImageList/#backcolor) shows when [**UseBackColor**](../ImageList/#usebackcolor) is **True**, and what is under it otherwise. |
+| **ImlDrawTransparent**{: #ImlDrawTransparent } | 2  | Draws the picture with its transparent pixels left out, whatever [**UseBackColor**](../ImageList/#usebackcolor) says. |
+| **ImlDrawSelected**{: #ImlDrawSelected }       | 4  | Draws the picture blended half and half with the system's highlight colour, as a selected item's picture is drawn. |
+| **ImlDrawFocus**{: #ImlDrawFocus }             | 8  | Draws the picture blended with the system's highlight colour, a quarter of it. |
+| **ImlDrawNoMask**{: #ImlDrawNoMask }           | 16 | Draws the picture without its mask: in an image list of a [**ColorDepth**](../ImageList/#colordepth) below **ColorDepth32Bit**, the pixels its mask makes transparent draw black. A **ColorDepth32Bit** picture keeps its transparency. |
+
+![A picture of an image list drawn with ListImage.Draw in each Style over a chequered ground, from a list of ColorDepth32Bit and one of ColorDepth24Bit: Normal and Transparent draw the picture alone, Selected blends it with the highlight colour and Focus a quarter as much, NoMask draws the 24-bit picture's masked pixels black, and with UseBackColor Normal fills the transparent pixels with the list's BackColor](Images/ImlDrawConstants.png){:width="885" height="213"}
 
 ## See Also
 
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeBorderStyleConstants.md b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeBorderStyleConstants.md
index cd22a51fc..7e3570367 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeBorderStyleConstants.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeBorderStyleConstants.md
@@ -17,6 +17,8 @@ The effective rendering interacts with [**Appearance**](../../VBRUN/Constants/Ap
 | **ccNone**{: #ccNone }              | 0 | No border around the control. |
 | **ccFixedSingle**{: #ccFixedSingle } | 1 | Single-pixel border.          |
 
+![Three TreeViews: with BorderStyle ccNone the tree has no border, and with ccFixedSingle it has a thin grey border, the same with Appearance vbAppear3d and vbAppearFlat under visual styles](Images/TreeBorderStyleConstants.png){:width="611" height="217"}
+
 ## See Also
 
 - [TreeView](../TreeView/) -- consumer
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeLineStyleConstants.md b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeLineStyleConstants.md
index 397fadffd..2de2f8e27 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeLineStyleConstants.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeLineStyleConstants.md
@@ -15,6 +15,8 @@ Controls whether the [**TreeView**](../TreeView/) draws tree lines from root nod
 | **tvwTreeLines**{: #tvwTreeLines } | 0 | Tree lines connect children to their parents but not root-level peers. |
 | **tvwRootLines**{: #tvwRootLines } | 1 | Tree lines connect root-level nodes to each other as well as child connections. |
 
+![Two TreeViews with lines, buttons and pictures: with tvwTreeLines the root nodes Documents and Music have no lines or buttons to their left, with tvwRootLines the lines join them and Music, collapsed, has a plus button](Images/TreeLineStyleConstants.png){:width="411" height="197"}
+
 ## See Also
 
 - [TreeView](../TreeView/) -- consumer
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeStyleConstants.md b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeStyleConstants.md
index d9f331d97..a72032d88 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeStyleConstants.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Enumerations/TreeStyleConstants.md
@@ -25,6 +25,12 @@ The composite decoding:
 | **tvwTreelinesPlusMinusText**                    | yes     | yes   | ---     | yes    |
 | **tvwTreelinesPlusMinusPictureText**             | yes     | yes   | yes   | yes    |
 
+![Eight TreeViews of the same nodes, one in each Style: the four tvwTreelines styles draw dotted lines between the nodes, the four PlusMinus styles draw a button beside each node that has children, and all eight draw the nodes' pictures](../TreeView/Images/TreeView_Styles.png){:width="811" height="369"}
+
+
+> [!NOTE] BETA 1042
+> A TreeView with an [**ImageList**](../TreeView/#imagelist) draws its nodes' pictures in every **Style**: the four styles without *Picture* in their name show them too, as the picture shows, and the nodes' text starts after them.
+
 The enum's underlying values are 0--7, matching the order in the table.
 
 | Member                                       | Value |
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/ImageList/index.md b/docs/Reference/Built-In/WinNativeCommonCtls/ImageList/index.md
index 26ee1abd0..fb723fcd4 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/ImageList/index.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/ImageList/index.md
@@ -43,6 +43,8 @@ When [**UseMaskColor**](#usemaskcolor) is **True** (the default), every bitmap a
 
 Setting [**ColorDepth**](#colordepth) to **ColorDepth32Bit** disables masking entirely --- the alpha channel is preserved directly.
 
+![A picture of an image list drawn with ListImage.Draw in each Style over a chequered ground, from a list of ColorDepth32Bit and one of ColorDepth24Bit: Normal and Transparent draw the picture alone, Selected blends it with the highlight colour and Focus a quarter as much, NoMask draws the 24-bit picture's masked pixels black, and with UseBackColor Normal fills the transparent pixels with the list's BackColor](../Enumerations/Images/ImlDrawConstants.png){:width="885" height="213"}
+
 ## Binding to consumers
 
 When an **ImageList** is bound to a [**ListView**](../ListView/) (through [**Icons**](../ListView/#icons), [**SmallIcons**](../ListView/#smallicons), or [**ColumnHeaderIcons**](../ListView/#columnheadericons)) or a [**TreeView**](../TreeView/) (through [**ImageList**](../TreeView/#imagelist)), the consuming control increments the **ImageList**'s internal bound-count. While the bound-count is non-zero, attempts to call [**ListImages.Clear**](ListImages#clear) or [**ListImages.Remove**](ListImages#remove) raise run-time error 35617 (*"ImageList cannot be modified while another control is bound to it"*). To modify the contents, first unbind by setting the consuming control's image-list property to **Nothing**.
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Images/DTPicker.png b/docs/Reference/Built-In/WinNativeCommonCtls/Images/DTPicker.png
new file mode 100644
index 000000000..30c3b9d39
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Images/DTPicker.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Images/MonthView.png b/docs/Reference/Built-In/WinNativeCommonCtls/Images/MonthView.png
new file mode 100644
index 000000000..df45d24f6
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Images/MonthView.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Images/Overview.png b/docs/Reference/Built-In/WinNativeCommonCtls/Images/Overview.png
new file mode 100644
index 000000000..5420fe3cf
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Images/Overview.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Images/ProgressBar.png b/docs/Reference/Built-In/WinNativeCommonCtls/Images/ProgressBar.png
new file mode 100644
index 000000000..099816155
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Images/ProgressBar.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Images/Slider.png b/docs/Reference/Built-In/WinNativeCommonCtls/Images/Slider.png
new file mode 100644
index 000000000..3b4a85d4c
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/Images/Slider.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/ListView/Images/ListView_Views.png b/docs/Reference/Built-In/WinNativeCommonCtls/ListView/Images/ListView_Views.png
new file mode 100644
index 000000000..6b4f05dd6
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/ListView/Images/ListView_Views.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md b/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md
index c5a19107e..89fa63d1b 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md
@@ -17,6 +17,8 @@ A **ListView** is a flexible multi-column / icon list with four distinct visual
 | **lvwList**                    | A single column of small-icon-plus-label entries, wrapped into multiple columns to fit. |
 | **lvwReport**                  | Multi-column table view with header row; columns are defined through [**ColumnHeaders**](ColumnHeaders). |
 
+![Four ListViews holding the same six files, one in each View: lvwIcon with large icons in rows, lvwSmallIcon with small icons in rows, lvwList with small icons in a column, and lvwReport with the columns Name, Type and Size, the sizes aligned right](Images/ListView_Views.png){:width="631" height="441"}
+
 The two main collections are accessed through properties: [**ListItems**](#listitems) for the rows, and [**ColumnHeaders**](#columnheaders) for the **Report**-view column headers.
 
 ```tb check_build
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/MonthView.md b/docs/Reference/Built-In/WinNativeCommonCtls/MonthView.md
index 0c26ac1a1..9b3c6d833 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/MonthView.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/MonthView.md
@@ -10,6 +10,8 @@ has_toc: false
 
 A **MonthView** is a full-month calendar grid: a visible matrix of [**MonthColumns**](#monthcolumns) × [**MonthRows**](#monthrows) month panels, navigable forwards and backwards through the month headers, with optional today indicator, week numbers, and bold-day highlighting through the [**GetDayBold**](#getdaybold) callback event. Unlike [**DTPicker**](DTPicker) --- which shows only its inline value field and pops the calendar on demand --- a **MonthView** is always visible on the form.
 
+![A MonthView showing December 2024 and January 2025 side by side with week numbers, January 14 to 17 selected, December 25, January 1 and January 20 in bold, and the line Today: 1/14/2025](Images/MonthView.png){:width="473" height="220"}
+
 ```tb hidden
 Public Function IsHoliday(ByVal D As Date) As Boolean
 End Function
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/ProgressBar.md b/docs/Reference/Built-In/WinNativeCommonCtls/ProgressBar.md
index 26aec4c25..5cd3af21c 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/ProgressBar.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/ProgressBar.md
@@ -8,7 +8,7 @@ has_toc: false
 # ProgressBar class
 {: .no_toc }
 
-A **ProgressBar** is a horizontal or vertical bar that visually represents progress through a range. Three configurable axes shape the visual: [**Scrolling**](#scrolling) (segmented / smooth / marquee), [**State**](#state) (Normal / Error / Paused, which tints the bar to match the OS theme), and [**Orientation**](#orientation) (horizontal or vertical).
+A **ProgressBar** is a horizontal or vertical bar that visually represents progress through a range. Three configurable axes shape the visual: [**Scrolling**](#scrolling) (standard / smooth / marquee), [**State**](#state) (Normal / Error / Paused, which tints the bar to match the OS theme), and [**Orientation**](#orientation) (horizontal or vertical).
 
 ```tb hidden
 Public ItemCount As Long
@@ -48,10 +48,12 @@ The control inherits the non-focusable rect-dockable members from `BaseControlNo
 
 The visual is the cartesian product of three properties:
 
-- **[Scrolling](#scrolling)** --- *Standard* (the default, animated segmented bar), *Smooth* (a continuous block --- combine with [**SmoothReverse**](#smoothreverse) to allow the bar to decrease), or *Marquee* (an indeterminate animated stripe; control with [**MarqueeAnimation**](#marqueeanimation) + [**MarqueeSpeed**](#marqueespeed)).
+- **[Scrolling](#scrolling)** --- *Standard* (the default; on Windows 10 it draws a continuous bar, as *Smooth* does, with or without visual styles), *Smooth* (a continuous block --- combine with [**SmoothReverse**](#smoothreverse) to allow the bar to decrease), or *Marquee* (an indeterminate animated stripe; control with [**MarqueeAnimation**](#marqueeanimation) + [**MarqueeSpeed**](#marqueespeed)).
 - **[State](#state)** --- *Normal* (theme-default color, typically green), *Error* (typically red), or *Paused* (typically yellow). The OS chooses the actual colors based on its current theme.
 - **[Orientation](#orientation)** --- *Horizontal* or *Vertical*.
 
+![Progress bars at 60 per cent: green for PrbStateNormal, red for PrbStateError and yellow for PrbStatePaused, PrbScrollingSmooth drawn as the normal bar is, a marquee's moving block, two bars drawn without visual styles, one of them in a ForeColor and BackColor of its own, and one with a border; and three vertical bars in the three states](Images/ProgressBar.png){:width="641" height="283"}
+
 All three can be changed at run time; the underlying Win32 styles are re-applied without recreating the window.
 
 ## Range, value, and stepping
@@ -211,7 +213,7 @@ Determines how the progress bar animates as the value changes. Declared on the *
 
 | Member                       | Value | Description                                                            |
 |------------------------------|-------|------------------------------------------------------------------------|
-| **PrbScrollingStandard**{: #PrbScrolling_PrbScrollingStandard } | 0 | Segmented bar with the classic discrete blocks animation. |
+| **PrbScrollingStandard**{: #PrbScrolling_PrbScrollingStandard } | 0 | The default. On Windows 10 it draws a continuous bar, as **PrbScrollingSmooth** does, with or without visual styles. |
 | **PrbScrollingSmooth**{: #PrbScrolling_PrbScrollingSmooth } | 1 | Continuous block with no inter-segment gaps. Pair with [**SmoothReverse**](#smoothreverse) to allow the value to decrease visibly. |
 | **PrbScrollingMarquee**{: #PrbScrolling_PrbScrollingMarquee } | 2 | Indeterminate animated stripe. Control with [**MarqueeAnimation**](#marqueeanimation) and [**MarqueeSpeed**](#marqueespeed); the actual [**Value**](#value) is irrelevant. |
 
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md b/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md
index 13378a7c6..81426e649 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md
@@ -10,6 +10,8 @@ has_toc: false
 
 A **Slider** is a trackbar control --- a horizontal or vertical channel with a draggable thumb that lets the user pick a value between [**Min**](#min) and [**Max**](#max). Optional tick marks, a floating value tip, and a highlighted selection range round out the control.
 
+![Sliders from 0 to 10 with the thumb at 4: tick marks below, above, on both sides and none, a selection range from 3 to 7 drawn in a wider channel with its ends marked under it, no thumb, and two vertical sliders with ticks on the right and on both sides](Images/Slider.png){:width="621" height="321"}
+
 ```tb check_build
 Private Sub Form_Load()
     Slider1.Min = 0
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/Images/TreeView_Styles.png b/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/Images/TreeView_Styles.png
new file mode 100644
index 000000000..b3ba5dc3a
Binary files /dev/null and b/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/Images/TreeView_Styles.png differ
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/index.md b/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/index.md
index d420f4936..07c86e071 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/index.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/TreeView/index.md
@@ -47,6 +47,12 @@ The control inherits the focusable rect-dockable members from `BaseControlFocusa
 | **tvwTreelinesPlusMinusText**                      | yes     | yes   | ---     |
 | **tvwTreelinesPlusMinusPictureText** (default)     | yes     | yes   | yes   |
 
+![Eight TreeViews of the same nodes, one in each Style: the four tvwTreelines styles draw dotted lines between the nodes, the four PlusMinus styles draw a button beside each node that has children, and all eight draw the nodes' pictures](Images/TreeView_Styles.png){:width="811" height="369"}
+
+
+> [!NOTE] BETA 1042
+> A TreeView with an [**ImageList**](#imagelist) draws its nodes' pictures in every **Style**: the four styles without *Picture* in their name show them too, as the picture shows, and the nodes' text starts after them.
+
 The values are decoded internally into the Win32 `TVS_HASBUTTONS` / `TVS_HASLINES` style bits.
 
 ## Sorting
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/index.md b/docs/Reference/Built-In/WinNativeCommonCtls/index.md
index c80ddca8e..c41fe82cb 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/index.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/index.md
@@ -12,6 +12,8 @@ indexed_from: beta-x-1042
 
 The **WinNativeCommonCtls** built-in package is a VB6-compatible replacement for **Microsoft Common Controls 6.0** (the legacy `MSCOMCTL.OCX`), reimplemented on top of the Win32 ComCtl32 controls in `COMCTL32.DLL` and `MSFTEDIT.DLL`. It ships eight controls that mirror the MSCOMCTL member names where possible, with the same property / method / event spellings VB6 developers will recognise.
 
+![A form holding seven of the package's controls: a TreeView of folders, a ListView in report view, a MonthView with four days selected and two in bold, a DTPicker, an UpDown beside a text box, a Slider and a ProgressBar](Images/Overview.png){:width="541" height="432"}
+
 The package is a built-in package shipped with twinBASIC. Add it through Project → References... (**Ctrl-T**) → the **Available Packages** tab.
 
 * TOC
diff --git a/docs/Reference/Built-In/tbIDE/Button.md b/docs/Reference/Built-In/tbIDE/Button.md
index e63010712..74fea2fb7 100644
--- a/docs/Reference/Built-In/tbIDE/Button.md
+++ b/docs/Reference/Built-In/tbIDE/Button.md
@@ -15,7 +15,7 @@ Private WithEvents RefreshButton As Button
 
 Private Sub Host_OnProjectLoaded()
     Set RefreshButton = Host.Toolbars(0).AddButton("MyAddIn.Refresh", "Refresh project", _
-                                                    LoadResData("refresh.png", "ICONS"))
+                                                            LoadResDataInternal("refresh.png", "ICONS"))
 End Sub
 
 Private Sub RefreshButton_OnClick()
@@ -23,6 +23,10 @@ Private Sub RefreshButton_OnClick()
 End Sub
 ```
 
+A button with [**IconData**](#icondata) is drawn as its icon, and one without is drawn as its [**Caption**](#caption). The two buttons of the [**Toolbar**](Toolbar) page's sample, Action 1 with an icon and Action 2 without:
+
+![The right end of the IDE's toolbar: the Preview and theme buttons, then an add-in's splitter, its Action 1 button drawn as its icon, and its Action 2 button drawn as its caption.](Images/Toolbar.png){:width="196" height="35"}
+
 * TOC
 {:toc}
 
diff --git a/docs/Reference/Built-In/tbIDE/DebugConsole.md b/docs/Reference/Built-In/tbIDE/DebugConsole.md
index ea5a471b8..c4b71da3a 100644
--- a/docs/Reference/Built-In/tbIDE/DebugConsole.md
+++ b/docs/Reference/Built-In/tbIDE/DebugConsole.md
@@ -43,13 +43,19 @@ Syntax: *debugConsole*.**PrintText** *Prompt* [, *ColorRGB* ]
 : *required* The text to print. **String**.
 
 *ColorRGB*
-: *optional* The text colour as an RGB **Long** (use the `RGB(r, g, b)` function to construct one). Default 0 --- the IDE's default DEBUG CONSOLE foreground colour.
+: *optional* The text colour as an RGB **Long** (use the `RGB(r, g, b)` function to construct one). Default 0.
 
 ```tb check_build
 Host.DebugConsole.PrintText "Operation completed"                           ' default colour
 Host.DebugConsole.PrintText "Warning: something looks off", RGB(255, 128, 0) ' orange
 ```
 
+![The DEBUG CONSOLE with the two lines Operation completed and Warning: something looks off, both drawn in the same yellow.](Images/DebugConsole_PrintText.png){:width="420" height="96"}
+
+
+> [!NOTE] BETA 1042
+> *ColorRGB* has no effect: every line an addin prints is drawn in the yellow of the IDE's own message lines, whatever the value, as the picture shows for the sample's orange line.
+
 
 > [!WARNING] BETA 1042
 > Text that an addin prints while the first project of the IDE's session loads can be erased a moment later: the IDE empties the pane a second time as the project's console options are applied. Text printed once the project has loaded stays. See the [Debug Console](../../../tB/IDE/Debugging/Debug-Console) page.
diff --git a/docs/Reference/Built-In/tbIDE/HtmlElement.md b/docs/Reference/Built-In/tbIDE/HtmlElement.md
index 2e0fa1e33..db9ba4a7f 100644
--- a/docs/Reference/Built-In/tbIDE/HtmlElement.md
+++ b/docs/Reference/Built-In/tbIDE/HtmlElement.md
@@ -22,6 +22,10 @@ End With
 
 The element's *properties* --- every CSS-style property, every DOM attribute, every custom-widget extension --- live inside the [**Properties**](#properties) bag, accessed through a dynamic resolution mechanism. See [Dynamic DOM property resolution](.#dynamic-dom-property-resolution) on the package overview for the underlying mechanism that makes `.style.textAlign = "center"` work without a statically-declared `style` member.
 
+Sample 10 builds its tool window this way: `h1` headings, an `input` box and a column of `div` elements that each set `style.backgroundImage` to a gradient, `style.border`, `style.borderRadius` and `style.padding`, and listen for `"click"` with [**AddEventListener**](#addeventlistener), so that each one works as a button.
+
+![Sample 10's tool window: the headings CURRENT PROJECT, DEBUG CONSOLE and GENERAL, each over a column of rounded blue-gradient div elements, one for each Host member the sample calls, and a text box holding 10.5 * 4.](Images/Sample10.png){:width="350" height="600"}
+
 * TOC
 {:toc}
 
diff --git a/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.light.png b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.light.png
new file mode 100644
index 000000000..3ee6c0ed7
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.light.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.light.svg b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.light.svg
new file mode 100644
index 000000000..f1a4e2932
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.light.svg
@@ -0,0 +1 @@
+DEBUG CONSOLE>16:41:58.204Operation completed16:41:58.204Warning: something looks off
diff --git a/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.png b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.png
new file mode 100644
index 000000000..ff3c6f5d4
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.svg b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.svg
new file mode 100644
index 000000000..a3cf9ebed
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/DebugConsole_PrintText.svg
@@ -0,0 +1 @@
+DEBUG CONSOLE>16:41:58.204Operation completed16:41:58.204Warning: something looks off
diff --git a/docs/Reference/Built-In/tbIDE/Images/Sample10.light.png b/docs/Reference/Built-In/tbIDE/Images/Sample10.light.png
new file mode 100644
index 000000000..5a4cb2678
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/Sample10.light.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/Sample10.light.svg b/docs/Reference/Built-In/tbIDE/Images/Sample10.light.svg
new file mode 100644
index 000000000..63a6275de
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/Sample10.light.svg
@@ -0,0 +1 @@
+0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]WaynesToolWindow Title!--- CURRENT PROJECT ---1. CurrentProject.Name (property-get)2. CurrentProject.Path (property-get)3. CurrentProject.Save()4. CurrentProject.Close()5. CurrentProject.Build()6. CurrentProject.Clean()(press enter toevaluate)--- DEBUG CONSOLE ---7. DebugConsole.PrintText8. DebugConsole.Clear9. DebugConsole.SetFocus--- GENERAL ---10. ShowNotification10.5 * 4
diff --git a/docs/Reference/Built-In/tbIDE/Images/Sample10.png b/docs/Reference/Built-In/tbIDE/Images/Sample10.png
new file mode 100644
index 000000000..f52a870de
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/Sample10.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/Sample10.svg b/docs/Reference/Built-In/tbIDE/Images/Sample10.svg
new file mode 100644
index 000000000..8e54930c3
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/Sample10.svg
@@ -0,0 +1 @@
+0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]WaynesToolWindow Title!--- CURRENT PROJECT ---1. CurrentProject.Name (property-get)2. CurrentProject.Path (property-get)3. CurrentProject.Save()4. CurrentProject.Close()5. CurrentProject.Build()6. CurrentProject.Clean()(press enter toevaluate)--- DEBUG CONSOLE ---7. DebugConsole.PrintText8. DebugConsole.Clear9. DebugConsole.SetFocus--- GENERAL ---10. ShowNotification10.5 * 4
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow.light.png b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.light.png
new file mode 100644
index 000000000..7e173dc7d
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.light.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow.light.svg b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.light.svg
new file mode 100644
index 000000000..d6d101f04
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.light.svg
@@ -0,0 +1 @@
+Hello from My AddInHello, world!
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow.png b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.png
new file mode 100644
index 000000000..b6499e397
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow.svg b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.svg
new file mode 100644
index 000000000..badbdd1a5
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/ToolWindow.svg
@@ -0,0 +1 @@
+Hello from My AddInHello, world!
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.light.png b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.light.png
new file mode 100644
index 000000000..a1e8f14c5
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.light.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.light.svg b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.light.svg
new file mode 100644
index 000000000..21c12bd9b
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.light.svg
@@ -0,0 +1 @@
+PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdHello from My AddInHello, world!PROPERTIESAz
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.png b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.png
new file mode 100644
index 000000000..b8d2ee114
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.svg b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.svg
new file mode 100644
index 000000000..9e570f7f6
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/ToolWindow_Docked.svg
@@ -0,0 +1 @@
+PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdHello from My AddInHello, world!PROPERTIESAzAz
diff --git a/docs/Reference/Built-In/tbIDE/Images/Toolbar.light.png b/docs/Reference/Built-In/tbIDE/Images/Toolbar.light.png
new file mode 100644
index 000000000..c223a69cc
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/Toolbar.light.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/Toolbar.light.svg b/docs/Reference/Built-In/tbIDE/Images/Toolbar.light.svg
new file mode 100644
index 000000000..89574ef56
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/Toolbar.light.svg
@@ -0,0 +1 @@
+PREVIEWAction 2
diff --git a/docs/Reference/Built-In/tbIDE/Images/Toolbar.png b/docs/Reference/Built-In/tbIDE/Images/Toolbar.png
new file mode 100644
index 000000000..d91f1d2f0
Binary files /dev/null and b/docs/Reference/Built-In/tbIDE/Images/Toolbar.png differ
diff --git a/docs/Reference/Built-In/tbIDE/Images/Toolbar.svg b/docs/Reference/Built-In/tbIDE/Images/Toolbar.svg
new file mode 100644
index 000000000..1022822ae
--- /dev/null
+++ b/docs/Reference/Built-In/tbIDE/Images/Toolbar.svg
@@ -0,0 +1 @@
+PREVIEWAction 2
diff --git a/docs/Reference/Built-In/tbIDE/ToolWindow.md b/docs/Reference/Built-In/tbIDE/ToolWindow.md
index 05d5b7400..6d619feb7 100644
--- a/docs/Reference/Built-In/tbIDE/ToolWindow.md
+++ b/docs/Reference/Built-In/tbIDE/ToolWindow.md
@@ -29,6 +29,14 @@ Private Sub Button1_OnClick()
 End Sub
 ```
 
+The pane first shows floating over the IDE, centred in its window, at the suggested size:
+
+![A floating tool window titled Hello from My AddIn, 400 by 300 pixels, holding the heading Hello, world!](Images/ToolWindow.png){:width="400" height="300"}
+
+The user can dock it as the IDE's own panels are docked, by dragging the grip at the left of its title bar onto the edge of a docked panel. Here it is dropped on the top edge of PROPERTIES:
+
+![The right-hand column of the IDE: PROJECT EXPLORER, then the tool window Hello from My AddIn docked under it, then the header of PROPERTIES.](Images/ToolWindow_Docked.png){:width="267" height="668"}
+
 A `WithEvents` reference receives [**OnClose**](#onclose) when the user dismisses the pane --- typically the addin uses that event to release any per-window state (timers, references to DOM elements …).
 
 * TOC
@@ -115,7 +123,7 @@ Syntax: *toolWindow*.**ApplyCss** *styles*
 
 ```tb check_build
 ' Load CSS from an embedded resource:
-Dim css As String = StrConv(LoadResData("styles.css", "STYLESHEETS"), VbStrConv.vbFromUTF8)
+Dim css As String = StrConv(LoadResDataInternal("styles.css", "STYLESHEETS"), VbStrConv.vbFromUTF8)
 myToolWindow.ApplyCss css
 ```
 
diff --git a/docs/Reference/Built-In/tbIDE/Toolbar.md b/docs/Reference/Built-In/tbIDE/Toolbar.md
index 30ede4caf..4430a617e 100644
--- a/docs/Reference/Built-In/tbIDE/Toolbar.md
+++ b/docs/Reference/Built-In/tbIDE/Toolbar.md
@@ -14,12 +14,16 @@ One IDE toolbar --- the strip of buttons that runs along the top of the IDE wind
 Private Sub Host_OnProjectLoaded()
     With Host.Toolbars(0)
         .AddSplitter
-        Set Button1 = .AddButton("MyAddInButton1", "Action 1", LoadResData("icon.png", "ICONS"))
+        Set Button1 = .AddButton("MyAddInButton1", "Action 1", LoadResDataInternal("icon.png", "ICONS"))
         Set Button2 = .AddButton("MyAddInButton2", "Action 2")
     End With
 End Sub
 ```
 
+The splitter and the two buttons follow the IDE's own buttons at the right of the toolbar: Action 1 shows its icon, and Action 2, which has none, shows its caption.
+
+![The right end of the IDE's toolbar: the Preview and theme buttons, then the add-in's splitter, the Action 1 button drawn as its icon, and the Action 2 button drawn as its caption.](Images/Toolbar.png){:width="196" height="35"}
+
 The toolbar is shared with the IDE's own commands and with every other loaded addin --- pick button IDs that uniquely identify the addin so multiple addins do not collide.
 
 * TOC
@@ -41,11 +45,11 @@ Syntax: *toolbar*.**AddButton**( *Id*, *Caption* [, *IconData* ] ) **As** [**But
 : *required* The button's label. **String**. When *IconData* is supplied, the caption appears as a tooltip only; when *IconData* is omitted, the caption is displayed inline as the button's text.
 
 *IconData*
-: *optional* The button's icon as a **Byte()** array --- typically the bytes of an embedded PNG / ICO resource loaded with `LoadResData`. **Variant**. Pass an empty / **Empty** value to omit the icon and show the caption inline.
+: *optional* The button's icon as a **Byte()** array --- typically the bytes of an embedded PNG / ICO resource loaded with `LoadResDataInternal`, as the addin samples load theirs: `LoadResData` belongs to the VB package, which an addin project does not reference. **Variant**. Pass an empty / **Empty** value to omit the icon and show the caption inline.
 
 ```tb check_build
 Dim icon() As Byte
-icon = LoadResData("button1.png", "ICONS")
+icon = LoadResDataInternal("button1.png", "ICONS")
 Set Button1 = Host.Toolbars(0).AddButton("MyAddIn.Button1", "Refresh Project", icon)
 ```
 
diff --git a/docs/Reference/Built-In/tbIDE/index.md b/docs/Reference/Built-In/tbIDE/index.md
index c033b68ea..5f9ff7694 100644
--- a/docs/Reference/Built-In/tbIDE/index.md
+++ b/docs/Reference/Built-In/tbIDE/index.md
@@ -166,7 +166,7 @@ The full per-widget properties and methods are documented by each widget's home
 
 ## Where the samples live
 
-Six worked addins ship in the twinBASIC samples folder. They are the canonical reference for "how to use the package end-to-end" and are referenced throughout the per-class pages.
+The addin samples, 10 to 16, ship in the twinBASIC samples folder. They are the canonical reference for "how to use the package end-to-end" and are referenced throughout the per-class pages.
 
 | Sample | Project | What it teaches |
 |--------|---------|-----------------|
@@ -176,3 +176,4 @@ Six worked addins ship in the twinBASIC samples folder. They are the canonical r
 | 13 | `WaynesListViewAddIn` | A `"listview"` custom-widget tool window with `ApplyCss`, double-click-to-remove behaviour, and inline-HTML `raiseEvent()` for custom event names. |
 | 14 | `WaynesVirtualListViewAddIn` | A `"virtuallistview"` with 5,000,000 rows backed by `onAsyncGetItemHTML` / `setAsyncResult` / `notifyChangedItem`. |
 | 15 | `tbGlobalSearchAddIn1` | A full-blown Global Search addin: virtual-FS traversal (**For Each** over [**Folder**](Folder)), text reading with comment-stripping ([**File.ReadText**](File#readtext)), editor navigation ([**Editors.Open**](Editors#open)), persistent options via `GetSetting` / `SaveSetting`. |
+| 16 | `WaynesWorldTodoManager` | TODO notes as inline widgets in the code editor ([**CodeEditor.AddMonacoWidget**](CodeEditor#addmonacowidget)), each at a line, made again when the active editor changes ([**Host.OnChangedActiveEditor**](Host#onchangedactiveeditor)), listed in a `"listview"` tool window, and kept in the project with [**Project.SaveMetaData**](Project#savemetadata) / [**LoadMetaData**](Project#loadmetadata). |
diff --git a/docs/Reference/Contributed.md b/docs/Reference/Contributed.md
index 2d6117748..ee5fd5603 100644
--- a/docs/Reference/Contributed.md
+++ b/docs/Reference/Contributed.md
@@ -27,4 +27,5 @@ Each package is versioned apart from twinBASIC, and its section says which versi
 - [**TwinTimerLib**](TwinTimerLib/) -- a Win32 timer class that reports the elapsed time
 - [**VBA_JSON**](VBA_JSON/) -- JSON parsing and serialization, with UTC and ISO 8601 date conversion
 - [**VBComDlg**](VBComDlg/) -- the **CommonDialog** class, for the Windows common dialogs
+- [**VBFLXGRD18**](VBFLXGRD18/) -- **VBFlexGrid**, a grid control with editing in cells, in place of the FlexGrid control of `MSFLXGRD.OCX`
 - [**xCalendar**](xCalendar/) -- a calendar control, in place of the Calendar control of `MSCAL.OCX`
\ No newline at end of file
diff --git a/docs/Reference/Contributed/AutoCompleteLib/AutoComplete.md b/docs/Reference/Contributed/AutoCompleteLib/AutoComplete.md
index d7a28a3da..6225dbd8e 100644
--- a/docs/Reference/Contributed/AutoCompleteLib/AutoComplete.md
+++ b/docs/Reference/Contributed/AutoCompleteLib/AutoComplete.md
@@ -97,6 +97,10 @@ Syntax: *object*.**Options** [ = *value* ]
 The getter returns the value that was set. The setting applies whether it is made before or after [**Init**](#init). With **AutoCompleteOptionAppend** the text of the best match is appended to what was typed and selected; with **AutoCompleteOptionNone** nothing is appended.
 
 
+A text box served by an **AutoComplete** whose [**CustomSource**](#customsource) holds `Apple`, `Apricot`, `Avocado`, `Banana`, `Blackberry`, `Blueberry` and `Cherry`, after the user has typed `Ap`, with each of the three options that complete:
+
+![Three forms, each with a text box into which Ap has been typed. With AutoCompleteOptionSuggest the box holds Ap and a list under it offers Apple and Apricot. With AutoCompleteOptionAppend the box holds Apple, with the appended ple selected, and no list. With AutoCompleteOptionSuggestAppend the box holds Apple with ple selected, and the list under it offers Apple and Apricot.](Images/Options.png){:width="1056" height="201"}
+
 ## Methods
 
 ### Disable
diff --git a/docs/Reference/Contributed/AutoCompleteLib/Images/Options.png b/docs/Reference/Contributed/AutoCompleteLib/Images/Options.png
new file mode 100644
index 000000000..5b7eb672e
Binary files /dev/null and b/docs/Reference/Contributed/AutoCompleteLib/Images/Options.png differ
diff --git a/docs/Reference/Contributed/BigNumberLib/BigNumber.md b/docs/Reference/Contributed/BigNumberLib/BigNumber.md
index a7ff84108..7fa432dd3 100644
--- a/docs/Reference/Contributed/BigNumberLib/BigNumber.md
+++ b/docs/Reference/Contributed/BigNumberLib/BigNumber.md
@@ -280,7 +280,7 @@ Syntax: *object*.**AssignAdditionModulus** *a*, *b*, *mod_c*
 *mod_c*
 : *required* A **BigNumber** holding the modulus. It should be positive.
 
-This section describes all four methods that end in **Modulus**. Each takes the remainder as [**AssignModulus**](#assignmodulus) does: for a positive modulus the result is in the range 0 up to one less than the modulus, whatever the signs of the operands. With a negative modulus the result has the sign of the modulus, except that a result of zero is the modulus itself, so `(3 + 4) Mod -7` is -7.
+This section describes the methods of modular arithmetic, whose names end in **Modulus**. Each takes the remainder as [**AssignModulus**](#assignmodulus) does: for a positive modulus the result is in the range 0 up to one less than the modulus, whatever the signs of the operands. With a negative modulus the result has the sign of the modulus, except that a result of zero is the modulus itself, so `(3 + 4) Mod -7` is -7.
 
 ```tb check_build check_run
 Dim a As New BigNumber
diff --git a/docs/Reference/Contributed/TBMANLIB/ToolsHttp.md b/docs/Reference/Contributed/TBMANLIB/ToolsHttp.md
index 7e8577b18..9904a52fb 100644
--- a/docs/Reference/Contributed/TBMANLIB/ToolsHttp.md
+++ b/docs/Reference/Contributed/TBMANLIB/ToolsHttp.md
@@ -8,7 +8,7 @@ has_toc: false
 # ToolsHttp module
 {: .no_toc }
 
-The helpers of HTTP requests: two enumerations that name the request methods and the content types, URL encoding and decoding, and functions that write and read the `name=value` text of forms and headers. [**cHttpClient**](cHttpClient) uses the enumerations and four of the functions; a program can call all of them. The module has 8 constants, 2 enumerations and 13 procedures.
+The helpers of HTTP requests: two enumerations that name the request methods and the content types, URL encoding and decoding, and functions that write and read the `name=value` text of forms and headers. [**cHttpClient**](cHttpClient) uses the enumerations and four of the functions; a program can call all of them.
 
 ```tb check_build check_run
 Dim Form As New Scripting.Dictionary
diff --git a/docs/Reference/Contributed/VBComDlg/CommonDialog.md b/docs/Reference/Contributed/VBComDlg/CommonDialog.md
index a7bebf3a1..5bfb724c4 100644
--- a/docs/Reference/Contributed/VBComDlg/CommonDialog.md
+++ b/docs/Reference/Contributed/VBComDlg/CommonDialog.md
@@ -554,6 +554,10 @@ Syntax: *object*.**ShowColor** ( ) **As Boolean**
 
 The dialog starts with the current [**Color**](#color) value when **CdlCCRGBInit** is set in [**Flags**](#flags). On **OK**, [**Color**](#color) is updated with the chosen color and [**Flags**](#flags) is updated to reflect the dialog's returned flags. On cancel with [**CancelError**](#cancelerror) **True**, error `CdlCancel` is raised.
 
+The dialog with **Color** set to `RGB(64, 128, 192)` and **Flags** set to `CdlCCRGBInit Or CdlCCPreventFullOpen` (left) and to `CdlCCRGBInit Or CdlCCFullOpen` (right):
+
+![Two Color dialogs. The left one shows the 48 basic colors and 16 custom colors, with the Define Custom Colors button disabled, and OK and Cancel. The right one shows the same, and beside them the part for defining custom colors: a spectrum with a cross at the chosen color, a luminosity bar, a swatch of the color, its Hue 140, Sat 120 and Lum 120, its Red 64, Green 128 and Blue 192, and an Add to Custom Colors button.](Images/ShowColor.png){:width="688" height="332"}
+
 ### ShowFind
 {: .no_toc }
 
@@ -567,6 +571,10 @@ The dialog is non-modal: it remains open while the user interacts with the appli
 
 If the dialog cannot be created, the method raises **CdlBufferLengthZero** (36848) when the *Find what* buffer is invalid.
 
+The Find dialog (left) and the Replace dialog that [**ShowReplace**](#showreplace) opens (right), with [**FindWhat**](#findwhat) `total`, [**ReplaceWith**](#replacewith) `sum` and **Flags** set to `CdlFRDown Or CdlFRMatchCase`:
+
+![A Find dialog with total in its Find what box, the Match whole word only box clear, the Match case box checked, Down chosen in its Direction group, and the Find Next and Cancel buttons. Beside it a Replace dialog with total in Find what, sum in Replace with, the same two check boxes, and the Find Next, Replace, Replace All and Cancel buttons.](Images/ShowFind.png){:width="718" height="182"}
+
 ### ShowFont
 {: .no_toc }
 
@@ -574,6 +582,10 @@ Displays the Font dialog and returns **True** if the user clicked **OK**.
 
 Syntax: *object*.**ShowFont** ( ) **As Boolean**
 
+The dialog with [**FontName**](#fontname) `Microsoft Sans Serif`, [**FontSize**](#fontsize) 10, [**FontBold**](#fontbold) **True**, [**Color**](#color) `RGB(0, 0, 160)` and **Flags** set to `CdlCFScreenFonts Or CdlCFEffects`:
+
+![The Font dialog with Microsoft Sans Serif selected in its list of fonts, Bold in its list of styles and 10 in its list of sizes. Below them, an Effects group with Strikeout and Underline check boxes and a Color list showing a dark blue swatch named Custom, a Sample box showing AaBbYyZz in that blue, a Script list showing Western, a Show more fonts link and the OK and Cancel buttons.](Images/ShowFont.png){:width="407" height="513"}
+
 
 The dialog is pre-loaded with the current font properties. The Windows documentation asks for **CdlCFScreenFonts**, **CdlCFPrinterFonts**, or both in [**Flags**](#flags); the dialog opens with neither.
 
@@ -595,6 +607,10 @@ On success, [**FileName**](#filename) is set to the selected path (with a traili
 
 [**Flags**](#flags) is passed to the dialog as its [**CdlBIFConstants**](Enumerations/CdlBIFConstants) options and is not updated afterwards. The [**FolderBrowserValidateFailed**](#folderbrowservalidatefailed) event fires when the user types an invalid path into the dialog's edit box.
 
+The dialog with [**RootFolder**](#rootfolder) set to the path of a folder named Projects, [**InitDir**](#initdir) to its folder Reports and [**DialogTitle**](#dialogtitle) to `Choose the folder for the reports.`, with **Flags** set to **CdlBIFReturnOnlyFSDirs** (left) and to **CdlBIFUseNewUI** (right):
+
+![Two Browse For Folder dialogs, each showing the text Choose the folder for the reports. above a tree whose root is the folder Projects, holding the folders Invoices, Reports and Templates, with Reports selected. The left one is small and has only OK and Cancel. The right one, in the new style, is larger and has a Folder box showing Reports, a Make New Folder button, OK and Cancel.](Images/ShowFolderBrowser.png){:width="892" height="635"}
+
 
 > [!WARNING] 1.0.13.0
 > With **CdlBIFBrowseForComputer** or **CdlBIFBrowseForPrinter**, the method returns **True** after the user selects a computer or a printer, but [**FileName**](#filename) and [**FileTitle**](#filetitle) are empty: the class reads the selection as a file system path, and a computer or a printer has none. The name of the selection is not available. To let the user choose a printer, use [**ShowPrinter**](#showprinter), which sets [**PrinterName**](#printername).
diff --git a/docs/Reference/Contributed/VBComDlg/Images/ShowColor.png b/docs/Reference/Contributed/VBComDlg/Images/ShowColor.png
new file mode 100644
index 000000000..9578e6dab
Binary files /dev/null and b/docs/Reference/Contributed/VBComDlg/Images/ShowColor.png differ
diff --git a/docs/Reference/Contributed/VBComDlg/Images/ShowFind.png b/docs/Reference/Contributed/VBComDlg/Images/ShowFind.png
new file mode 100644
index 000000000..87807a2ce
Binary files /dev/null and b/docs/Reference/Contributed/VBComDlg/Images/ShowFind.png differ
diff --git a/docs/Reference/Contributed/VBComDlg/Images/ShowFolderBrowser.png b/docs/Reference/Contributed/VBComDlg/Images/ShowFolderBrowser.png
new file mode 100644
index 000000000..91f852873
Binary files /dev/null and b/docs/Reference/Contributed/VBComDlg/Images/ShowFolderBrowser.png differ
diff --git a/docs/Reference/Contributed/VBComDlg/Images/ShowFont.png b/docs/Reference/Contributed/VBComDlg/Images/ShowFont.png
new file mode 100644
index 000000000..019d99ccc
Binary files /dev/null and b/docs/Reference/Contributed/VBComDlg/Images/ShowFont.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/Enumerations/CellsAndAppearance.md b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/CellsAndAppearance.md
new file mode 100644
index 000000000..64e1d9e26
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/CellsAndAppearance.md
@@ -0,0 +1,464 @@
+---
+title: Cells, Text and Appearance
+parent: Enumerations
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/Enumerations/CellsAndAppearance
+nav_order: 1
+---
+
+# Cells, Text and Appearance
+{: .no_toc }
+
+The 25 enumerations that the topic pages [Rows and Columns](../VBFlexGrid/Structure), [Sizes and Positions](../VBFlexGrid/Sizing), [Cell Text](../VBFlexGrid/Text), [Cell Formatting](../VBFlexGrid/CellFormatting), [Merging Cells](../VBFlexGrid/Merging) and [Appearance](../VBFlexGrid/Appearance) of the [**VBFlexGrid**](../VBFlexGrid/) control use are listed here in alphabetical order. Every enumeration is declared inside the control, and its members are written without a qualifier or with the name of the enumeration, as in `FlexAlignmentLeftTop` or `FlexAlignmentConstants.FlexAlignmentLeftTop`.
+
+* TOC
+{:toc}
+
+## FlexAlignmentConstants
+
+The alignment of text in a cell: a horizontal position (left, center, right or general) combined with a vertical one (top, center or bottom). It is used by the [**CellAlignment**](../VBFlexGrid/CellFormatting#cellalignment), [**ColAlignment**](../VBFlexGrid/CellFormatting#colalignment) and [**FixedAlignment**](../VBFlexGrid/CellFormatting#fixedalignment) properties.
+
+The members whose names start with **FlexAlignmentGeneral** choose the horizontal position of each cell from its text. Text that **IsNumeric** or **IsDate** accepts is aligned to the right, any other text to the left. The [**MirrorAlignGeneral**](../VBFlexGrid/Appearance#mirroraligngeneral) property reverses that choice, which suits right-to-left reading order.
+
+[**FixedAlignment**](../VBFlexGrid/CellFormatting#fixedalignment) also accepts -1, which is not a member: the fixed cells of the column then use [**ColAlignment**](../VBFlexGrid/CellFormatting#colalignment). [**CellAlignment**](../VBFlexGrid/CellFormatting#cellalignment) accepts -1 as well: the cell then uses the alignment of its column. **FlexAlignmentGeneral** is the alignment of a column that no code has set.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexAlignmentLeftTop**{: #FlexAlignmentLeftTop } | `0` | Left, at the top of the cell. |
+| **FlexAlignmentLeftCenter**{: #FlexAlignmentLeftCenter } | `1` | Left, centered vertically. |
+| **FlexAlignmentLeftBottom**{: #FlexAlignmentLeftBottom } | `2` | Left, at the bottom of the cell. |
+| **FlexAlignmentCenterTop**{: #FlexAlignmentCenterTop } | `3` | Centered horizontally, at the top. |
+| **FlexAlignmentCenterCenter**{: #FlexAlignmentCenterCenter } | `4` | Centered horizontally and vertically. |
+| **FlexAlignmentCenterBottom**{: #FlexAlignmentCenterBottom } | `5` | Centered horizontally, at the bottom. |
+| **FlexAlignmentRightTop**{: #FlexAlignmentRightTop } | `6` | Right, at the top of the cell. |
+| **FlexAlignmentRightCenter**{: #FlexAlignmentRightCenter } | `7` | Right, centered vertically. |
+| **FlexAlignmentRightBottom**{: #FlexAlignmentRightBottom } | `8` | Right, at the bottom of the cell. |
+| **FlexAlignmentGeneral**{: #FlexAlignmentGeneral } | `9` | General: numbers and dates to the right, other text to the left, centered vertically. |
+| **FlexAlignmentGeneralTop**{: #FlexAlignmentGeneralTop } | `10` | General horizontally, at the top of the cell. |
+| **FlexAlignmentGeneralCenter**{: #FlexAlignmentGeneralCenter } | `11` | General horizontally, centered vertically. It does the same as **FlexAlignmentGeneral**. |
+| **FlexAlignmentGeneralBottom**{: #FlexAlignmentGeneralBottom } | `12` | General horizontally, at the bottom of the cell. |
+
+## FlexAllowUserFreezingConstants
+
+Which kinds of rows and columns the user can freeze with the mouse. It is used by the [**AllowUserFreezing**](../VBFlexGrid/Structure#allowuserfreezing) property.
+
+The values are bits: 1 stands for columns and 2 for rows, and **FlexAllowUserFreezingBoth** is their sum.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexAllowUserFreezingNone**{: #FlexAllowUserFreezingNone } | `0` | The user cannot freeze rows or columns. |
+| **FlexAllowUserFreezingColumns**{: #FlexAllowUserFreezingColumns } | `1` | The user can freeze columns. |
+| **FlexAllowUserFreezingRows**{: #FlexAllowUserFreezingRows } | `2` | The user can freeze rows. |
+| **FlexAllowUserFreezingBoth**{: #FlexAllowUserFreezingBoth } | `3` | The user can freeze rows and columns. |
+
+## FlexAllowUserResizingConstants
+
+Which kinds of dividers the user can drag to resize columns and rows. It is used by the [**AllowUserResizing**](../VBFlexGrid/Sizing#allowuserresizing) property.
+
+The values are bits: 1 stands for columns and 2 for rows, and **FlexAllowUserResizingBoth** is their sum.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexAllowUserResizingNone**{: #FlexAllowUserResizingNone } | `0` | The user cannot resize rows or columns. |
+| **FlexAllowUserResizingColumns**{: #FlexAllowUserResizingColumns } | `1` | The user can resize columns. |
+| **FlexAllowUserResizingRows**{: #FlexAllowUserResizingRows } | `2` | The user can resize rows. |
+| **FlexAllowUserResizingBoth**{: #FlexAllowUserResizingBoth } | `3` | The user can resize rows and columns. |
+
+## FlexAutoSizeModeConstants
+
+What the [**AutoSize**](../VBFlexGrid/Sizing#autosize) method resizes: column widths or row heights.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexAutoSizeModeColWidth**{: #FlexAutoSizeModeColWidth } | `0` | Sets the widths of the columns the method names. The scope chooses which rows it measures. |
+| **FlexAutoSizeModeRowHeight**{: #FlexAutoSizeModeRowHeight } | `1` | Sets the heights of the rows the method names. The scope chooses which columns it measures. |
+
+## FlexAutoSizeScopeConstants
+
+Which cells the [**AutoSize**](../VBFlexGrid/Sizing#autosize) method measures when it sets a column width or a row height.
+
+In column mode ([**FlexAutoSizeModeConstants**](#flexautosizemodeconstants)) the scope selects rows, and in row mode it selects columns. The description of each member names the rows; the columns follow the same rule.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexAutoSizeScopeAll**{: #FlexAutoSizeScopeAll } | `0` | All rows. |
+| **FlexAutoSizeScopeFixed**{: #FlexAutoSizeScopeFixed } | `1` | The fixed rows only. |
+| **FlexAutoSizeScopeScrollable**{: #FlexAutoSizeScopeScrollable } | `2` | The rows after the fixed rows and the frozen rows, which scroll. |
+| **FlexAutoSizeScopeMovable**{: #FlexAutoSizeScopeMovable } | `3` | The frozen rows and the scrollable rows, which together are every row after the fixed rows. |
+| **FlexAutoSizeScopeFrozen**{: #FlexAutoSizeScopeFrozen } | `4` | The frozen rows only. |
+
+## FlexBestFitModeConstants
+
+What [**AutoSize**](../VBFlexGrid/Sizing#autosize) and the format string count besides the text when they compute the best size of a cell. It is used by the [**BestFitMode**](../VBFlexGrid/Sizing#bestfitmode) property.
+
+The cell contents that the modes add are the combo cue, a picture aligned with one of the no-overlap alignments, a check box aligned at the left or the right of the cell, and the sort arrow in the fixed row that [**RowSortArrows**](../VBFlexGrid/SortingAndSearching#rowsortarrows) names.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexBestFitModeTextOnly**{: #FlexBestFitModeTextOnly } | `0` | Only the text counts. This is the default. |
+| **FlexBestFitModeFull**{: #FlexBestFitModeFull } | `1` | The text, the combo cue, the picture, the check box and the sort arrow. |
+| **FlexBestFitModeSortArrowText**{: #FlexBestFitModeSortArrowText } | `2` | The text and the sort arrow. |
+| **FlexBestFitModeOtherText**{: #FlexBestFitModeOtherText } | `3` | The text, the combo cue, the picture and the check box, but not the sort arrow. |
+
+## FlexBorderStyleConstants
+
+The border around the control. It is used by the [**BorderStyle**](../VBFlexGrid/Appearance#borderstyle) property.
+
+The members select Windows window border styles.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexBorderStyleNone**{: #FlexBorderStyleNone } | `0` | No border. |
+| **FlexBorderStyleSingle**{: #FlexBorderStyleSingle } | `1` | A thin single-line border. |
+| **FlexBorderStyleThin**{: #FlexBorderStyleThin } | `2` | A thin three-dimensional border (the static edge style). |
+| **FlexBorderStyleSunken**{: #FlexBorderStyleSunken } | `3` | A sunken border (the client edge style). This is the default. |
+| **FlexBorderStyleRaised**{: #FlexBorderStyleRaised } | `4` | A raised border (the window edge style with a dialog frame). |
+
+## FlexCellSettings
+
+The cell settings that the [**Cell**](../VBFlexGrid/Text#cell) property reads and writes for any cell or range of cells, without selecting it.
+
+Each member names the cell property whose value the [**Cell**](../VBFlexGrid/Text#cell) property reads or writes. For most members, a range of cells (the **RowSel** and **ColSel** arguments) gets the same value in every cell, as when [**FillStyle**](../VBFlexGrid/CellFormatting#fillstyle) is **FlexFillStyleRepeat**.
+
+A member that cannot be read or cannot be written raises an error: **FlexCellSort** raises 394 when read, and **FlexCellLeft**, **FlexCellTop**, **FlexCellWidth**, **FlexCellHeight**, **FlexCellTextDisplay** and **FlexCellTextHidden** raise 383 when written. A value that is not a member raises 380. **FlexCellPicture** and **FlexCellTag** are the two members that accept an object, which is assigned with **Set**.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexCellText**{: #FlexCellText } | `0` | The text of the cell: [**Text**](../VBFlexGrid/Text#text). |
+| **FlexCellClip**{: #FlexCellClip } | `1` | The contents of the cells as a clip string: [**Clip**](../VBFlexGrid/ClipboardAndArrays#clip). |
+| **FlexCellTextStyle**{: #FlexCellTextStyle } | `2` | The 3D effect of the text: [**CellTextStyle**](../VBFlexGrid/CellFormatting#celltextstyle). |
+| **FlexCellAlignment**{: #FlexCellAlignment } | `3` | The alignment of the text: [**CellAlignment**](../VBFlexGrid/CellFormatting#cellalignment). |
+| **FlexCellPicture**{: #FlexCellPicture } | `4` | The picture of the cell: [**CellPicture**](../VBFlexGrid/CellFormatting#cellpicture). |
+| **FlexCellPictureAlignment**{: #FlexCellPictureAlignment } | `5` | The alignment of the picture: [**CellPictureAlignment**](../VBFlexGrid/CellFormatting#cellpicturealignment). |
+| **FlexCellBackColor**{: #FlexCellBackColor } | `6` | The background color: [**CellBackColor**](../VBFlexGrid/CellFormatting#cellbackcolor). |
+| **FlexCellForeColor**{: #FlexCellForeColor } | `7` | The text color: [**CellForeColor**](../VBFlexGrid/CellFormatting#cellforecolor). |
+| **FlexCellToolTipText**{: #FlexCellToolTipText } | `8` | The tool tip of the cell: [**CellToolTipText**](../VBFlexGrid/Text#celltooltiptext). |
+| **FlexCellComboCue**{: #FlexCellComboCue } | `9` | The combo cue of the cell: [**CellComboCue**](../VBFlexGrid/ComboEditing#cellcombocue). |
+| **FlexCellChecked**{: #FlexCellChecked } | `10` | The check box state: [**CellChecked**](../VBFlexGrid/CheckBoxes#cellchecked). |
+| **FlexCellFloodPercent**{: #FlexCellFloodPercent } | `11` | The percentage of the cell that the flood bar fills, from -100 to 100; a negative value fills the cell from the right: [**CellFloodPercent**](../VBFlexGrid/CellFormatting#cellfloodpercent). |
+| **FlexCellFloodColor**{: #FlexCellFloodColor } | `12` | The color of the flood bar: [**CellFloodColor**](../VBFlexGrid/CellFormatting#cellfloodcolor). |
+| **FlexCellFontName**{: #FlexCellFontName } | `13` | The font name: [**CellFontName**](../VBFlexGrid/CellFormatting#cellfontname). |
+| **FlexCellFontSize**{: #FlexCellFontSize } | `14` | The font size: [**CellFontSize**](../VBFlexGrid/CellFormatting#cellfontsize). |
+| **FlexCellFontBold**{: #FlexCellFontBold } | `15` | The bold attribute: [**CellFontBold**](../VBFlexGrid/CellFormatting#cellfontbold). |
+| **FlexCellFontItalic**{: #FlexCellFontItalic } | `16` | The italic attribute: [**CellFontItalic**](../VBFlexGrid/CellFormatting#cellfontitalic). |
+| **FlexCellFontStrikeThrough**{: #FlexCellFontStrikeThrough } | `17` | The strikethrough attribute: [**CellFontStrikeThrough**](../VBFlexGrid/CellFormatting#cellfontstrikethrough). |
+| **FlexCellFontUnderline**{: #FlexCellFontUnderline } | `18` | The underline attribute: [**CellFontUnderline**](../VBFlexGrid/CellFormatting#cellfontunderline). |
+| **FlexCellFontCharset**{: #FlexCellFontCharset } | `19` | The font character set: [**CellFontCharset**](../VBFlexGrid/CellFormatting#cellfontcharset). |
+| **FlexCellLeft**{: #FlexCellLeft } | `20` | The left edge of the cell: [**CellLeft**](../VBFlexGrid/Sizing#cellleft). Read-only. |
+| **FlexCellTop**{: #FlexCellTop } | `21` | The top edge of the cell: [**CellTop**](../VBFlexGrid/Sizing#celltop). Read-only. |
+| **FlexCellWidth**{: #FlexCellWidth } | `22` | The width of the cell: [**CellWidth**](../VBFlexGrid/Sizing#cellwidth). Read-only. |
+| **FlexCellHeight**{: #FlexCellHeight } | `23` | The height of the cell: [**CellHeight**](../VBFlexGrid/Sizing#cellheight). Read-only. |
+| **FlexCellSort**{: #FlexCellSort } | `24` | Sorts the rows by the column of the cell or range, with the sort order that is written: [**Sort**](../VBFlexGrid/SortingAndSearching#sort). Write-only. |
+| **FlexCellTextDisplay**{: #FlexCellTextDisplay } | `25` | The text as the cell displays it, after the column's lookup and format string are applied. Read-only. |
+| **FlexCellTextHidden**{: #FlexCellTextHidden } | `26` | **True** when the cell does not draw its text, because an image of the column's image list is drawn instead or because the text stands for a check box (**FlexTextAsCheckBox**). Read-only. |
+| **FlexCellHasCustomFormatting**{: #FlexCellHasCustomFormatting } | `27` | Whether the cell has memory allocated for custom formatting: [**CellHasCustomFormatting**](../VBFlexGrid/CellFormatting#cellhascustomformatting). Writing **False** frees it. |
+| **FlexCellHasTag**{: #FlexCellHasTag } | `28` | Whether the cell has memory allocated for a tag: [**CellHasTag**](../VBFlexGrid/Text#cellhastag). Writing **False** frees it. |
+| **FlexCellTag**{: #FlexCellTag } | `29` | The tag of the cell: [**CellTag**](../VBFlexGrid/Text#celltag). |
+
+Writing and reading settings of cells that are not the current cell, and the errors that read-only and write-only members raise:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 3
+    .Cell(FlexCellText, 1, 1) = "x"
+    Debug.Print .TextMatrix(1, 1) ' x
+    .Cell(FlexCellText, 1, 1, 2, 2) = "z"
+    Debug.Print .TextMatrix(1, 2); .TextMatrix(2, 1); .TextMatrix(2, 2) ' zzz
+    On Error Resume Next
+    .Cell(FlexCellWidth, 1, 1) = 100
+    Debug.Print Err.Number ' 383
+    Err.Clear
+    Debug.Print .Cell(FlexCellSort, 1, 1)
+    Debug.Print Err.Number ' 394
+End With
+```
+
+## FlexClearWhatConstants
+
+What the [**Clear**](../VBFlexGrid/Structure#clear) method clears in the cells that the area names.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexClearEverything**{: #FlexClearEverything } | `0` | The text, the formatting and the tag. A grid with a custom data source (**FlexDataSource**) raises error 5 for this member. |
+| **FlexClearText**{: #FlexClearText } | `1` | The text only. |
+| **FlexClearFormatting**{: #FlexClearFormatting } | `2` | The cell formatting only (colors, fonts, alignment, picture, flood bar, tool tip, combo cue and check box state). It frees the memory that formatting uses. |
+| **FlexClearTag**{: #FlexClearTag } | `3` | The tag only. It frees the memory that tags use. |
+
+## FlexClearWhereConstants
+
+The area of the grid that the [**Clear**](../VBFlexGrid/Structure#clear) method clears.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexClearEverywhere**{: #FlexClearEverywhere } | `0` | All cells. |
+| **FlexClearFixed**{: #FlexClearFixed } | `1` | The fixed rows and the fixed columns. |
+| **FlexClearScrollable**{: #FlexClearScrollable } | `2` | The cells after the fixed and the frozen rows and columns, which scroll. |
+| **FlexClearMovable**{: #FlexClearMovable } | `3` | The frozen and the scrollable cells, which together are every cell after the fixed rows and columns. |
+| **FlexClearFrozen**{: #FlexClearFrozen } | `4` | The frozen rows and columns. |
+| **FlexClearSelection**{: #FlexClearSelection } | `5` | The selected cells. |
+| **FlexClearClip**{: #FlexClearClip } | `6` | The cells of the selection. When [**ClipPasteMode**](../VBFlexGrid/ClipboardAndArrays#clippastemode) is **FlexClipPasteModeExtended** or higher, the selection is extended to whole rows in **FlexSelectionModeFreeByRow** and to whole columns in **FlexSelectionModeFreeByColumn**, and with [**AllowMultiSelection**](../VBFlexGrid/Selection#allowmultiselection) every selected row is cleared. The [**Delete**](../VBFlexGrid/ClipboardAndArrays#delete) method uses it. |
+
+## FlexEllipsisFormatConstants
+
+How text that does not fit in its cell is shortened with an ellipsis. It is used by the [**EllipsisFormat**](../VBFlexGrid/Text#ellipsisformat) and [**EllipsisFormatFixed**](../VBFlexGrid/Text#ellipsisformatfixed) properties.
+
+For a column that has not set its own [**ColWordWrapOption**](../VBFlexGrid/Text#colwordwrapoption), the setting is one of the three, with [**WordWrap**](../VBFlexGrid/Text#wordwrap) and [**SingleLine**](../VBFlexGrid/Text#singleline), from which the column's member of [**FlexWordWrapOptions**](#flexwordwrapoptions) is made. The members are the Windows text formats of the same names.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexEllipsisFormatNone**{: #FlexEllipsisFormatNone } | `0` | No ellipsis. This is the default. |
+| **FlexEllipsisFormatEnd**{: #FlexEllipsisFormatEnd } | `1` | The text is cut at the end and finished with an ellipsis. |
+| **FlexEllipsisFormatPath**{: #FlexEllipsisFormatPath } | `2` | The ellipsis replaces characters in the middle, so that the end of a path stays visible. |
+| **FlexEllipsisFormatWord**{: #FlexEllipsisFormatWord } | `3` | A word that does not fit is cut and finished with an ellipsis. |
+
+## FlexFillStyleConstants
+
+Whether setting a cell property applies to the current cell or to every selected cell. It is used by the [**FillStyle**](../VBFlexGrid/CellFormatting#fillstyle) property.
+
+The [**Cell**](../VBFlexGrid/Text#cell) property sets this value itself while it works, to **FlexFillStyleRepeat** for a range and to **FlexFillStyleSingle** for one cell, and restores it afterwards.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexFillStyleSingle**{: #FlexFillStyleSingle } | `0` | Only the current cell changes. This is the default. |
+| **FlexFillStyleRepeat**{: #FlexFillStyleRepeat } | `1` | Every selected cell changes. |
+
+## FlexFontQualityConstants
+
+How the fonts of the grid are rendered. The members have the values of the Windows font qualities. It is used by the [**FontQuality**](../VBFlexGrid/Appearance#fontquality) property.
+
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexFontQualityDefault**{: #FlexFontQualityDefault } | `0` | Windows chooses. This is the default. |
+| **FlexFontQualityDraft**{: #FlexFontQualityDraft } | `1` | Draft quality: appearance matters less than with proof quality. |
+| **FlexFontQualityProof**{: #FlexFontQualityProof } | `2` | Proof quality: the exactness of the character shapes matters more than the exactness of the size. |
+| **FlexFontQualityNonAntiAliased**{: #FlexFontQualityNonAntiAliased } | `3` | Text is never smoothed. |
+| **FlexFontQualityAntiAliased**{: #FlexFontQualityAntiAliased } | `4` | Text is smoothed when the font and size support it. |
+| **FlexFontQualityClearType**{: #FlexFontQualityClearType } | `5` | Text is smoothed with ClearType. |
+| **FlexFontQualityClearTypeNatural**{: #FlexFontQualityClearTypeNatural } | `6` | Text is smoothed with natural ClearType, which keeps the character shapes closer to the font. |
+
+## FlexGridLineConstants
+
+The type of the lines between cells, and whether they run in both directions or in one only. It is used by the [**GridLines**](../VBFlexGrid/Appearance#gridlines), [**GridLinesFixed**](../VBFlexGrid/Appearance#gridlinesfixed) and [**GridLinesFrozen**](../VBFlexGrid/Appearance#gridlinesfrozen) properties.
+
+The members without a suffix draw horizontal and vertical lines, the members ending in **Horz** only horizontal ones, and those ending in **Vert** only vertical ones. Flat, dashed and dotted lines have the color of the matching grid color property. The inset and raised lines are drawn in two colors, black and white, to look sunken or raised, and ignore the color property. The default is **FlexGridLineFlat** for the scrollable and the frozen cells and **FlexGridLineInset** for the fixed cells.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexGridLineNone**{: #FlexGridLineNone } | `0` | No lines. |
+| **FlexGridLineFlat**{: #FlexGridLineFlat } | `1` | Solid lines. |
+| **FlexGridLineInset**{: #FlexGridLineInset } | `2` | Sunken lines. |
+| **FlexGridLineRaised**{: #FlexGridLineRaised } | `3` | Raised lines. |
+| **FlexGridLineDashes**{: #FlexGridLineDashes } | `4` | Dashed lines. |
+| **FlexGridLineDots**{: #FlexGridLineDots } | `5` | Dotted lines. |
+| **FlexGridLineFlatHorz**{: #FlexGridLineFlatHorz } | `6` | Solid horizontal lines. |
+| **FlexGridLineInsetHorz**{: #FlexGridLineInsetHorz } | `7` | Sunken horizontal lines. |
+| **FlexGridLineRaisedHorz**{: #FlexGridLineRaisedHorz } | `8` | Raised horizontal lines. |
+| **FlexGridLineDashesHorz**{: #FlexGridLineDashesHorz } | `9` | Dashed horizontal lines. |
+| **FlexGridLineDotsHorz**{: #FlexGridLineDotsHorz } | `10` | Dotted horizontal lines. |
+| **FlexGridLineFlatVert**{: #FlexGridLineFlatVert } | `11` | Solid vertical lines. |
+| **FlexGridLineInsetVert**{: #FlexGridLineInsetVert } | `12` | Sunken vertical lines. |
+| **FlexGridLineRaisedVert**{: #FlexGridLineRaisedVert } | `13` | Raised vertical lines. |
+| **FlexGridLineDashesVert**{: #FlexGridLineDashesVert } | `14` | Dashed vertical lines. |
+| **FlexGridLineDotsVert**{: #FlexGridLineDotsVert } | `15` | Dotted vertical lines. |
+
+![Six empty grids, each with the name of its style in its header: Flat with plain gray lines, Inset and Raised with black and white lines that make the cells look sunken or raised, Dashes and Dots with broken lines, and FlatHorz with plain horizontal lines only.](../VBFlexGrid/Images/Appearance_GridLines.png){:width="709" height="259"}
+
+## FlexLookupConvConstants
+
+The direction of a lookup conversion that [**LookupConv**](../VBFlexGrid/Text#lookupconv) makes.
+
+A lookup maps keys, which a database stores, to values, which the user reads; [**ColLookup**](../VBFlexGrid/Text#collookup) defines it for a column.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexLookupConvValue**{: #FlexLookupConvValue } | `0` | Converts a key to its value. The key matches without regard to case. |
+| **FlexLookupConvKey**{: #FlexLookupConvKey } | `1` | Converts a value to its key. The value matches exactly, with regard to case. |
+
+Converting in both directions with a lookup of two entries:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .ColLookup(1) = "1;One|2;Two"
+    Debug.Print .LookupConv("2", FlexLookupConvValue, 1) ' Two
+    Debug.Print .LookupConv("One", FlexLookupConvKey, 1) ' 1
+End With
+```
+
+## FlexMergeCellsConstants
+
+Which neighbouring cells with the same content the grid merges into one. It is used by the [**MergeCells**](../VBFlexGrid/Merging#mergecells) property.
+
+Merging applies only to the rows and columns that [**MergeRow**](../VBFlexGrid/Merging#mergerow) and [**MergeCol**](../VBFlexGrid/Merging#mergecol) switch on. Cells in a row merge when each has the same content as its left neighbour, and cells in a column merge when each has the same content as its upper neighbour. In the restricted modes, two cells merge in one direction only if the cells beside them are equal as well, so that merged blocks look like a hierarchy: **FlexMergeCellsRestrictRows** restricts the merging within columns, and **FlexMergeCellsRestrictColumns** the merging within rows.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexMergeCellsNever**{: #FlexMergeCellsNever } | `0` | No merging. This is the default. |
+| **FlexMergeCellsFree**{: #FlexMergeCellsFree } | `1` | Merge within the rows and within the columns that are switched on. |
+| **FlexMergeCellsRestrictRows**{: #FlexMergeCellsRestrictRows } | `2` | Rows merge freely. Two cells of a column merge only if the cells to the left of them are equal too. |
+| **FlexMergeCellsRestrictColumns**{: #FlexMergeCellsRestrictColumns } | `3` | Columns merge freely. Two cells of a row merge only if the cells above them are equal too. |
+| **FlexMergeCellsRestrictAll**{: #FlexMergeCellsRestrictAll } | `4` | Both restrictions: those of **FlexMergeCellsRestrictRows** and of **FlexMergeCellsRestrictColumns**. |
+| **FlexMergeCellsFixedOnly**{: #FlexMergeCellsFixedOnly } | `5` | Merge freely, but only the fixed rows and fixed columns. |
+
+![A grid with two fixed rows and free merging. In the header, Sales spans the Q1 and Q2 columns below it, and Region spans both header rows. In the Region column, East covers the two rows below it and West the next two, while North, which has one row, stays a single cell.](../VBFlexGrid/Images/Merging_Free.png){:width="336" height="189"}
+
+## FlexMetricConstants
+
+The size metric that [**GetMetrics**](../VBFlexGrid/Sizing#getmetrics) returns.
+
+[**GetMetrics**](../VBFlexGrid/Sizing#getmetrics) returns the horizontal size in its **CX** argument and the vertical size in its **CY** argument, in twips. The control defines every metric except the size of a scroll bar, which comes from Windows, in device-independent pixels (the sizes in the descriptions) and converts them for the DPI of the display.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexMetricDividerSpacing**{: #FlexMetricDividerSpacing } | `0` | The distance from the edge of a cell within which a hit counts as on the divider (2 device-independent pixels in both directions). |
+| **FlexMetricTextPadding**{: #FlexMetricTextPadding } | `1` | The space between the edge of a cell and its text (3 device-independent pixels horizontally, 1 vertically). |
+| **FlexMetricCellSpacing**{: #FlexMetricCellSpacing } | `2` | The space that [**AutoSize**](../VBFlexGrid/Sizing#autosize) adds to the text size of the best fit (6 device-independent pixels horizontally, 3 vertically). |
+| **FlexMetricScrollBarSize**{: #FlexMetricScrollBarSize } | `3` | The size of a scroll bar, which is also the width of a drop-down arrow. |
+| **FlexMetricCheckBoxSize**{: #FlexMetricCheckBoxSize } | `4` | The size of a check box (13 device-independent pixels in both directions). |
+
+## FlexMimicTextBoxConstants
+
+Whether a column draws its text the way a multi-line text box does. It is used by the [**ColMimicTextBox**](../VBFlexGrid/Text#colmimictextbox) and [**ColMimicTextBoxFixed**](../VBFlexGrid/Text#colmimictextboxfixed) properties.
+
+Mimicking a text box draws the text with the Windows `DT_EDITCONTROL` format, as a multi-line text box draws it: the average character width is calculated as a text box calculates it, and a last line that would show only in part is left out. [**MimicTextBox**](../VBFlexGrid/Text#mimictextbox) is the setting for the whole grid, and the column properties accept -1 in addition, which is not a member and means the grid's setting.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexMimicTextBoxOn**{: #FlexMimicTextBoxOn } | `0` | The column draws its text like a text box. |
+| **FlexMimicTextBoxOff**{: #FlexMimicTextBoxOff } | `1` | The column draws its text in the normal way. [**MimicTextBox**](../VBFlexGrid/Text#mimictextbox) is **False** by default. |
+
+## FlexPictureAlignmentConstants
+
+Where the picture of a cell is drawn relative to the cell and to its text. It is used by the [**CellPictureAlignment**](../VBFlexGrid/CellFormatting#cellpicturealignment) property.
+
+The nine positions place the picture over the cell, and the text is drawn over the picture. The **NoOverlap** members place the picture at the left or right edge and take the width it needs from the text area, so that the text and the picture do not cover each other; there is no centered no-overlap member, so the numbers 23 to 25 are not used. Best fit ([**BestFitMode**](../VBFlexGrid/Sizing#bestfitmode)) counts the width of a no-overlap picture.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexPictureAlignmentLeftTop**{: #FlexPictureAlignmentLeftTop } | `0` | At the left, at the top of the cell. |
+| **FlexPictureAlignmentLeftCenter**{: #FlexPictureAlignmentLeftCenter } | `1` | At the left, centered vertically. |
+| **FlexPictureAlignmentLeftBottom**{: #FlexPictureAlignmentLeftBottom } | `2` | At the left, at the bottom of the cell. |
+| **FlexPictureAlignmentCenterTop**{: #FlexPictureAlignmentCenterTop } | `3` | Centered horizontally, at the top. |
+| **FlexPictureAlignmentCenterCenter**{: #FlexPictureAlignmentCenterCenter } | `4` | Centered horizontally and vertically. |
+| **FlexPictureAlignmentCenterBottom**{: #FlexPictureAlignmentCenterBottom } | `5` | Centered horizontally, at the bottom. |
+| **FlexPictureAlignmentRightTop**{: #FlexPictureAlignmentRightTop } | `6` | At the right, at the top of the cell. |
+| **FlexPictureAlignmentRightCenter**{: #FlexPictureAlignmentRightCenter } | `7` | At the right, centered vertically. |
+| **FlexPictureAlignmentRightBottom**{: #FlexPictureAlignmentRightBottom } | `8` | At the right, at the bottom of the cell. |
+| **FlexPictureAlignmentStretch**{: #FlexPictureAlignmentStretch } | `9` | Stretched to fill the cell. |
+| **FlexPictureAlignmentTile**{: #FlexPictureAlignmentTile } | `10` | Repeated to fill the cell. |
+| **FlexPictureAlignmentLeftTopNoOverlap**{: #FlexPictureAlignmentLeftTopNoOverlap } | `20` | At the left, at the top, beside the text. |
+| **FlexPictureAlignmentLeftCenterNoOverlap**{: #FlexPictureAlignmentLeftCenterNoOverlap } | `21` | At the left, centered vertically, beside the text. |
+| **FlexPictureAlignmentLeftBottomNoOverlap**{: #FlexPictureAlignmentLeftBottomNoOverlap } | `22` | At the left, at the bottom, beside the text. |
+| **FlexPictureAlignmentRightTopNoOverlap**{: #FlexPictureAlignmentRightTopNoOverlap } | `26` | At the right, at the top, beside the text. |
+| **FlexPictureAlignmentRightCenterNoOverlap**{: #FlexPictureAlignmentRightCenterNoOverlap } | `27` | At the right, centered vertically, beside the text. |
+| **FlexPictureAlignmentRightBottomNoOverlap**{: #FlexPictureAlignmentRightBottomNoOverlap } | `28` | At the right, at the bottom, beside the text. |
+
+## FlexPictureTypeConstants
+
+The kind of picture that the [**Picture**](../VBFlexGrid/Appearance#picture) property creates from the grid. It is used by the [**PictureType**](../VBFlexGrid/Appearance#picturetype) property.
+
+The setting also decides how the grid renders itself for a page print (the **VP_FORMATRANGE** message).
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexPictureTypeColor**{: #FlexPictureTypeColor } | `0` | A color bitmap. This is the default. |
+| **FlexPictureTypeMonochrome**{: #FlexPictureTypeMonochrome } | `1` | A black and white bitmap. |
+| **FlexPictureTypeEnhMetafile**{: #FlexPictureTypeEnhMetafile } | `2` | An enhanced metafile, which scales better when it is painted on a printer. |
+
+## FlexRightToLeftModeConstants
+
+How the [**RightToLeft**](../VBFlexGrid/Appearance#righttoleft) property decides whether the control reads and lays out from right to left. It is used by the [**RightToLeftMode**](../VBFlexGrid/Appearance#righttoleftmode) property.
+
+The setting matters only while [**RightToLeft**](../VBFlexGrid/Appearance#righttoleft) is **True**. The three locale members then keep it **True** only when the chosen locale's language reads from right to left; otherwise it turns **False**.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexRightToLeftModeNoControl**{: #FlexRightToLeftModeNoControl } | `0` | [**RightToLeft**](../VBFlexGrid/Appearance#righttoleft) is used as set. |
+| **FlexRightToLeftModeVBAME**{: #FlexRightToLeftModeVBAME } | `1` | [**RightToLeft**](../VBFlexGrid/Appearance#righttoleft) takes the value that the user control keeps after it is set, which is the behavior of the Middle East edition of VB and VBA. This is the default. |
+| **FlexRightToLeftModeSystemLocale**{: #FlexRightToLeftModeSystemLocale } | `2` | The system default locale decides. |
+| **FlexRightToLeftModeUserLocale**{: #FlexRightToLeftModeUserLocale } | `3` | The default locale of the user decides. |
+| **FlexRightToLeftModeOSLanguage**{: #FlexRightToLeftModeOSLanguage } | `4` | The user interface language of Windows decides. |
+
+## FlexRowSizingModeConstants
+
+What happens to the other rows when the user resizes one row with the mouse. It is used by the [**RowSizingMode**](../VBFlexGrid/Sizing#rowsizingmode) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexRowSizingModeIndividual**{: #FlexRowSizingModeIndividual } | `0` | Only the row that the user resizes changes. This is the default. |
+| **FlexRowSizingModeAll**{: #FlexRowSizingModeAll } | `1` | Every row gets the new height. |
+| **FlexRowSizingModeUniform**{: #FlexRowSizingModeUniform } | `2` | The new height becomes [**RowHeightUniform**](../VBFlexGrid/Sizing#rowheightuniform), which applies to every row that has no height of its own. |
+
+## FlexTextStyleConstants
+
+The 3D effect of the text in a cell. It is used by the [**CellTextStyle**](../VBFlexGrid/CellFormatting#celltextstyle), [**TextStyle**](../VBFlexGrid/Appearance#textstyle) and [**TextStyleFixed**](../VBFlexGrid/Appearance#textstylefixed) properties.
+
+The effects are made by drawing the text again, offset by one pixel, in gray or white. The raised and inset styles add a gray or white shadow, and the light styles add a white one only.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexTextStyleFlat**{: #FlexTextStyleFlat } | `0` | Plain text. This is the default. |
+| **FlexTextStyleRaised**{: #FlexTextStyleRaised } | `1` | Raised: a white highlight at the upper left and a gray shadow at the lower right. |
+| **FlexTextStyleInset**{: #FlexTextStyleInset } | `2` | Sunken: a gray shadow at the upper left and a white highlight at the lower right. |
+| **FlexTextStyleRaisedLight**{: #FlexTextStyleRaisedLight } | `3` | Raised, with the white highlight at the upper left only. |
+| **FlexTextStyleInsetLight**{: #FlexTextStyleInsetLight } | `4` | Sunken, with the white highlight at the lower right only. |
+
+![A grid on a gray background with one column for each style, Flat, Raised, Inset, RaisedLight and InsetLight, each showing the word Sample in normal and in bold text drawn in that style.](../VBFlexGrid/Images/Appearance_TextStyles.png){:width="457" height="111"}
+
+## FlexWallPaperAlignmentConstants
+
+Where the wallpaper picture is drawn in the area of the grid that is not fixed. It is used by the [**WallPaperAlignment**](../VBFlexGrid/Appearance#wallpaperalignment) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexWallPaperAlignmentLeftTop**{: #FlexWallPaperAlignmentLeftTop } | `0` | At the upper left. |
+| **FlexWallPaperAlignmentLeftCenter**{: #FlexWallPaperAlignmentLeftCenter } | `1` | At the left, centered vertically. |
+| **FlexWallPaperAlignmentLeftBottom**{: #FlexWallPaperAlignmentLeftBottom } | `2` | At the lower left. |
+| **FlexWallPaperAlignmentCenterTop**{: #FlexWallPaperAlignmentCenterTop } | `3` | Centered horizontally, at the top. |
+| **FlexWallPaperAlignmentCenterCenter**{: #FlexWallPaperAlignmentCenterCenter } | `4` | In the center. |
+| **FlexWallPaperAlignmentCenterBottom**{: #FlexWallPaperAlignmentCenterBottom } | `5` | Centered horizontally, at the bottom. |
+| **FlexWallPaperAlignmentRightTop**{: #FlexWallPaperAlignmentRightTop } | `6` | At the upper right. |
+| **FlexWallPaperAlignmentRightCenter**{: #FlexWallPaperAlignmentRightCenter } | `7` | At the right, centered vertically. |
+| **FlexWallPaperAlignmentRightBottom**{: #FlexWallPaperAlignmentRightBottom } | `8` | At the lower right. |
+| **FlexWallPaperAlignmentStretch**{: #FlexWallPaperAlignmentStretch } | `9` | Stretched to fill the area. This is the default. |
+| **FlexWallPaperAlignmentTile**{: #FlexWallPaperAlignmentTile } | `10` | Repeated to fill the area. |
+
+## FlexWordWrapOptions
+
+How a column breaks its text into lines and shortens text that does not fit. It is used by the [**ColWordWrapOption**](../VBFlexGrid/Text#colwordwrapoption) and [**ColWordWrapOptionFixed**](../VBFlexGrid/Text#colwordwrapoptionfixed) properties.
+
+Each member combines up to two choices: word break or single line (not both), and an ellipsis format. **FlexWordWrapNone** means a plain draw that neither breaks words nor limits the text to one line, so the text breaks only at the line breaks it contains.
+
+A column that has not set its own option reports the one that [**WordWrap**](../VBFlexGrid/Text#wordwrap), [**SingleLine**](../VBFlexGrid/Text#singleline) and [**EllipsisFormat**](../VBFlexGrid/Text#ellipsisformat) give together, so that reading [**ColWordWrapOption**](../VBFlexGrid/Text#colwordwrapoption) always returns a member. Writing -1, which is not a member, goes back to that. The fixed cells of the column have [**ColWordWrapOptionFixed**](../VBFlexGrid/Text#colwordwrapoptionfixed) in the same way.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexWordWrapNone**{: #FlexWordWrapNone } | `0` | No word break, no single line, no ellipsis. |
+| **FlexWordBreak**{: #FlexWordBreak } | `1` | Breaks the text into lines at words. |
+| **FlexSingleLine**{: #FlexSingleLine } | `2` | Shows the text on one line and ignores line breaks. |
+| **FlexEndEllipsis**{: #FlexEndEllipsis } | `3` | No word break; text that does not fit is cut at the end with an ellipsis. |
+| **FlexPathEllipsis**{: #FlexPathEllipsis } | `4` | No word break; the ellipsis replaces characters in the middle, as for a path. |
+| **FlexWordEllipsis**{: #FlexWordEllipsis } | `5` | No word break; a word that does not fit is cut with an ellipsis. |
+| **FlexWordBreakEndEllipsis**{: #FlexWordBreakEndEllipsis } | `6` | Word break, with an end ellipsis. |
+| **FlexWordBreakPathEllipsis**{: #FlexWordBreakPathEllipsis } | `7` | Word break, with a path ellipsis. |
+| **FlexWordBreakWordEllipsis**{: #FlexWordBreakWordEllipsis } | `8` | Word break, with a word ellipsis. |
+| **FlexSingleLineEndEllipsis**{: #FlexSingleLineEndEllipsis } | `9` | Single line, with an end ellipsis. |
+| **FlexSingleLinePathEllipsis**{: #FlexSingleLinePathEllipsis } | `10` | Single line, with a path ellipsis. |
+| **FlexSingleLineWordEllipsis**{: #FlexSingleLineWordEllipsis } | `11` | Single line, with a word ellipsis. |
+
+![A grid with the same long sentence in two columns. The Wrapped column, set to FlexWordBreak, breaks it over three lines; the Ellipsis column, set to FlexSingleLineEndEllipsis, shows one line ending in an ellipsis. A third column, Contract, shows Full time and Contractor for the stored keys 1 and 3, through ColLookup.](../VBFlexGrid/Images/Text_Wrapping.png){:width="364" height="145"}
+
+A column that sets no option reports the combination of the grid's properties:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .WordWrap = True
+    .EllipsisFormat = FlexEllipsisFormatEnd
+    Debug.Print .ColWordWrapOption(0) = FlexWordBreakEndEllipsis ' True
+    .ColWordWrapOption(0) = FlexSingleLine
+    Debug.Print .ColWordWrapOption(0) ' 2
+    .ColWordWrapOption(0) = -1
+    Debug.Print .ColWordWrapOption(0) ' 6
+End With
+```
diff --git a/docs/Reference/Contributed/VBFLXGRD18/Enumerations/EditingAndComboBoxes.md b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/EditingAndComboBoxes.md
new file mode 100644
index 000000000..c403150a9
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/EditingAndComboBoxes.md
@@ -0,0 +1,231 @@
+---
+title: Editing, Combo Boxes and Check Boxes
+parent: Enumerations
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/Enumerations/EditingAndComboBoxes
+nav_order: 2
+---
+
+# Editing, Combo Boxes and Check Boxes
+{: .no_toc }
+
+The 13 enumerations that the topic pages [Editing Cells](../VBFlexGrid/Editing), [Drop-Down Lists, Buttons and Calendars](../VBFlexGrid/ComboEditing), [Check Boxes](../VBFlexGrid/CheckBoxes) and [Data Binding](../VBFlexGrid/DataBinding) of the [**VBFlexGrid**](../VBFlexGrid/) control use are listed here in alphabetical order. Every enumeration is declared inside the control, and its members are written without a qualifier or with the name of the enumeration, as in `FlexChecked` or `FlexCheckBoxConstants.FlexChecked`.
+
+* TOC
+{:toc}
+
+## FlexCellCheckReasonConstants
+
+How the user changed the check box of a cell, as the **Reason** argument of the [**CellBeforeCheck**](../VBFlexGrid/CheckBoxes#cellbeforecheck) event reports it.
+
+Setting [**CellChecked**](../VBFlexGrid/CheckBoxes#cellchecked) from code raises no [**CellBeforeCheck**](../VBFlexGrid/CheckBoxes#cellbeforecheck) event, so no member stands for code.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexCellCheckReasonMouse**{: #FlexCellCheckReasonMouse } | `0` | The user clicked the check box or double-clicked it. |
+| **FlexCellCheckReasonKeyboard**{: #FlexCellCheckReasonKeyboard } | `1` | The user pressed the space key. |
+
+## FlexCheckBoxAlignmentConstants
+
+Where a check box is drawn in a cell. It is used by the [**ColCheckBoxAlignment**](../VBFlexGrid/CheckBoxes#colcheckboxalignment) and [**FixedCheckBoxAlignment**](../VBFlexGrid/CheckBoxes#fixedcheckboxalignment) properties.
+
+[**FixedCheckBoxAlignment**](../VBFlexGrid/CheckBoxes#fixedcheckboxalignment) also accepts -1, which is not a member: the fixed cells then use the alignment of [**ColCheckBoxAlignment**](../VBFlexGrid/CheckBoxes#colcheckboxalignment).
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexCheckBoxAlignmentLeftTop**{: #FlexCheckBoxAlignmentLeftTop } | `0` | At the left, at the top of the cell. |
+| **FlexCheckBoxAlignmentLeftCenter**{: #FlexCheckBoxAlignmentLeftCenter } | `1` | At the left, centered vertically. |
+| **FlexCheckBoxAlignmentLeftBottom**{: #FlexCheckBoxAlignmentLeftBottom } | `2` | At the left, at the bottom of the cell. |
+| **FlexCheckBoxAlignmentCenterTop**{: #FlexCheckBoxAlignmentCenterTop } | `3` | Centered horizontally, at the top. |
+| **FlexCheckBoxAlignmentCenterCenter**{: #FlexCheckBoxAlignmentCenterCenter } | `4` | Centered horizontally and vertically. |
+| **FlexCheckBoxAlignmentCenterBottom**{: #FlexCheckBoxAlignmentCenterBottom } | `5` | Centered horizontally, at the bottom. |
+| **FlexCheckBoxAlignmentRightTop**{: #FlexCheckBoxAlignmentRightTop } | `6` | At the right, at the top of the cell. |
+| **FlexCheckBoxAlignmentRightCenter**{: #FlexCheckBoxAlignmentRightCenter } | `7` | At the right, centered vertically. |
+| **FlexCheckBoxAlignmentRightBottom**{: #FlexCheckBoxAlignmentRightBottom } | `8` | At the right, at the bottom of the cell. |
+| **FlexCheckBoxAlignmentUsePictureAlignment**{: #FlexCheckBoxAlignmentUsePictureAlignment } | `9` | The check box takes its horizontal position from the alignment of the cell's picture: left for the left alignments, centered for the centered, stretched and tiled ones, right for the right alignments, and always centered vertically. This is the default of [**ColCheckBoxAlignment**](../VBFlexGrid/CheckBoxes#colcheckboxalignment). |
+
+## FlexCheckBoxConstants
+
+The state of the check box of a cell, which [**CellChecked**](../VBFlexGrid/CheckBoxes#cellchecked) reads and writes.
+
+A cell without a check box has the state -1. In a column whose [**ColCheckBoxes**](../VBFlexGrid/CheckBoxes#colcheckboxes) is **True**, a cell below the fixed rows whose own state is **FlexNoCheckBox** reads as **FlexUnchecked** and shows an unchecked box. Nothing is stored in the cell, so it reads -1 again once **ColCheckBoxes** is set back to **False**. **FlexNoCheckBoxEver** keeps a check box away from one cell of such a column, such as a cell of a frozen row.
+
+The four **Disabled** members draw the same four states grayed and ignore the user. **FlexTextAsCheckBox** takes its state from the text of the cell: empty text (such as a database null) shows the grayed state, and any other text is converted to **True** for the checked state or **False** for the unchecked one. The cell does not draw its text, and the program must change the text itself when the [**CellCheck**](../VBFlexGrid/CheckBoxes#cellcheck) event reports a click.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexNoCheckBoxEver**{: #FlexNoCheckBoxEver } | `-2` | The cell never has a check box, even in a column whose [**ColCheckBoxes**](../VBFlexGrid/CheckBoxes#colcheckboxes) is **True**. |
+| **FlexNoCheckBox**{: #FlexNoCheckBox } | `-1` | The cell has no check box of its own. In a column with [**ColCheckBoxes**](../VBFlexGrid/CheckBoxes#colcheckboxes) it reads and shows as **FlexUnchecked**. |
+| **FlexUnchecked**{: #FlexUnchecked } | `0` | An unchecked check box. |
+| **FlexChecked**{: #FlexChecked } | `1` | A checked check box. |
+| **FlexGrayed**{: #FlexGrayed } | `2` | A grayed (indeterminate) check box. |
+| **FlexTextAsCheckBox**{: #FlexTextAsCheckBox } | `3` | A check box whose state follows the text of the cell. |
+| **FlexDisabledUnchecked**{: #FlexDisabledUnchecked } | `4` | A disabled, unchecked check box. |
+| **FlexDisabledChecked**{: #FlexDisabledChecked } | `5` | A disabled, checked check box. |
+| **FlexDisabledGrayed**{: #FlexDisabledGrayed } | `6` | A disabled, grayed check box. |
+| **FlexDisabledTextAsCheckBox**{: #FlexDisabledTextAsCheckBox } | `7` | A disabled check box whose state follows the text of the cell. |
+
+![A grid with one row for each state, named in its first column, and the check box in its second: an empty box, a checked box and a box with a filled square for the grayed state, the same three in light gray for the disabled states, and a checked box for FlexTextAsCheckBox, whose cell holds the text 1.](../VBFlexGrid/Images/CheckBoxes_States.png){:width="257" height="208"}
+
+Setting and reading the state, and the text of a cell that stands for a check box:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 2
+    .FixedRows = 1
+    .FixedCols = 0
+    .Row = 1
+    .Col = 0
+    Debug.Print .CellChecked ' -1
+    .CellChecked = FlexChecked
+    Debug.Print .CellChecked ' 1
+    .TextMatrix(1, 0) = "True"
+    .CellChecked = FlexTextAsCheckBox
+    Debug.Print .CellChecked ' 3
+    Debug.Print .Cell(FlexCellTextHidden) ' True
+End With
+```
+
+## FlexCheckBoxDrawModeConstants
+
+Who draws the check boxes of the grid. It is used by the [**CheckBoxDrawMode**](../VBFlexGrid/CheckBoxes#checkboxdrawmode) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexCheckBoxDrawModeNormal**{: #FlexCheckBoxDrawModeNormal } | `0` | The control draws the check boxes. |
+| **FlexCheckBoxDrawModeOwnerDraw**{: #FlexCheckBoxDrawModeOwnerDraw } | `1` | The program draws them in the [**CheckBoxOwnerDraw**](../VBFlexGrid/CheckBoxes#checkboxownerdraw) event. |
+
+## FlexComboButtonDrawModeConstants
+
+Who draws the combo buttons of the grid. It is used by the [**ComboButtonDrawMode**](../VBFlexGrid/ComboEditing#combobuttondrawmode) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexComboButtonDrawModeNormal**{: #FlexComboButtonDrawModeNormal } | `0` | The control draws the button. With [**ComboMode**](../VBFlexGrid/ComboEditing#combomode) **FlexComboModeButton** a picture from [**ComboButtonPicture**](../VBFlexGrid/ComboEditing#combobuttonpicture) replaces the ellipsis. |
+| **FlexComboButtonDrawModeOwnerDraw**{: #FlexComboButtonDrawModeOwnerDraw } | `1` | The program draws the button in the [**ComboButtonOwnerDraw**](../VBFlexGrid/ComboEditing#combobuttonownerdraw) event. |
+
+## FlexComboButtonValueConstants
+
+The state of the combo button of the cell being edited, which [**ComboButtonValue**](../VBFlexGrid/ComboEditing#combobuttonvalue) reads and writes.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexComboButtonValueUnpressed**{: #FlexComboButtonValueUnpressed } | `0` | The normal state. A drop-down list or calendar closes. |
+| **FlexComboButtonValuePressed**{: #FlexComboButtonValuePressed } | `1` | Drops the list or calendar down, or, with [**ComboMode**](../VBFlexGrid/ComboEditing#combomode) **FlexComboModeButton**, raises the [**ComboButtonClick**](../VBFlexGrid/ComboEditing#combobuttonclick) event. |
+| **FlexComboButtonValueDisabled**{: #FlexComboButtonValueDisabled } | `2` | The button is grayed and cannot be clicked. A drop-down list or calendar closes. |
+
+## FlexComboCueConstants
+
+The combo cue of a cell: the drop-down arrow or the button that shows a cell can be edited with a list or a custom editor. It is used by the [**CellComboCue**](../VBFlexGrid/ComboEditing#cellcombocue), [**ColComboCue**](../VBFlexGrid/ComboEditing#colcombocue) and [**ComboCue**](../VBFlexGrid/ComboEditing#combocue) properties.
+
+A cue is drawn where editing is possible ([**AllowUserEditing**](../VBFlexGrid/Editing#allowuserediting) is **True**, or [**AlwaysAllowComboCues**](../VBFlexGrid/ComboEditing#alwaysallowcombocues) is **True**). The cue of a cell comes from the first of [**CellComboCue**](../VBFlexGrid/ComboEditing#cellcombocue), [**ColComboCue**](../VBFlexGrid/ComboEditing#colcombocue) and [**ComboCue**](../VBFlexGrid/ComboEditing#combocue) that is not **FlexComboCueNone**. [**ColComboCue**](../VBFlexGrid/ComboEditing#colcombocue) does not apply to the fixed rows, and [**ComboCue**](../VBFlexGrid/ComboEditing#combocue) applies only to the cell given by [**ComboCueRow**](../VBFlexGrid/ComboEditing#combocuerow) and [**ComboCueCol**](../VBFlexGrid/ComboEditing#combocuecol), the current cell when they are -1. Clicking a cue starts editing and drops the list down or presses the button.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexComboCueHidden**{: #FlexComboCueHidden } | `-1` | No cue, although a column cue or the grid's cue would apply. It takes one cell, such as a cell of a frozen row, out of the cue of its column. |
+| **FlexComboCueNone**{: #FlexComboCueNone } | `0` | No cue of this level: the next level decides. |
+| **FlexComboCueDropDown**{: #FlexComboCueDropDown } | `1` | A drop-down arrow. |
+| **FlexComboCueButton**{: #FlexComboCueButton } | `2` | A button. |
+| **FlexComboCueDisabledDropDown**{: #FlexComboCueDisabledDropDown } | `3` | A grayed drop-down arrow, which the user cannot click. |
+| **FlexComboCueDisabledButton**{: #FlexComboCueDisabledButton } | `4` | A grayed button, which the user cannot click. |
+
+![A grid of staff before any cell is edited. Every cell of the Notes column has a cue with an ellipsis at its right edge, and every cell of the Contract and Started columns a drop-down arrow. The cue of Contractor is disabled and drawn in gray.](../VBFlexGrid/Images/ComboEditing_Cues.png){:width="384" height="169"}
+
+## FlexComboDropDownReasonConstants
+
+Why a drop-down list or calendar is about to drop down, as the **Reason** argument of the [**ComboBeforeDropDown**](../VBFlexGrid/ComboEditing#combobeforedropdown) event reports it.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexComboDropDownReasonCode**{: #FlexComboDropDownReasonCode } | `0` | Program code: [**ComboButtonValue**](../VBFlexGrid/ComboEditing#combobuttonvalue) set to **FlexComboButtonValuePressed**. |
+| **FlexComboDropDownReasonInitialize**{: #FlexComboDropDownReasonInitialize } | `1` | Editing has just started and the list or calendar drops down at once. |
+| **FlexComboDropDownReasonMouse**{: #FlexComboDropDownReasonMouse } | `2` | The user clicked the combo button. |
+| **FlexComboDropDownReasonKeyboard**{: #FlexComboDropDownReasonKeyboard } | `3` | The user pressed F4, Alt+Up or Alt+Down. |
+
+## FlexComboModeConstants
+
+How a cell is edited with a combo: by a list, by a button or by a calendar. It is used by the [**ColComboMode**](../VBFlexGrid/ComboEditing#colcombomode) and [**ComboMode**](../VBFlexGrid/ComboEditing#combomode) properties.
+
+A column's [**ColComboMode**](../VBFlexGrid/ComboEditing#colcombomode) takes precedence over the grid's [**ComboMode**](../VBFlexGrid/ComboEditing#combomode), unless it is **FlexComboModeNone**: the column then uses the grid's setting.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexComboModeNone**{: #FlexComboModeNone } | `0` | Normal editing with the text box only. |
+| **FlexComboModeDropDown**{: #FlexComboModeDropDown } | `1` | The user changes the text only by choosing an item of the drop-down list, which drops down as editing starts. |
+| **FlexComboModeEditable**{: #FlexComboModeEditable } | `2` | The user types the text or chooses an item of the drop-down list. |
+| **FlexComboModeButton**{: #FlexComboModeButton } | `3` | The text box is followed by a button, which raises [**ComboButtonClick**](../VBFlexGrid/ComboEditing#combobuttonclick) so that the program can open a custom editor. [**ComboItems**](../VBFlexGrid/ComboEditing#comboitems) is ignored. |
+| **FlexComboModeCalendar**{: #FlexComboModeCalendar } | `4` | The drop-down is a calendar. The program checks the date in the [**ValidateEdit**](../VBFlexGrid/Editing#validateedit) event. When the text box is read-only the calendar drops down at once and a click on a date commits it. |
+
+![The cell Part time edited in FlexComboModeDropDown: its text is selected in the box, a drop-down button is at the box's right edge, and the list below the cell offers Full time, Part time, which is highlighted, and Contractor.](../VBFlexGrid/Images/ComboEditing_DropDown.png){:width="384" height="169"}
+
+![The date 2023-11-02 edited in FlexComboModeCalendar: a drop-down button is at the box's right edge, and a month calendar below the cell, reaching past the form, shows November 2023 with the 2nd selected.](../VBFlexGrid/Images/ComboEditing_Calendar.png){:width="474" height="262"}
+
+## FlexDataSourceFlags
+
+Options that a custom data source returns from the [**GetFlags**](../IVBFlexDataSource2#getflags) method of the **IVBFlexDataSource2** interface.
+
+The values are bits, combined with **Or**. A custom data source that does not implement **IVBFlexDataSource2** has no flags.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexDataSourceUnboundFixedColumns**{: #FlexDataSourceUnboundFixedColumns } | `1` | The fixed columns are not fed by the data source: the field with number 0 appears in the first column after them, and the fixed cells keep the text that the grid holds. |
+| **FlexDataSourceNoData**{: #FlexDataSourceNoData } | `2` | The data source provides the fields and records, but the grid keeps its own cell texts. The functions that a data source normally disables (such as [**Sort**](../VBFlexGrid/SortingAndSearching#sort)) then work. |
+| **FlexDataSourceNoFieldNames**{: #FlexDataSourceNoFieldNames } | `4` | The grid does not ask for field names, and leaves the fixed row alone. |
+| **FlexDataSourceToolTipText**{: #FlexDataSourceToolTipText } | `8` | The grid asks the data source for the tool tip of each cell. |
+| **FlexDataSourceChecked**{: #FlexDataSourceChecked } | `16` | The grid asks the data source for the check box state of each cell in a column whose [**ColCheckBoxes**](../VBFlexGrid/CheckBoxes#colcheckboxes) is **True**. |
+
+Combining the flags and testing one:
+
+```tb check_build check_run
+Dim Flags As Long
+Flags = FlexDataSourceNoData Or FlexDataSourceChecked
+Debug.Print Flags ' 18
+Debug.Print (Flags And FlexDataSourceChecked) <> 0 ' True
+Debug.Print (Flags And FlexDataSourceToolTipText) <> 0 ' False
+```
+
+## FlexEditCloseModeConstants
+
+How the last edit of a cell ended, as [**EditCloseMode**](../VBFlexGrid/Editing#editclosemode) and the **CloseMode** argument of the [**EditQueryClose**](../VBFlexGrid/Editing#editqueryclose) event report it. **EditQueryClose** is not raised when the edit loses the focus, so its *CloseMode* is never **FlexEditCloseModeLostFocus**. **EditCloseMode** is -1, which is not a member, before the first edit and while an edit is open.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexEditCloseModeCode**{: #FlexEditCloseModeCode } | `0` | A call of [**CommitEdit**](../VBFlexGrid/Editing#commitedit) or [**CancelEdit**](../VBFlexGrid/Editing#canceledit). |
+| **FlexEditCloseModeLostFocus**{: #FlexEditCloseModeLostFocus } | `1` | The text box lost the focus. |
+| **FlexEditCloseModeEscape**{: #FlexEditCloseModeEscape } | `2` | The user pressed Esc, which cancels the edit. |
+| **FlexEditCloseModeReturn**{: #FlexEditCloseModeReturn } | `3` | The user pressed Enter, chose an item of a **FlexComboModeDropDown** list with the mouse, or clicked a date in a calendar whose box is locked. |
+| **FlexEditCloseModeTab**{: #FlexEditCloseModeTab } | `4` | The user pressed Tab while [**TabBehavior**](../VBFlexGrid/Selection#tabbehavior) is not **FlexTabControls**. With **FlexTabControls**, the default, Tab moves the focus away and the edit ends with **FlexEditCloseModeLostFocus**. |
+| **FlexEditCloseModeShiftTab**{: #FlexEditCloseModeShiftTab } | `5` | The user pressed Shift+Tab while [**TabBehavior**](../VBFlexGrid/Selection#tabbehavior) is not **FlexTabControls**. |
+| **FlexEditCloseModeNavigationKey**{: #FlexEditCloseModeNavigationKey } | `6` | The user pressed a navigation key while no text was selected and the caret was already at the edge that the key points to: Left at the start of the text, Right at the end, Up in the first line, Down in the last line, Home or End at the start or end of the line, or Page Up or Page Down. |
+
+## FlexEditReasonConstants
+
+What started the edit of a cell. It is used by the [**EditReason**](../VBFlexGrid/Editing#editreason) property and the **Reason** argument of the [**BeforeEdit**](../VBFlexGrid/Editing#beforeedit) and [**ComboCueClick**](../VBFlexGrid/ComboEditing#combocueclick) events.
+
+The reason also decides what the text box shows first. With **FlexEditReasonSpace** and **FlexEditReasonReturn** the caret goes to the end of the text, with **FlexEditReasonBackSpace** the text is cleared unless the box is locked, and with any other reason the whole text is selected. The four combo reasons start editing of a cell that has a combo cue and drop the list down or press the button at once.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexEditReasonCode**{: #FlexEditReasonCode } | `0` | A call of [**StartEdit**](../VBFlexGrid/Editing#startedit). |
+| **FlexEditReasonF2**{: #FlexEditReasonF2 } | `1` | The user pressed F2. |
+| **FlexEditReasonSpace**{: #FlexEditReasonSpace } | `2` | The user pressed the space key without Shift, on a cell that has no check box (the space key changes the check box of a cell that has one). |
+| **FlexEditReasonKeyPress**{: #FlexEditReasonKeyPress } | `3` | The user typed a character. |
+| **FlexEditReasonDblClick**{: #FlexEditReasonDblClick } | `4` | The user double-clicked the cell. |
+| **FlexEditReasonBackSpace**{: #FlexEditReasonBackSpace } | `5` | The user pressed Backspace without Shift. |
+| **FlexEditReasonReturn**{: #FlexEditReasonReturn } | `6` | The user pressed Enter without Shift, while [**DirectionAfterReturn**](../VBFlexGrid/Selection#directionafterreturn) is **FlexDirectionAfterReturnEdit**. |
+| **FlexEditReasonComboCueClick**{: #FlexEditReasonComboCueClick } | `10` | The user clicked the combo cue. |
+| **FlexEditReasonComboCueDblClick**{: #FlexEditReasonComboCueDblClick } | `11` | The user double-clicked the combo cue. |
+| **FlexEditReasonComboCueF4**{: #FlexEditReasonComboCueF4 } | `12` | The user pressed F4 on a cell with a combo cue. |
+| **FlexEditReasonComboCueAltUpDown**{: #FlexEditReasonComboCueAltUpDown } | `13` | The user pressed Alt+Up or Alt+Down on a cell with a combo cue. |
+
+## FlexLeftRightAlignmentConstants
+
+On which side of a cell the combo button or the sort arrow sits. It is used by the [**ColComboButtonAlignment**](../VBFlexGrid/ComboEditing#colcombobuttonalignment), [**ColSortArrowAlignment**](../VBFlexGrid/SortingAndSearching#colsortarrowalignment) and [**ComboButtonAlignment**](../VBFlexGrid/ComboEditing#combobuttonalignment) properties.
+
+A column's [**ColComboButtonAlignment**](../VBFlexGrid/ComboEditing#colcombobuttonalignment) takes precedence over the grid's [**ComboButtonAlignment**](../VBFlexGrid/ComboEditing#combobuttonalignment) when it is not -1, which is not a member.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexLeftRightAlignmentLeft**{: #FlexLeftRightAlignmentLeft } | `0` | At the left edge of the cell. |
+| **FlexLeftRightAlignmentRight**{: #FlexLeftRightAlignmentRight } | `1` | At the right edge of the cell. This is the default of [**ComboButtonAlignment**](../VBFlexGrid/ComboEditing#combobuttonalignment) and of [**ColSortArrowAlignment**](../VBFlexGrid/SortingAndSearching#colsortarrowalignment). |
diff --git a/docs/Reference/Contributed/VBFLXGRD18/Enumerations/SelectionAndInput.md b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/SelectionAndInput.md
new file mode 100644
index 000000000..6e483b068
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/SelectionAndInput.md
@@ -0,0 +1,448 @@
+---
+title: Selection, Mouse, Sorting and Clipboard
+parent: Enumerations
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/Enumerations/SelectionAndInput
+nav_order: 3
+---
+
+# Selection, Mouse, Sorting and Clipboard
+{: .no_toc }
+
+The 23 enumerations that the topic pages [Current Cell and Selection](../VBFlexGrid/Selection), [Scrolling](../VBFlexGrid/Scrolling), [Mouse, Keyboard and Drag and Drop](../VBFlexGrid/MouseAndKeyboard), [Sorting and Searching](../VBFlexGrid/SortingAndSearching) and [Clipboard, Undo and Arrays](../VBFlexGrid/ClipboardAndArrays) of the [**VBFlexGrid**](../VBFlexGrid/) control use are listed here in alphabetical order. Every enumeration is declared inside the control, and its members are written without a qualifier or with the name of the enumeration, as in `FlexSortStringAscending` or `FlexSortConstants.FlexSortStringAscending`.
+
+* TOC
+{:toc}
+
+## FlexArrayOrderConstants
+
+The order in which [**SaveArray**](../VBFlexGrid/ClipboardAndArrays#savearray) writes the cells of the grid into an array.
+
+With the **OneDim** argument of [**SaveArray**](../VBFlexGrid/ClipboardAndArrays#savearray) set, the order is the order of the items in the one-dimensional array. Otherwise it decides which dimension of the two-dimensional array holds the rows and which the columns.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexRowMajor**{: #FlexRowMajor } | `0` | The array holds the rows in its first dimension and the columns in its second. |
+| **FlexColumnMajor**{: #FlexColumnMajor } | `1` | The array holds the columns in its first dimension and the rows in its second. This is the default of [**SaveArray**](../VBFlexGrid/ClipboardAndArrays#savearray), which makes its result match what [**LoadArray**](../VBFlexGrid/ClipboardAndArrays#loadarray) reads. |
+
+Reading a grid of two rows and three columns in both orders:
+
+```tb check_build check_run arch=win32,win64
+Dim A As Variant
+With VBFlexGrid1
+    .FixedRows = 0
+    .FixedCols = 0
+    .Rows = 2
+    .Cols = 3
+    A = .SaveArray(FlexRowMajor)
+    Debug.Print UBound(A, 1); UBound(A, 2) ' 1  2
+    A = .SaveArray(FlexColumnMajor)
+    Debug.Print UBound(A, 1); UBound(A, 2) ' 2  1
+End With
+```
+
+## FlexClipboardActionConstants
+
+The clipboard action that the [**BeforeClipboardAction**](../VBFlexGrid/ClipboardAndArrays#beforeclipboardaction) and [**AfterClipboardAction**](../VBFlexGrid/ClipboardAndArrays#afterclipboardaction) events report.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexClipboardActionCopy**{: #FlexClipboardActionCopy } | `0` | The [**Copy**](../VBFlexGrid/ClipboardAndArrays#copy) method or the user's copy shortcut. |
+| **FlexClipboardActionCut**{: #FlexClipboardActionCut } | `1` | The [**Cut**](../VBFlexGrid/ClipboardAndArrays#cut) method or the user's cut shortcut. |
+| **FlexClipboardActionPaste**{: #FlexClipboardActionPaste } | `2` | The [**Paste**](../VBFlexGrid/ClipboardAndArrays#paste) method or the user's paste shortcut. |
+| **FlexClipboardActionDelete**{: #FlexClipboardActionDelete } | `3` | The [**Delete**](../VBFlexGrid/ClipboardAndArrays#delete) method or the user's Delete key. |
+
+## FlexClipCopyModeConstants
+
+What the [**Copy**](../VBFlexGrid/ClipboardAndArrays#copy) method puts on the clipboard and what the [**Clip**](../VBFlexGrid/ClipboardAndArrays#clip) property returns. It is used by the [**ClipCopyMode**](../VBFlexGrid/ClipboardAndArrays#clipcopymode) property.
+
+The mode affects the [**Copy**](../VBFlexGrid/ClipboardAndArrays#copy) method and reading [**Clip**](../VBFlexGrid/ClipboardAndArrays#clip). Writing [**Clip**](../VBFlexGrid/ClipboardAndArrays#clip) ignores it, so keep **FlexClipCopyModeNormal** when reading and writing must match.
+
+The values are bits: 1 adds the fixed rows, 2 adds the fixed columns, and 4 selects the extended clip. **FlexClipCopyModeIncludeFixedAll** (3) is 1 plus 2, and the four members from 4 to 7 are 4 plus the first four. The extended clip holds all the cells that are drawn selected, not only the rectangle between **Row**, **Col** and **RowSel**, **ColSel**: with the selection modes **FlexSelectionModeFreeByRow** and **FlexSelectionModeFreeByColumn** it spans whole rows or columns, and with [**AllowMultiSelection**](../VBFlexGrid/Selection#allowmultiselection) it holds every selected row, in the columns of the range.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexClipCopyModeNormal**{: #FlexClipCopyModeNormal } | `0` | The selected cells only. |
+| **FlexClipCopyModeIncludeFixedRows**{: #FlexClipCopyModeIncludeFixedRows } | `1` | The fixed rows, then the selected cells. |
+| **FlexClipCopyModeIncludeFixedColumns**{: #FlexClipCopyModeIncludeFixedColumns } | `2` | The selected cells with the fixed columns. |
+| **FlexClipCopyModeIncludeFixedAll**{: #FlexClipCopyModeIncludeFixedAll } | `3` | The selected cells with the fixed rows and the fixed columns. |
+| **FlexClipCopyModeExtended**{: #FlexClipCopyModeExtended } | `4` | The extended clip. |
+| **FlexClipCopyModeExtendedFixedRows**{: #FlexClipCopyModeExtendedFixedRows } | `5` | The extended clip with the fixed rows. |
+| **FlexClipCopyModeExtendedFixedColumns**{: #FlexClipCopyModeExtendedFixedColumns } | `6` | The extended clip with the fixed columns. |
+| **FlexClipCopyModeExtendedFixedAll**{: #FlexClipCopyModeExtendedFixedAll } | `7` | The extended clip with the fixed rows and the fixed columns. |
+
+The clip of a selection of two cells, without and with the fixed row, written with a comma between columns and a semicolon between rows:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 3
+    .FixedRows = 1
+    .FixedCols = 1
+    .TextMatrix(0, 1) = "A"
+    .TextMatrix(0, 2) = "B"
+    .TextMatrix(1, 1) = "a1"
+    .TextMatrix(1, 2) = "b1"
+    .TextMatrix(2, 1) = "a2"
+    .TextMatrix(2, 2) = "b2"
+    .ClipSeparatorCol = ","
+    .ClipSeparatorRow = ";"
+    .Row = 1
+    .Col = 1
+    .RowSel = 2
+    .ColSel = 2
+    Debug.Print .Clip ' a1,b1;a2,b2
+    .ClipCopyMode = FlexClipCopyModeIncludeFixedRows
+    Debug.Print .Clip ' A,B;a1,b1;a2,b2
+    Debug.Print (FlexClipCopyModeExtendedFixedRows And FlexClipCopyModeIncludeFixedRows) <> 0 ' True
+End With
+```
+
+## FlexClipModeConstants
+
+Whether clip operations include hidden cells and whether they translate lookup values. It is used by the [**ClipMode**](../VBFlexGrid/ClipboardAndArrays#clipmode) property.
+
+The mode applies to the [**Clip**](../VBFlexGrid/ClipboardAndArrays#clip) property, to the clipboard methods and to [**AddItem**](../VBFlexGrid/Structure#additem). The translation of the lookup members works only in columns that have a lookup defined with [**ColLookup**](../VBFlexGrid/Text#collookup).
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexClipModeNormal**{: #FlexClipModeNormal } | `0` | Hidden rows and columns are included. The text of the cells is used as it is. This is the default. |
+| **FlexClipModeExcludeHidden**{: #FlexClipModeExcludeHidden } | `1` | Hidden rows and columns are left out. |
+| **FlexClipModeLookupConv**{: #FlexClipModeLookupConv } | `2` | Reading a clip returns the value of each lookup key, and writing a clip translates each value back to its key. Hidden cells are included. |
+| **FlexClipModeLookupConvExcludeHidden**{: #FlexClipModeLookupConvExcludeHidden } | `3` | The lookup translation of **FlexClipModeLookupConv**, with hidden rows and columns left out. |
+
+## FlexClipPasteModeConstants
+
+Where pasted text goes and what is selected afterwards, for the [**Paste**](../VBFlexGrid/ClipboardAndArrays#paste) method and for writing the [**Clip**](../VBFlexGrid/ClipboardAndArrays#clip) property. It is used by the [**ClipPasteMode**](../VBFlexGrid/ClipboardAndArrays#clippastemode) property.
+
+With the two normal modes the pasted text fills the current selection only, and text that does not fit is ignored. **FlexClipPasteModeAutoSelection** pastes at the first cell of the selection and then selects exactly the cells that the text covers, as far as the grid reaches; the new selection can be smaller than the old one. The two extended modes work with the extended selection of the selection modes **FlexSelectionModeFreeByRow** and **FlexSelectionModeFreeByColumn**, the way **FlexClipCopyModeExtended** does when copying. Only **FlexClipPasteModeExtended** writes into every selected row of a multiple selection ([**AllowMultiSelection**](../VBFlexGrid/Selection#allowmultiselection)). Both extended modes make [**Delete**](../VBFlexGrid/ClipboardAndArrays#delete) and [**Cut**](../VBFlexGrid/ClipboardAndArrays#cut) clear the extended selection, a multiple selection included.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexClipPasteModeNormal**{: #FlexClipPasteModeNormal } | `0` | Paste into the selection. |
+| **FlexClipPasteModeAutoSelection**{: #FlexClipPasteModeAutoSelection } | `1` | Paste, then select the pasted cells. |
+| **FlexClipPasteModeExtended**{: #FlexClipPasteModeExtended } | `2` | Paste into the extended selection. |
+| **FlexClipPasteModeExtendedAutoSelection**{: #FlexClipPasteModeExtendedAutoSelection } | `3` | Paste into the extended selection, then select the pasted cells. |
+
+## FlexDirectionAfterReturnConstants
+
+What the Enter key does in the grid: nothing, a move of the current cell in one direction, or the start of editing. It is used by the [**DirectionAfterReturn**](../VBFlexGrid/Selection#directionafterreturn) property.
+
+A move at the edge of the grid follows [**WrapCellBehavior**](../VBFlexGrid/Selection#wrapcellbehavior): with **FlexWrapRow** a move left or right continues in the previous or next row, and with **FlexWrapGrid** every move also wraps from one end of the grid to the other. Without wrapping the current cell stays where it is.
+
+**FlexDirectionAfterReturnEdit** starts the editor with the reason **FlexEditReasonReturn** and only when no Shift key is held. A move and an edit exclude each other, which is why the choice is in this one property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexDirectionAfterReturnNone**{: #FlexDirectionAfterReturnNone } | `0` | The grid does not use the Enter key. This is the default. |
+| **FlexDirectionAfterReturnUp**{: #FlexDirectionAfterReturnUp } | `1` | Moves the current cell up. |
+| **FlexDirectionAfterReturnDown**{: #FlexDirectionAfterReturnDown } | `2` | Moves the current cell down. |
+| **FlexDirectionAfterReturnLeft**{: #FlexDirectionAfterReturnLeft } | `3` | Moves the current cell to the left. |
+| **FlexDirectionAfterReturnRight**{: #FlexDirectionAfterReturnRight } | `4` | Moves the current cell to the right. |
+| **FlexDirectionAfterReturnEdit**{: #FlexDirectionAfterReturnEdit } | `5` | Starts editing the current cell. |
+
+## FlexDropTargetModeConstants
+
+Whether a drop highlight or an insert mark applies to whole rows or to whole columns. It is used by the [**DropHighlightMode**](../VBFlexGrid/MouseAndKeyboard#drophighlightmode) and [**InsertMarkMode**](../VBFlexGrid/MouseAndKeyboard#insertmarkmode) properties.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexDropTargetModeByRow**{: #FlexDropTargetModeByRow } | `0` | Rows. This is the default. |
+| **FlexDropTargetModeByColumn**{: #FlexDropTargetModeByColumn } | `1` | Columns. |
+
+![Three grids with columns A to C and rows 1 to 6. The first has an insert mark by row, a black line between rows 3 and 4. The second has an insert mark by column, a black line between columns A and B. The third has a drop highlight on row 4, drawn in the selection colours, its header cell in black.](../VBFlexGrid/Images/MouseAndKeyboard_InsertMarks.png){:width="609" height="189"}
+
+## FlexFindDirectionConstants
+
+The direction in which [**FindItem**](../VBFlexGrid/SortingAndSearching#finditem) and [**FindTag**](../VBFlexGrid/SortingAndSearching#findtag) search, and the direction of an incremental search. It is used by the [**FindItem**](../VBFlexGrid/SortingAndSearching#finditem) and [**FindTag**](../VBFlexGrid/SortingAndSearching#findtag) methods and the [**BeginIncrementalSearch**](../VBFlexGrid/SortingAndSearching#beginincrementalsearch) and [**IncrementalSearch**](../VBFlexGrid/SortingAndSearching#incrementalsearch) events.
+
+A search down or up goes through the rows of one column, and a search to the right or left goes through the columns of one row. [**FindItem**](../VBFlexGrid/SortingAndSearching#finditem) and [**FindTag**](../VBFlexGrid/SortingAndSearching#findtag) raise error 30003 when the search starts in a fixed row (down, up) or a fixed column (right, left).
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexFindDirectionDown**{: #FlexFindDirectionDown } | `0` | Down the column, toward the last row. |
+| **FlexFindDirectionUp**{: #FlexFindDirectionUp } | `1` | Up the column, toward the first row. |
+| **FlexFindDirectionRight**{: #FlexFindDirectionRight } | `2` | Along the row, toward the last column. |
+| **FlexFindDirectionLeft**{: #FlexFindDirectionLeft } | `3` | Along the row, toward the first column. |
+
+## FlexFindMatchConstants
+
+How the text that [**FindItem**](../VBFlexGrid/SortingAndSearching#finditem) and [**FindTag**](../VBFlexGrid/SortingAndSearching#findtag) look for must match a cell.
+
+A **True** passed in place of a member (the old **Partial** argument) counts as **FlexFindMatchPartial**.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexFindMatchExact**{: #FlexFindMatchExact } | `0` | The cell holds the whole text. |
+| **FlexFindMatchPartial**{: #FlexFindMatchPartial } | `1` | The cell holds the text somewhere. |
+| **FlexFindMatchStartsWith**{: #FlexFindMatchStartsWith } | `2` | The cell starts with the text. |
+| **FlexFindMatchEndsWith**{: #FlexFindMatchEndsWith } | `3` | The cell ends with the text. |
+
+Each match kind finds a different row of the same column:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .Cols = 1
+    .FixedCols = 0
+    .Rows = 4
+    .FixedRows = 1
+    .TextMatrix(1, 0) = "alpha"
+    .TextMatrix(2, 0) = "beta"
+    .TextMatrix(3, 0) = "alphabet"
+    Debug.Print .FindItem("alpha", , , FlexFindMatchExact) ' 1
+    Debug.Print .FindItem("bet", , , FlexFindMatchExact) ' -1
+    Debug.Print .FindItem("bet", , , FlexFindMatchPartial) ' 2
+    Debug.Print .FindItem("alp", , , FlexFindMatchStartsWith) ' 1
+    Debug.Print .FindItem("bet", , , FlexFindMatchEndsWith) ' 3
+End With
+```
+
+## FlexFocusRectConstants
+
+How the focus rectangle of the current cell is drawn. It is used by the [**FocusRect**](../VBFlexGrid/Selection#focusrect) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexFocusRectNone**{: #FlexFocusRectNone } | `0` | No focus rectangle. |
+| **FlexFocusRectLight**{: #FlexFocusRectLight } | `1` | A thin dotted rectangle, as the Windows focus rectangle looks. This is the default. |
+| **FlexFocusRectHeavy**{: #FlexFocusRectHeavy } | `2` | Two dotted rectangles, one inside the other. |
+| **FlexFocusRectFlat**{: #FlexFocusRectFlat } | `3` | A solid rectangle in the color of [**BackColorSel**](../VBFlexGrid/Appearance#backcolorsel), with the width of [**FocusRectWidth**](../VBFlexGrid/Selection#focusrectwidth). |
+
+## FlexHighLightConstants
+
+When the selected cells are drawn highlighted. It is used by the [**HighLight**](../VBFlexGrid/Selection#highlight) property.
+
+While [**FocusRect**](../VBFlexGrid/Selection#focusrect) is not **FlexFocusRectNone**, the current cell is not drawn highlighted when the control has the focus: it keeps its own colors and has the focus rectangle. Without the focus the members differ in what the current cell does. With **FlexHighLightAlways** it keeps its own colors inside the highlighted selection. With **FlexHighLightAlwaysFocusRect** it is highlighted like the other selected cells.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexHighLightNever**{: #FlexHighLightNever } | `0` | The selection is not highlighted. |
+| **FlexHighLightAlways**{: #FlexHighLightAlways } | `1` | The selection is highlighted whether or not the control has the focus. This is the default. |
+| **FlexHighLightWithFocus**{: #FlexHighLightWithFocus } | `2` | The selection is highlighted only while the control has the focus. |
+| **FlexHighLightAlwaysFocusRect**{: #FlexHighLightAlwaysFocusRect } | `3` | The selection is highlighted at all times, and the current cell is highlighted with it when the control has no focus. |
+
+## FlexHitResultConstants
+
+What lies at a point of the control, as [**HitResult**](../VBFlexGrid/MouseAndKeyboard#hitresult) returns it after a call of [**HitTest**](../VBFlexGrid/MouseAndKeyboard#hittest).
+
+The divider members mean the edge of a row or a column that the user can drag. [**HitRowDivider**](../VBFlexGrid/MouseAndKeyboard#hitrowdivider) and [**HitColDivider**](../VBFlexGrid/MouseAndKeyboard#hitcoldivider) give the row or column whose size the divider changes. The frozen divider members are the edges the user drags to freeze or unfreeze rows and columns, and are reported only while [**AllowUserFreezing**](../VBFlexGrid/Structure#allowuserfreezing) permits it. The members for the combo cue and the check box are reported only for the cue or check box that is drawn, and the disabled variants stand for the grayed ones.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexHitResultNoWhere**{: #FlexHitResultNoWhere } | `0` | No part of the grid: outside the cells. |
+| **FlexHitResultCell**{: #FlexHitResultCell } | `1` | The contents of a cell. |
+| **FlexHitResultDividerRowTop**{: #FlexHitResultDividerRowTop } | `2` | The divider at the top of a row. |
+| **FlexHitResultDividerRowBottom**{: #FlexHitResultDividerRowBottom } | `3` | The divider at the bottom of a row. |
+| **FlexHitResultDividerColumnLeft**{: #FlexHitResultDividerColumnLeft } | `4` | The divider at the left edge of a column. |
+| **FlexHitResultDividerColumnRight**{: #FlexHitResultDividerColumnRight } | `5` | The divider at the right edge of a column. |
+| **FlexHitResultDividerFrozenRowTop**{: #FlexHitResultDividerFrozenRowTop } | `6` | The freeze divider at the top edge of a row. |
+| **FlexHitResultDividerFrozenRowBottom**{: #FlexHitResultDividerFrozenRowBottom } | `7` | The freeze divider at the bottom edge of a row. |
+| **FlexHitResultDividerFrozenColumnLeft**{: #FlexHitResultDividerFrozenColumnLeft } | `8` | The freeze divider at the left edge of a column. |
+| **FlexHitResultDividerFrozenColumnRight**{: #FlexHitResultDividerFrozenColumnRight } | `9` | The freeze divider at the right edge of a column. |
+| **FlexHitResultComboCue**{: #FlexHitResultComboCue } | `10` | An enabled combo cue. |
+| **FlexHitResultComboCueDisabled**{: #FlexHitResultComboCueDisabled } | `11` | A disabled combo cue. |
+| **FlexHitResultCheckBox**{: #FlexHitResultCheckBox } | `12` | An enabled check box. |
+| **FlexHitResultCheckBoxDisabled**{: #FlexHitResultCheckBoxDisabled } | `13` | A disabled check box. |
+
+## FlexIMEModeConstants
+
+The state of the input method editor (IME) while the grid or its text box has the focus. It is used by the [**IMEMode**](../VBFlexGrid/MouseAndKeyboard#imemode) property.
+
+The IME modes apply only on a system with an input method editor. The members for Japanese and Korean input set the conversion state of the editor.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexIMEModeNoControl**{: #FlexIMEModeNoControl } | `0` | The control does not change the IME. This is the default. |
+| **FlexIMEModeOn**{: #FlexIMEModeOn } | `1` | The IME is on. |
+| **FlexIMEModeOff**{: #FlexIMEModeOff } | `2` | The IME is off. |
+| **FlexIMEModeDisable**{: #FlexIMEModeDisable } | `3` | The IME is disabled and the user cannot turn it on. |
+| **FlexIMEModeHiragana**{: #FlexIMEModeHiragana } | `4` | The IME is on, with full-width hiragana. |
+| **FlexIMEModeKatakana**{: #FlexIMEModeKatakana } | `5` | The IME is on, with full-width katakana. |
+| **FlexIMEModeKatakanaHalf**{: #FlexIMEModeKatakanaHalf } | `6` | The IME is on, with half-width katakana. |
+| **FlexIMEModeAlphaFull**{: #FlexIMEModeAlphaFull } | `7` | The IME is on, with full-width alphanumeric characters. |
+| **FlexIMEModeAlpha**{: #FlexIMEModeAlpha } | `8` | The IME is on, with half-width alphanumeric characters. |
+| **FlexIMEModeHangulFull**{: #FlexIMEModeHangulFull } | `9` | The IME is on, with full-width hangul. |
+| **FlexIMEModeHangul**{: #FlexIMEModeHangul } | `10` | The IME is on, with half-width hangul. |
+
+## FlexMousePointerConstants
+
+The shape of the mouse pointer over the control. It is used by the [**MousePointer**](../VBFlexGrid/MouseAndKeyboard#mousepointer) property.
+
+The members map to Windows cursors. A value of 99 shows the picture of [**MouseIcon**](../VBFlexGrid/MouseAndKeyboard#mouseicon).
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexMousePointerDefault**{: #FlexMousePointerDefault } | `0` | The default pointer. |
+| **FlexMousePointerArrow**{: #FlexMousePointerArrow } | `1` | An arrow. |
+| **FlexMousePointerCrosshair**{: #FlexMousePointerCrosshair } | `2` | A cross. |
+| **FlexMousePointerIbeam**{: #FlexMousePointerIbeam } | `3` | An I-beam. |
+| **FlexMousePointerHand**{: #FlexMousePointerHand } | `4` | A hand. It replaces the icon pointer of the standard constants. |
+| **FlexMousePointerSizePointer**{: #FlexMousePointerSizePointer } | `5` | Four arrows, the same as **FlexMousePointerSizeAll**. |
+| **FlexMousePointerSizeNESW**{: #FlexMousePointerSizeNESW } | `6` | A double arrow pointing northeast and southwest. |
+| **FlexMousePointerSizeNS**{: #FlexMousePointerSizeNS } | `7` | A double arrow pointing north and south. |
+| **FlexMousePointerSizeNWSE**{: #FlexMousePointerSizeNWSE } | `8` | A double arrow pointing northwest and southeast. |
+| **FlexMousePointerSizeWE**{: #FlexMousePointerSizeWE } | `9` | A double arrow pointing west and east. |
+| **FlexMousePointerUpArrow**{: #FlexMousePointerUpArrow } | `10` | An up arrow. |
+| **FlexMousePointerHourglass**{: #FlexMousePointerHourglass } | `11` | An hourglass or circle: the program is busy. |
+| **FlexMousePointerNoDrop**{: #FlexMousePointerNoDrop } | `12` | A not-allowed symbol. |
+| **FlexMousePointerArrowHourglass**{: #FlexMousePointerArrowHourglass } | `13` | An arrow with an hourglass: the program is starting. |
+| **FlexMousePointerArrowQuestion**{: #FlexMousePointerArrowQuestion } | `14` | An arrow with a question mark. |
+| **FlexMousePointerSizeAll**{: #FlexMousePointerSizeAll } | `15` | Four arrows. |
+| **FlexMousePointerArrowCD**{: #FlexMousePointerArrowCD } | `16` | An arrow with a compact disc. |
+| **FlexMousePointerPin**{: #FlexMousePointerPin } | `17` | A pin. |
+| **FlexMousePointerPerson**{: #FlexMousePointerPerson } | `18` | A person. |
+| **FlexMousePointerPen**{: #FlexMousePointerPen } | `19` | A pen. |
+| **FlexMousePointerScrollN**{: #FlexMousePointerScrollN } | `20` | A scroll pointer pointing north. |
+| **FlexMousePointerScrollS**{: #FlexMousePointerScrollS } | `21` | A scroll pointer pointing south. |
+| **FlexMousePointerScrollE**{: #FlexMousePointerScrollE } | `22` | A scroll pointer pointing east. |
+| **FlexMousePointerScrollW**{: #FlexMousePointerScrollW } | `23` | A scroll pointer pointing west. |
+| **FlexMousePointerScrollNS**{: #FlexMousePointerScrollNS } | `24` | A scroll pointer pointing north and south. |
+| **FlexMousePointerScrollWE**{: #FlexMousePointerScrollWE } | `25` | A scroll pointer pointing west and east. |
+| **FlexMousePointerScrollNW**{: #FlexMousePointerScrollNW } | `26` | A scroll pointer pointing northwest. |
+| **FlexMousePointerScrollNE**{: #FlexMousePointerScrollNE } | `27` | A scroll pointer pointing northeast. |
+| **FlexMousePointerScrollSW**{: #FlexMousePointerScrollSW } | `28` | A scroll pointer pointing southwest. |
+| **FlexMousePointerScrollSE**{: #FlexMousePointerScrollSE } | `29` | A scroll pointer pointing southeast. |
+| **FlexMousePointerScrollAll**{: #FlexMousePointerScrollAll } | `30` | A scroll pointer pointing in all directions. |
+| **FlexMousePointerCustom**{: #FlexMousePointerCustom } | `99` | The picture of [**MouseIcon**](../VBFlexGrid/MouseAndKeyboard#mouseicon). |
+
+## FlexOLEDropModeConstants
+
+Whether the control accepts OLE drops. It is used by the [**OLEDropMode**](../VBFlexGrid/MouseAndKeyboard#oledropmode) property.
+
+The members have the values of the standard **vbOLEDropNone** and **vbOLEDropManual** constants.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexOLEDropModeNone**{: #FlexOLEDropModeNone } | `vbOLEDropNone` (0) | The control accepts no OLE drop. |
+| **FlexOLEDropModeManual**{: #FlexOLEDropModeManual } | `vbOLEDropManual` (1) | The program handles the OLE drop events itself. |
+
+## FlexScrollOrientationConstants
+
+The directions in which the grid scrolls by itself while an OLE drag moves near its edge. It is used by the [**OLEDragDropScrollOrientation**](../VBFlexGrid/MouseAndKeyboard#oledragdropscrollorientation) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexScrollOrientationHorizontal**{: #FlexScrollOrientationHorizontal } | `0` | Horizontally only. |
+| **FlexScrollOrientationVertical**{: #FlexScrollOrientationVertical } | `1` | Vertically only. |
+| **FlexScrollOrientationBoth**{: #FlexScrollOrientationBoth } | `2` | Both ways. This is the default. |
+
+## FlexSelectionModeConstants
+
+How the user selects cells. It is used by the [**SelectionMode**](../VBFlexGrid/Selection#selectionmode) property.
+
+**FlexSelectionModeFreeByRow** and **FlexSelectionModeFreeByColumn** also select freely, but the fixed cells select in one direction only, and every row (or column) that the range touches is drawn selected as a whole. With **FlexSelectionModeFreeByRow** a click on a fixed cell at the start of a row selects the whole row, while a click on a column header does not select the column. **FlexSelectionModeFreeByColumn** works the other way round.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexSelectionModeFree**{: #FlexSelectionModeFree } | `0` | The user selects any range of cells. A click on a fixed cell selects the whole row or the whole column when [**AllowBigSelection**](../VBFlexGrid/Selection#allowbigselection) is **True**. This is the default. |
+| **FlexSelectionModeByRow**{: #FlexSelectionModeByRow } | `1` | The selection always covers whole rows. |
+| **FlexSelectionModeByColumn**{: #FlexSelectionModeByColumn } | `2` | The selection always covers whole columns. |
+| **FlexSelectionModeFreeByRow**{: #FlexSelectionModeFreeByRow } | `3` | A free selection, where only the fixed cells that start a row (the row headers) select the whole row. |
+| **FlexSelectionModeFreeByColumn**{: #FlexSelectionModeFreeByColumn } | `4` | A free selection, where only the fixed cells that start a column (the column headers) select the whole column. |
+
+![Three grids, each with columns A to C and rows 1 to 6. The first, in free mode, has rows 2 to 4 of columns A and B selected, all highlighted except the current cell in row 2, column A. The second, by row, has row 3 selected, highlighted except for its current cell in column A. The third, by row with AllowMultiSelection, has rows 2, 3 and 5 flagged and highlighted, and row 1, the current row, highlighted except for its current cell.](../VBFlexGrid/Images/Selection_Modes.png){:width="609" height="189"}
+
+## FlexSortArrowConstants
+
+The sort arrow that a column header shows. It is used by the [**ColSortArrow**](../VBFlexGrid/SortingAndSearching#colsortarrow) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexSortArrowNone**{: #FlexSortArrowNone } | `0` | No arrow. |
+| **FlexSortArrowAscending**{: #FlexSortArrowAscending } | `1` | An arrow for an ascending sort. |
+| **FlexSortArrowDescending**{: #FlexSortArrowDescending } | `2` | An arrow for a descending sort. |
+
+![A grid of products sorted by Stock, highest first: the Stock header has an arrow pointing down. The Price header has an arrow pointing up although the rows are not in order of price, since an arrow is only what the program sets.](../VBFlexGrid/Images/Sorting_Arrows.png){:width="317" height="189"}
+
+## FlexSortConstants
+
+The comparison and the direction of a sort of rows, for [**Sort**](../VBFlexGrid/SortingAndSearching#sort) and [**ColSort**](../VBFlexGrid/SortingAndSearching#colsort).
+
+The sort is stable: rows that compare as equal keep their order. The keys are the columns from [**Col**](../VBFlexGrid/Selection#col) to [**ColSel**](../VBFlexGrid/Selection#colsel), and the rows are those from [**Row**](../VBFlexGrid/Selection#row) to [**RowSel**](../VBFlexGrid/Selection#rowsel), or every row after the fixed rows when [**Row**](../VBFlexGrid/Selection#row) equals [**RowSel**](../VBFlexGrid/Selection#rowsel). A sort of text in a column whose [**ColSortMode**](../VBFlexGrid/SortingAndSearching#colsortmode) is **FlexSortModeTextDisplay** compares the displayed text. Setting [**Sort**](../VBFlexGrid/SortingAndSearching#sort) to **FlexSortNone** does nothing, and reading it raises 394.
+
+**FlexSortUseColSort** can be written to [**Sort**](../VBFlexGrid/SortingAndSearching#sort) only: the sort then uses the order of [**ColSort**](../VBFlexGrid/SortingAndSearching#colsort) for each key column. [**ColSort**](../VBFlexGrid/SortingAndSearching#colsort) itself rejects it with error 380, and [**Sort**](../VBFlexGrid/SortingAndSearching#sort) is unavailable while a custom data source is in use unless it returns **FlexDataSourceNoData**.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexSortNone**{: #FlexSortNone } | `0` | No sort. |
+| **FlexSortGenericAscending**{: #FlexSortGenericAscending } | `1` | Ascending. Two numbers compare as numbers; otherwise the two texts compare as strings, so dates compare as strings. |
+| **FlexSortGenericDescending**{: #FlexSortGenericDescending } | `2` | Descending, with the comparison of **FlexSortGenericAscending**. |
+| **FlexSortNumericAscending**{: #FlexSortNumericAscending } | `3` | Ascending by numeric value. Text that is not a number counts as 0. |
+| **FlexSortNumericDescending**{: #FlexSortNumericDescending } | `4` | Descending by numeric value. |
+| **FlexSortStringNoCaseAscending**{: #FlexSortStringNoCaseAscending } | `5` | Ascending as strings, without regard to case. |
+| **FlexSortStringNoCaseDescending**{: #FlexSortStringNoCaseDescending } | `6` | Descending as strings, without regard to case. |
+| **FlexSortStringAscending**{: #FlexSortStringAscending } | `7` | Ascending as strings, with regard to case. |
+| **FlexSortStringDescending**{: #FlexSortStringDescending } | `8` | Descending as strings, with regard to case. |
+| **FlexSortCustom**{: #FlexSortCustom } | `9` | The program compares two whole rows in the [**Compare**](../VBFlexGrid/SortingAndSearching#compare) event. |
+| **FlexSortUseColSort**{: #FlexSortUseColSort } | `10` | Each key column uses its own [**ColSort**](../VBFlexGrid/SortingAndSearching#colsort) order. |
+| **FlexSortCurrencyAscending**{: #FlexSortCurrencyAscending } | `11` | Ascending as **Currency** values. Text that is not a number counts as 0. |
+| **FlexSortCurrencyDescending**{: #FlexSortCurrencyDescending } | `12` | Descending as **Currency** values. |
+| **FlexSortDateAscending**{: #FlexSortDateAscending } | `13` | Ascending as dates. Text that is not a date counts as the date of the value 0. |
+| **FlexSortDateDescending**{: #FlexSortDateDescending } | `14` | Descending as dates. |
+| **FlexSortCustomText**{: #FlexSortCustomText } | `15` | The program compares the texts of two cells in the [**CompareText**](../VBFlexGrid/SortingAndSearching#comparetext) event. |
+
+The same three numbers in text, sorted as numbers and as strings:
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .FixedCols = 0
+    .Cols = 1
+    .Rows = 4
+    .FixedRows = 1
+    .TextMatrix(1, 0) = "10"
+    .TextMatrix(2, 0) = "9"
+    .TextMatrix(3, 0) = "2"
+    .Row = 1
+    .RowSel = 3
+    .Col = 0
+    .ColSel = 0
+    .Sort = FlexSortStringAscending
+    Debug.Print .TextMatrix(1, 0); ","; .TextMatrix(2, 0); ","; .TextMatrix(3, 0) ' 10,2,9
+    .Sort = FlexSortGenericAscending
+    Debug.Print .TextMatrix(1, 0); ","; .TextMatrix(2, 0); ","; .TextMatrix(3, 0) ' 2,9,10
+    .Sort = FlexSortNumericDescending
+    Debug.Print .TextMatrix(1, 0); ","; .TextMatrix(2, 0); ","; .TextMatrix(3, 0) ' 10,9,2
+End With
+```
+
+## FlexSortModeConstants
+
+Which text a column compares when it is sorted. It is used by the [**ColSortMode**](../VBFlexGrid/SortingAndSearching#colsortmode) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexSortModeNormal**{: #FlexSortModeNormal } | `0` | The text of the cells. This is the default. |
+| **FlexSortModeTextDisplay**{: #FlexSortModeTextDisplay } | `1` | The text as the cells display it, after the lookup and the format of the column. |
+
+## FlexTabBehaviorConstants
+
+What the Tab key does in the grid. It is used by the [**TabBehavior**](../VBFlexGrid/Selection#tabbehavior) property.
+
+With **FlexTabNext** the Tab key moves through the cells for as long as there is a cell to move to, and then moves the focus to the next control. With **FlexWrapNone** and the selection mode **FlexSelectionModeByRow** or **FlexSelectionModeByColumn**, Tab always moves to the next control. [**WrapCellBehavior**](../VBFlexGrid/Selection#wrapcellbehavior) sets what counts as a next cell: with **FlexWrapRow** the move continues in the next row, and with **FlexWrapGrid** the Tab key never leaves the grid.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexTabControls**{: #FlexTabControls } | `0` | The Tab key moves the focus to the next control. This is the default. |
+| **FlexTabCells**{: #FlexTabCells } | `1` | The Tab key moves to the next cell and never leaves the grid. |
+| **FlexTabNext**{: #FlexTabNext } | `2` | The Tab key moves to the next cell, and past the last one to the next control. |
+
+## FlexVisibilityConstants
+
+Whether a row or column counts as visible when only a part of it shows. It is used by the [**BottomRow**](../VBFlexGrid/Scrolling#bottomrow), [**ColIsVisible**](../VBFlexGrid/Scrolling#colisvisible), [**ColsVisible**](../VBFlexGrid/Scrolling#colsvisible), [**FixedColsVisible**](../VBFlexGrid/Structure#fixedcolsvisible), [**FixedRowsVisible**](../VBFlexGrid/Structure#fixedrowsvisible), [**FrozenColsVisible**](../VBFlexGrid/Structure#frozencolsvisible), [**FrozenRowsVisible**](../VBFlexGrid/Structure#frozenrowsvisible), [**RightCol**](../VBFlexGrid/Scrolling#rightcol), [**RowIsVisible**](../VBFlexGrid/Scrolling#rowisvisible) and [**RowsVisible**](../VBFlexGrid/Scrolling#rowsvisible) properties and the [**CellEnsureVisible**](../VBFlexGrid/Scrolling#cellensurevisible) method.
+
+The members are an optional argument of the properties and methods that count or find visible rows and columns. The default is not the same everywhere: [**BottomRow**](../VBFlexGrid/Scrolling#bottomrow), [**RightCol**](../VBFlexGrid/Scrolling#rightcol), [**ColIsVisible**](../VBFlexGrid/Scrolling#colisvisible) and [**RowIsVisible**](../VBFlexGrid/Scrolling#rowisvisible) default to **FlexVisibilityPartialOK**, while the counting properties such as [**ColsVisible**](../VBFlexGrid/Scrolling#colsvisible) and [**FixedRowsVisible**](../VBFlexGrid/Structure#fixedrowsvisible) and the method [**CellEnsureVisible**](../VBFlexGrid/Scrolling#cellensurevisible) default to **FlexVisibilityCompleteOnly**.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexVisibilityPartialOK**{: #FlexVisibilityPartialOK } | `0` | A row or column that shows in part counts. |
+| **FlexVisibilityCompleteOnly**{: #FlexVisibilityCompleteOnly } | `1` | Only a row or column that shows completely counts. |
+
+## FlexWrapCellBehaviorConstants
+
+What happens when the cursor keys, the Tab key or the Enter key move the current cell past the end of a row or of the grid. It is used by the [**WrapCellBehavior**](../VBFlexGrid/Selection#wrapcellbehavior) property.
+
+| Member | Value | Description |
+|:-------|:------|:------------|
+| **FlexWrapNone**{: #FlexWrapNone } | `0` | The current cell stays at the edge of the row. This is the default. |
+| **FlexWrapRow**{: #FlexWrapRow } | `1` | The move continues in the next row, or in the previous one for a move to the left. |
+| **FlexWrapGrid**{: #FlexWrapGrid } | `2` | As **FlexWrapRow**, and a move past the last cell continues at the first cell and the other way round. |
diff --git a/docs/Reference/Contributed/VBFLXGRD18/Enumerations/index.md b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/index.md
new file mode 100644
index 000000000..cc7a8a4fc
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/Enumerations/index.md
@@ -0,0 +1,82 @@
+---
+title: Enumerations
+parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/Enumerations/
+has_toc: false
+---
+
+# VBFLXGRD18 Enumerations
+{: .no_toc }
+
+The 61 public enumerations of the package are described on three pages, grouped by the topic pages of the [**VBFlexGrid**](../VBFlexGrid/) control that use them. All of them are declared inside the control, and their members can be written with or without the name of the enumeration, as in `FlexSortStringAscending` or `FlexSortConstants.FlexSortStringAscending`.
+
+- [Cells, Text and Appearance](CellsAndAppearance) -- 25 enumerations: Rows and Columns, Sizes and Positions, Cell Text, Cell Formatting, Merging Cells, Appearance.
+- [Editing, Combo Boxes and Check Boxes](EditingAndComboBoxes) -- 13 enumerations: Editing Cells, Drop-Down Lists, Buttons and Calendars, Check Boxes, Data Binding.
+- [Selection, Mouse, Sorting and Clipboard](SelectionAndInput) -- 23 enumerations: Current Cell and Selection, Scrolling, Mouse, Keyboard and Drag and Drop, Sorting and Searching, Clipboard, Undo and Arrays.
+
+[FlexDataSourceFlags](EditingAndComboBoxes#flexdatasourceflags) is a set of flags that combine with **Or**. The values of [FlexAllowUserFreezingConstants](CellsAndAppearance#flexallowuserfreezingconstants), [FlexAllowUserResizingConstants](CellsAndAppearance#flexallowuserresizingconstants) and [FlexClipCopyModeConstants](SelectionAndInput#flexclipcopymodeconstants) are also made of bits, and their sections say which.
+
+## All enumerations
+{: .no_toc }
+
+- [FlexAlignmentConstants](CellsAndAppearance#flexalignmentconstants)
+- [FlexAllowUserFreezingConstants](CellsAndAppearance#flexallowuserfreezingconstants)
+- [FlexAllowUserResizingConstants](CellsAndAppearance#flexallowuserresizingconstants)
+- [FlexArrayOrderConstants](SelectionAndInput#flexarrayorderconstants)
+- [FlexAutoSizeModeConstants](CellsAndAppearance#flexautosizemodeconstants)
+- [FlexAutoSizeScopeConstants](CellsAndAppearance#flexautosizescopeconstants)
+- [FlexBestFitModeConstants](CellsAndAppearance#flexbestfitmodeconstants)
+- [FlexBorderStyleConstants](CellsAndAppearance#flexborderstyleconstants)
+- [FlexCellCheckReasonConstants](EditingAndComboBoxes#flexcellcheckreasonconstants)
+- [FlexCellSettings](CellsAndAppearance#flexcellsettings)
+- [FlexCheckBoxAlignmentConstants](EditingAndComboBoxes#flexcheckboxalignmentconstants)
+- [FlexCheckBoxConstants](EditingAndComboBoxes#flexcheckboxconstants)
+- [FlexCheckBoxDrawModeConstants](EditingAndComboBoxes#flexcheckboxdrawmodeconstants)
+- [FlexClearWhatConstants](CellsAndAppearance#flexclearwhatconstants)
+- [FlexClearWhereConstants](CellsAndAppearance#flexclearwhereconstants)
+- [FlexClipboardActionConstants](SelectionAndInput#flexclipboardactionconstants)
+- [FlexClipCopyModeConstants](SelectionAndInput#flexclipcopymodeconstants)
+- [FlexClipModeConstants](SelectionAndInput#flexclipmodeconstants)
+- [FlexClipPasteModeConstants](SelectionAndInput#flexclippastemodeconstants)
+- [FlexComboButtonDrawModeConstants](EditingAndComboBoxes#flexcombobuttondrawmodeconstants)
+- [FlexComboButtonValueConstants](EditingAndComboBoxes#flexcombobuttonvalueconstants)
+- [FlexComboCueConstants](EditingAndComboBoxes#flexcombocueconstants)
+- [FlexComboDropDownReasonConstants](EditingAndComboBoxes#flexcombodropdownreasonconstants)
+- [FlexComboModeConstants](EditingAndComboBoxes#flexcombomodeconstants)
+- [FlexDataSourceFlags](EditingAndComboBoxes#flexdatasourceflags)
+- [FlexDirectionAfterReturnConstants](SelectionAndInput#flexdirectionafterreturnconstants)
+- [FlexDropTargetModeConstants](SelectionAndInput#flexdroptargetmodeconstants)
+- [FlexEditCloseModeConstants](EditingAndComboBoxes#flexeditclosemodeconstants)
+- [FlexEditReasonConstants](EditingAndComboBoxes#flexeditreasonconstants)
+- [FlexEllipsisFormatConstants](CellsAndAppearance#flexellipsisformatconstants)
+- [FlexFillStyleConstants](CellsAndAppearance#flexfillstyleconstants)
+- [FlexFindDirectionConstants](SelectionAndInput#flexfinddirectionconstants)
+- [FlexFindMatchConstants](SelectionAndInput#flexfindmatchconstants)
+- [FlexFocusRectConstants](SelectionAndInput#flexfocusrectconstants)
+- [FlexFontQualityConstants](CellsAndAppearance#flexfontqualityconstants)
+- [FlexGridLineConstants](CellsAndAppearance#flexgridlineconstants)
+- [FlexHighLightConstants](SelectionAndInput#flexhighlightconstants)
+- [FlexHitResultConstants](SelectionAndInput#flexhitresultconstants)
+- [FlexIMEModeConstants](SelectionAndInput#fleximemodeconstants)
+- [FlexLeftRightAlignmentConstants](EditingAndComboBoxes#flexleftrightalignmentconstants)
+- [FlexLookupConvConstants](CellsAndAppearance#flexlookupconvconstants)
+- [FlexMergeCellsConstants](CellsAndAppearance#flexmergecellsconstants)
+- [FlexMetricConstants](CellsAndAppearance#flexmetricconstants)
+- [FlexMimicTextBoxConstants](CellsAndAppearance#flexmimictextboxconstants)
+- [FlexMousePointerConstants](SelectionAndInput#flexmousepointerconstants)
+- [FlexOLEDropModeConstants](SelectionAndInput#flexoledropmodeconstants)
+- [FlexPictureAlignmentConstants](CellsAndAppearance#flexpicturealignmentconstants)
+- [FlexPictureTypeConstants](CellsAndAppearance#flexpicturetypeconstants)
+- [FlexRightToLeftModeConstants](CellsAndAppearance#flexrighttoleftmodeconstants)
+- [FlexRowSizingModeConstants](CellsAndAppearance#flexrowsizingmodeconstants)
+- [FlexScrollOrientationConstants](SelectionAndInput#flexscrollorientationconstants)
+- [FlexSelectionModeConstants](SelectionAndInput#flexselectionmodeconstants)
+- [FlexSortArrowConstants](SelectionAndInput#flexsortarrowconstants)
+- [FlexSortConstants](SelectionAndInput#flexsortconstants)
+- [FlexSortModeConstants](SelectionAndInput#flexsortmodeconstants)
+- [FlexTabBehaviorConstants](SelectionAndInput#flextabbehaviorconstants)
+- [FlexTextStyleConstants](CellsAndAppearance#flextextstyleconstants)
+- [FlexVisibilityConstants](SelectionAndInput#flexvisibilityconstants)
+- [FlexWallPaperAlignmentConstants](CellsAndAppearance#flexwallpaperalignmentconstants)
+- [FlexWordWrapOptions](CellsAndAppearance#flexwordwrapoptions)
+- [FlexWrapCellBehaviorConstants](SelectionAndInput#flexwrapcellbehaviorconstants)
diff --git a/docs/Reference/Contributed/VBFLXGRD18/IVBFlexDataSource.md b/docs/Reference/Contributed/VBFLXGRD18/IVBFlexDataSource.md
new file mode 100644
index 000000000..483198b3a
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/IVBFlexDataSource.md
@@ -0,0 +1,152 @@
+---
+title: IVBFlexDataSource
+parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/IVBFlexDataSource
+---
+
+# IVBFlexDataSource interface
+{: .no_toc }
+
+The interface that a class implements to feed a [**VBFlexGrid**](VBFlexGrid/) with data: the number of fields and records, the field names, and the text of each cell. The object is set as the [**FlexDataSource**](VBFlexGrid/DataBinding#flexdatasource) of the grid.
+
+A grid with a **FlexDataSource** keeps no text for the cells that are not fixed. It calls the methods of the interface when it needs a cell's text, so a table of any size can be shown from the data as the program already holds it. The grid numbers fields and records from 0: a *Field* is a column, and a *Record* is a row after the fixed rows. The data of an object that also implements [**IVBFlexDataSource2**](IVBFlexDataSource2) can include tool tips and check boxes.
+
+```tb check_build slot=file projname=ifds-array
+Class StockSource
+    Implements IVBFlexDataSource
+
+    Private Names() As String
+    Private Cells() As String
+
+    Public Sub Fill()
+        ReDim Names(0 To 1)
+        ReDim Cells(0 To 1, 0 To 2)                   ' (field, record)
+        Names(0) = "Item": Names(1) = "Qty"
+        Cells(0, 0) = "bolt": Cells(1, 0) = "10"
+        Cells(0, 1) = "nut": Cells(1, 1) = "20"
+        Cells(0, 2) = "gear": Cells(1, 2) = "5"
+    End Sub
+
+    Public Function Text(ByVal Field As Long, ByVal Record As Long) As String
+        Return Cells(Field, Record)
+    End Function
+
+    Private Function IVBFlexDataSource_GetFieldCount() As Long
+        Return UBound(Names) + 1
+    End Function
+
+    Private Function IVBFlexDataSource_GetRecordCount() As Long
+        Return UBound(Cells, 2) + 1
+    End Function
+
+    Private Function IVBFlexDataSource_GetFieldName(ByVal Field As Long) As String
+        Return Names(Field)
+    End Function
+
+    Private Function IVBFlexDataSource_GetData(ByVal Field As Long, ByVal Record As Long) As String
+        Return Cells(Field, Record)
+    End Function
+
+    Private Sub IVBFlexDataSource_SetData(ByVal Field As Long, ByVal Record As Long, ByVal NewData As String)
+        Cells(Field, Record) = NewData
+    End Sub
+End Class
+```
+
+```tb check_build check_run slot=sub projname=ifds-array
+Dim Stock As New StockSource
+Stock.Fill
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    Set .FlexDataSource = Stock
+
+    Debug.Print .Rows & " rows, " & .Cols & " columns"
+    Debug.Print .TextMatrix(0, 0) & " " & .TextMatrix(0, 1)       ' the field names, in the fixed row
+    Debug.Print .TextMatrix(3, 0) & " " & .TextMatrix(3, 1)       ' record 2
+
+    .TextMatrix(3, 1) = "7"                                       ' reaches SetData
+    Debug.Print Stock.Text(1, 2)
+End With
+' Output:
+' 4 rows, 2 columns
+' Item Qty
+' gear 5
+' 7
+```
+
+The grid asks for the text each time it needs it and does not remember it, so a change in the object is seen at the next read of the cell and shown when the grid is next drawn ([**Refresh**](VBFlexGrid/#refresh) draws it at once). A change in the number of fields or records is read when [**FlexDataSource**](VBFlexGrid/DataBinding#flexdatasource) is set again or [**DataRefresh**](VBFlexGrid/DataBinding#datarefresh) is called.
+
+A method of the interface is called while the grid is drawing or reading, so it should return quickly.
+
+Binding to an object is described on [Data Binding](VBFlexGrid/DataBinding#feeding-the-grid-from-an-object).
+
+## Methods
+
+### GetData
+{: .no_toc }
+
+Returns the text of a cell.
+
+Syntax: **Function** *object*\_**GetData** ( *Field* **As Long**, *Record* **As Long** ) **As String**
+
+*Field*
+: The column of the cell, from 0. With the flag **FlexDataSourceUnboundFixedColumns** the fixed columns are not numbered, and field 0 is the first column that is not fixed.
+
+*Record*
+: The row of the cell less the number of fixed rows, from 0.
+
+Called whenever the grid needs the text of a cell that is not in a fixed row: to draw it, and to read it with [**TextMatrix**](VBFlexGrid/Text#textmatrix), [**Clip**](VBFlexGrid/ClipboardAndArrays#clip), [**SaveArray**](VBFlexGrid/ClipboardAndArrays#savearray), [**FindItem**](VBFlexGrid/SortingAndSearching#finditem) and the like. The cells of the fixed rows hold their text in the grid. It is not called when the object sets **FlexDataSourceNoData** in [**GetFlags**](IVBFlexDataSource2#getflags).
+
+When [**GetRecordCount**](#getrecordcount) returns 0 the grid has one row without records, and still asks for the cells of record 0. The method should return an empty string then.
+
+### GetFieldCount
+{: .no_toc }
+
+Returns the number of fields.
+
+Syntax: **Function** *object*\_**GetFieldCount** ( ) **As Long**
+
+The number of columns that the grid takes from the object. Called when the object is set as [**FlexDataSource**](VBFlexGrid/DataBinding#flexdatasource) and by [**DataRefresh**](VBFlexGrid/DataBinding#datarefresh). A value of 0 or less leaves the number of rows and columns of the grid as it is and the other methods of the setting are not called.
+
+### GetFieldName
+{: .no_toc }
+
+Returns the name of a field.
+
+Syntax: **Function** *object*\_**GetFieldName** ( *Field* **As Long** ) **As String**
+
+*Field*
+: The field, from 0 to [**GetFieldCount**](#getfieldcount) less 1.
+
+Called for each field when the object is set and by **DataRefresh**, when the grid has a fixed row. The name becomes the text of the cell of the first fixed row above the field and the key of the column ([**ColKey**](VBFlexGrid/Structure#colkey)). It is not called when the object sets **FlexDataSourceNoFieldNames** in **GetFlags**.
+
+### GetRecordCount
+{: .no_toc }
+
+Returns the number of records.
+
+Syntax: **Function** *object*\_**GetRecordCount** ( ) **As Long**
+
+The number of rows after the fixed rows. Called together with [**GetFieldCount**](#getfieldcount). With 0 records, the grid has one row.
+
+### SetData
+{: .no_toc }
+
+Receives a new text for a cell.
+
+Syntax: **Sub** *object*\_**SetData** ( *Field* **As Long**, *Record* **As Long**, *NewData* **As String** )
+
+*Field*, *Record*
+: The cell, as for [**GetData**](#getdata).
+
+*NewData*
+: The text.
+
+Called when text is written to a cell that is not in a fixed row: by the user, when an edit is accepted, and by **TextMatrix**, **Clip**, **LoadArray** and the other members that write text. The grid does not keep the text, so the object must store it for **GetData** to return it. It is not called when the object sets **FlexDataSourceNoData**.
+
+## See Also
+
+- [IVBFlexDataSource2](IVBFlexDataSource2) interface -- adds flags, tool tips and check boxes
+- [Data Binding](VBFlexGrid/DataBinding) -- the **FlexDataSource** property, **DataSource** and **CopyFromRecordset**
+- [VBFlexGrid](VBFlexGrid/) control
diff --git a/docs/Reference/Contributed/VBFLXGRD18/IVBFlexDataSource2.md b/docs/Reference/Contributed/VBFLXGRD18/IVBFlexDataSource2.md
new file mode 100644
index 000000000..6cabbbbad
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/IVBFlexDataSource2.md
@@ -0,0 +1,177 @@
+---
+title: IVBFlexDataSource2
+parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/IVBFlexDataSource2
+---
+
+# IVBFlexDataSource2 interface
+{: .no_toc }
+
+The interface that a class implements, in addition to [**IVBFlexDataSource**](IVBFlexDataSource), to give a [**VBFlexGrid**](VBFlexGrid/) options for how it uses the object, and to supply the tool tip text and the check box state of the cells.
+
+An object is set as the [**FlexDataSource**](VBFlexGrid/DataBinding#flexdatasource) of the grid, and the grid looks whether its class also implements this interface. A class that does not is used with no flags and no tool tips or check boxes from it. A class that does must implement every method, also those of a feature it does not use. The methods of tool tips and check boxes are called only when [**GetFlags**](#getflags) says that they are used.
+
+```tb check_build slot=file projname=ifds2-tasks
+Class TaskSource
+    Implements IVBFlexDataSource
+    Implements IVBFlexDataSource2
+
+    Private Titles(0 To 2) As String
+    Private Done(0 To 2) As Integer
+
+    Public Sub Fill()
+        Titles(0) = "write": Titles(1) = "test": Titles(2) = "publish"
+        Done(0) = 1
+    End Sub
+
+    Public Function IsDone(ByVal Record As Long) As Integer
+        Return Done(Record)
+    End Function
+
+    Private Function IVBFlexDataSource_GetFieldCount() As Long
+        Return 2
+    End Function
+
+    Private Function IVBFlexDataSource_GetRecordCount() As Long
+        Return 3
+    End Function
+
+    Private Function IVBFlexDataSource_GetFieldName(ByVal Field As Long) As String
+        Return IIf(Field = 0, "Task", "Done")
+    End Function
+
+    Private Function IVBFlexDataSource_GetData(ByVal Field As Long, ByVal Record As Long) As String
+        Return IIf(Field = 0, Titles(Record), "")
+    End Function
+
+    Private Sub IVBFlexDataSource_SetData(ByVal Field As Long, ByVal Record As Long, ByVal NewData As String)
+        If Field = 0 Then Titles(Record) = NewData
+    End Sub
+
+    Private Function IVBFlexDataSource2_GetFlags() As Long
+        Return FlexDataSourceToolTipText Or FlexDataSourceChecked
+    End Function
+
+    Private Function IVBFlexDataSource2_GetToolTipText(ByVal Field As Long, ByVal Record As Long) As String
+        Return "Task " & (Record + 1) & ": " & Titles(Record)
+    End Function
+
+    Private Sub IVBFlexDataSource2_SetToolTipText(ByVal Field As Long, ByVal Record As Long, ByVal NewValue As String)
+        ' the tool tips are made from the titles; a new text is not kept
+    End Sub
+
+    Private Function IVBFlexDataSource2_GetChecked(ByVal Field As Long, ByVal Record As Long) As Integer
+        Return Done(Record)
+    End Function
+
+    Private Sub IVBFlexDataSource2_SetChecked(ByVal Field As Long, ByVal Record As Long, ByVal NewValue As Integer)
+        Done(Record) = NewValue
+    End Sub
+End Class
+```
+
+```tb check_build check_run slot=sub projname=ifds2-tasks
+Dim Tasks As New TaskSource
+Tasks.Fill
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .ColCheckBoxes(1) = True                         ' column 1 shows check boxes
+    Set .FlexDataSource = Tasks
+
+    .Row = 2: .Col = 0
+    Debug.Print .CellToolTipText                     ' from GetToolTipText
+
+    Debug.Print .Cell(FlexCellChecked, 1, 1) & " " & .Cell(FlexCellChecked, 2, 1)   ' from GetChecked
+    .Cell(FlexCellChecked, 2, 1) = FlexChecked       ' reaches SetChecked
+    Debug.Print Tasks.IsDone(1) & " " & .Cell(FlexCellChecked, 2, 1)
+End With
+' Output:
+' Task 2: test
+' 1 0
+' 1 1
+```
+
+The flags are read once, when the object is set and when [**DataRefresh**](VBFlexGrid/DataBinding#datarefresh) is called. A change of the flags that the object makes later is not seen until then.
+
+## Methods
+
+### GetChecked
+{: .no_toc }
+
+Returns the check box state of a cell.
+
+Syntax: **Function** *object*\_**GetChecked** ( *Field* **As Long**, *Record* **As Long** ) **As Integer**
+
+*Field*, *Record*
+: The cell, numbered as for [**GetData**](IVBFlexDataSource#getdata).
+
+The state of the check box of a cell in a column that has check boxes ([**ColCheckBoxes**](VBFlexGrid/CheckBoxes#colcheckboxes)): a value of [**FlexCheckBoxConstants**](Enumerations/EditingAndComboBoxes#flexcheckboxconstants) from -2 to 7, for example 0 for unchecked and 1 for checked. A value outside that range is shown as unchecked. Called only for a cell that is not in a fixed row, and only when [**GetFlags**](#getflags) includes **FlexDataSourceChecked**. Otherwise the grid keeps the state itself.
+
+### GetFlags
+{: .no_toc }
+
+Returns the options that the grid is to use for the object.
+
+Syntax: **Function** *object*\_**GetFlags** ( ) **As Long**
+
+A combination, with **Or**, of the values of [**FlexDataSourceFlags**](Enumerations/EditingAndComboBoxes#flexdatasourceflags), or 0:
+
+| Flag | The grid |
+|:-----|:---------|
+| **FlexDataSourceUnboundFixedColumns** | Keeps the text of the fixed columns itself. The fields are the columns after them: the grid has the fixed columns plus **GetFieldCount** columns, and *Field* 0 is the first column that is not fixed. |
+| **FlexDataSourceNoData** | Does not call **GetData** and **SetData**, and keeps the text of the cells itself. The object only gives the size and the field names. A [**Sort**](VBFlexGrid/SortingAndSearching#sort) is then allowed. |
+| **FlexDataSourceNoFieldNames** | Does not call **GetFieldName**, and does not write names into the first fixed row or set the keys of the columns. |
+| **FlexDataSourceToolTipText** | Calls **GetToolTipText** and **SetToolTipText**. |
+| **FlexDataSourceChecked** | Calls **GetChecked** and **SetChecked**. |
+
+Called when the object is set as **FlexDataSource**, before the first call of [**GetFieldCount**](IVBFlexDataSource#getfieldcount), and by **DataRefresh**.
+
+### GetToolTipText
+{: .no_toc }
+
+Returns the tool tip text of a cell.
+
+Syntax: **Function** *object*\_**GetToolTipText** ( *Field* **As Long**, *Record* **As Long** ) **As String**
+
+*Field*, *Record*
+: The cell, numbered as for [**GetData**](IVBFlexDataSource#getdata).
+
+The text that [**CellToolTipText**](VBFlexGrid/Text#celltooltiptext) returns for a cell that is not in a fixed row, and that is shown when the mouse rests on the cell and [**ShowInfoTips**](VBFlexGrid/Text#showinfotips) is **True**. Called only when [**GetFlags**](#getflags) includes **FlexDataSourceToolTipText**. Otherwise the grid keeps the tool tips itself.
+
+### SetChecked
+{: .no_toc }
+
+Receives a new check box state for a cell.
+
+Syntax: **Sub** *object*\_**SetChecked** ( *Field* **As Long**, *Record* **As Long**, *NewValue* **As Integer** )
+
+*Field*, *Record*
+: The cell.
+
+*NewValue*
+: The new state, a value of [**FlexCheckBoxConstants**](Enumerations/EditingAndComboBoxes#flexcheckboxconstants).
+
+Called when the user clicks a check box, and when a program sets the state with [**CellChecked**](VBFlexGrid/CheckBoxes#cellchecked) or [**Cell**](VBFlexGrid/Text#cell). The grid does not remember the value: the next call of **GetChecked** decides what is shown. Called only when [**GetFlags**](#getflags) includes **FlexDataSourceChecked**.
+
+### SetToolTipText
+{: .no_toc }
+
+Receives a new tool tip text for a cell.
+
+Syntax: **Sub** *object*\_**SetToolTipText** ( *Field* **As Long**, *Record* **As Long**, *NewValue* **As String** )
+
+*Field*, *Record*
+: The cell.
+
+*NewValue*
+: The new text.
+
+Called when a program sets [**CellToolTipText**](VBFlexGrid/Text#celltooltiptext) for a cell that is not in a fixed row. Called only when [**GetFlags**](#getflags) includes **FlexDataSourceToolTipText**.
+
+## See Also
+
+- [IVBFlexDataSource](IVBFlexDataSource) interface -- the methods for the data itself
+- [Data Binding](VBFlexGrid/DataBinding) -- the **FlexDataSource** property
+- [FlexDataSourceFlags](Enumerations/EditingAndComboBoxes#flexdatasourceflags) and [FlexCheckBoxConstants](Enumerations/EditingAndComboBoxes#flexcheckboxconstants) enumerations
+- [VBFlexGrid](VBFlexGrid/) control
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Appearance.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Appearance.md
new file mode 100644
index 000000000..ec6de4cb7
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Appearance.md
@@ -0,0 +1,415 @@
+---
+title: Appearance
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Appearance
+has_toc: false
+---
+
+# Appearance
+{: .no_toc }
+
+The members that set the colors, grid lines, borders, fonts and text style of a **VBFlexGrid**, give it a background picture, return a picture of it, and turn on visual styles and right-to-left layout.
+
+A cell is drawn from these settings of the whole grid, which [Cell Formatting](CellFormatting) can override for a single cell, a range of cells or a column:
+
+| Part of the grid | Background | Text color | Font | Text style | Grid lines |
+|------------------|------------|------------|------|------------|------------|
+| Normal cells | [**BackColor**](#backcolor), and [**BackColorAlt**](#backcoloralt) in every second row | [**ForeColor**](#forecolor) | [**Font**](#font) | [**TextStyle**](#textstyle) | [**GridLines**](#gridlines), [**GridColor**](#gridcolor), [**GridLineWidth**](#gridlinewidth) |
+| Fixed cells | [**BackColorFixed**](#backcolorfixed) | [**ForeColorFixed**](#forecolorfixed) | [**FontFixed**](#fontfixed) | [**TextStyleFixed**](#textstylefixed) | [**GridLinesFixed**](#gridlinesfixed), [**GridColorFixed**](#gridcolorfixed), [**GridLineWidthFixed**](#gridlinewidthfixed) |
+| Frozen cells | as the normal cells | as the normal cells | as the normal cells | as the normal cells | [**GridLinesFrozen**](#gridlinesfrozen), [**GridColorFrozen**](#gridcolorfrozen), [**GridLineWidthFrozen**](#gridlinewidthfrozen) |
+| Selected cells | [**BackColorSel**](#backcolorsel) | [**ForeColorSel**](#forecolorsel), when [**UseForeColorSel**](#useforecolorsel) is **True** | as the cell | as the cell | as the cell |
+| The space outside the cells | [**BackColorBkg**](#backcolorbkg) | | | | |
+
+The colors are **OLE_COLOR** values: an RGB color, or a system color such as **vbWindowBackground** or **vbHighlight**. The defaults are system colors, so the grid follows the color scheme of Windows.
+
+The grid line settings of the fixed and the frozen cells inherit: the fixed cells use [**GridLineWidth**](#gridlinewidth) until [**GridLineWidthFixed**](#gridlinewidthfixed) is set, and the frozen cells use the width of the fixed cells until [**GridLineWidthFrozen**](#gridlinewidthfrozen) is set. Setting the width to -1 goes back to inheriting.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .BackColor = vbYellow
+    Debug.Print Hex(.BackColorAlt)           ' BackColor also sets BackColorAlt
+    .BackColorAlt = vbCyan
+    Debug.Print Hex(.BackColor)              ' but BackColorAlt does not set BackColor
+    .GridLineWidth = 3
+    Debug.Print .GridLineWidthFixed & " " & .GridLineWidthFrozen
+    .GridLineWidthFixed = 2
+    Debug.Print .GridLineWidthFixed & " " & .GridLineWidthFrozen
+    .GridLineWidthFrozen = 4
+    Debug.Print .GridLineWidthFrozen
+End With
+' Output:
+' FFFF
+' FFFF
+' 3 3
+' 2 2
+' 4
+```
+
+The grid can show a picture behind its cells ([**WallPaper**](#wallpaper)) and can produce a picture of itself ([**Picture**](#picture)). The members of [Sizes and Positions](Sizing) measure the cells, and those of [Cell Formatting](CellFormatting) change one cell.
+
+* TOC
+{:toc}
+
+## Properties
+
+### BackColor
+{: .no_toc }
+
+Returns or sets the background color of the normal cells. An **OLE_COLOR**. Default: **vbWindowBackground**.
+
+Syntax: *object*.**BackColor** [ = *value* ]
+
+Setting it sets [**BackColorAlt**](#backcoloralt) to the same color, so that every row has this color. A cell whose [**CellBackColor**](CellFormatting#cellbackcolor) is set keeps its own color.
+
+### BackColorAlt
+{: .no_toc }
+
+Returns or sets the background color of every second row of the normal cells. An **OLE_COLOR**. Default: **vbWindowBackground**, the same as **BackColor**, which gives no alternating rows.
+
+Syntax: *object*.**BackColorAlt** [ = *value* ]
+
+When it differs from [**BackColor**](#backcolor), the rows alternate: counted from the first row that is not fixed, the first, third and so on have **BackColor**, and the second, fourth and so on have this color. Assign **BackColorAlt** after **BackColor**, since assigning **BackColor** changes both. The edit box of a cell that is being edited takes the color of its row.
+
+### BackColorBkg
+{: .no_toc }
+
+Returns or sets the color of the space of the control that no cell covers, which is the area to the right of the last column and under the last row. An **OLE_COLOR**. Default: &H808080&, a gray.
+
+Syntax: *object*.**BackColorBkg** [ = *value* ]
+
+### BackColorFixed
+{: .no_toc }
+
+Returns or sets the background color of the fixed cells. An **OLE_COLOR**. Default: **vbButtonFace**.
+
+Syntax: *object*.**BackColorFixed** [ = *value* ]
+
+### BackColorSel
+{: .no_toc }
+
+Returns or sets the background color of the selected cells. An **OLE_COLOR**. Default: **vbHighlight**.
+
+Syntax: *object*.**BackColorSel** [ = *value* ]
+
+With [**FocusRect**](Selection#focusrect) set to **FlexFocusRectFlat**, the focus rectangle is drawn in this color.
+
+### BorderStyle
+{: .no_toc }
+
+Returns or sets the border of the control. A [**FlexBorderStyleConstants**](../Enumerations/CellsAndAppearance#flexborderstyleconstants) member. Default: **FlexBorderStyleSunken**.
+
+Syntax: *object*.**BorderStyle** [ = *value* ]
+
+The border is part of the control and not of its client area: the cells and the scroll bars are inside it, and [**ClientLeft**](Sizing#clientleft) and [**ClientTop**](Sizing#clienttop) are its width. **FlexBorderStyleNone** has no border, so they are 0. A value that is not a member of the enumeration raises run-time error 380.
+
+### Font
+{: .no_toc }
+
+Returns or sets the font of the normal cells. A **StdFont**. Default: the font of the form.
+
+Syntax: *object*.**Font** [ = *value* ]
+
+Assign with **Set**. Assigning **Nothing** gives the grid the font of the form again. A change to the font object, such as `VBFlexGrid1.Font.Size = 12`, is applied at once: the default row heights and column widths follow the new font and the grid is repainted. A cell can have a font of its own through [**CellFontName**](CellFormatting#cellfontname) and the other **CellFont** properties.
+
+### FontFixed
+{: .no_toc }
+
+Returns or sets the font of the fixed cells. A **StdFont**. Default: none, which means that the fixed cells use [**Font**](#font).
+
+Syntax: *object*.**FontFixed** [ = *value* ]
+
+Assign with **Set**. Reading it returns the **Font** object as long as no font is set for the fixed cells. Assigning **Nothing** removes the font of the fixed cells again. The default height of the fixed rows and the default width of the fixed columns follow this font.
+
+### FontQuality
+{: .no_toc }
+
+Returns or sets how Windows renders the font. A [**FlexFontQualityConstants**](../Enumerations/CellsAndAppearance#flexfontqualityconstants) member. Default: **FlexFontQualityDefault**.
+
+Syntax: *object*.**FontQuality** [ = *value* ]
+
+The quality applies to every font of the grid, those of the cells included, and the grid creates its fonts again when it changes. A value that is not a member of the enumeration raises run-time error 380.
+
+### ForeColor
+{: .no_toc }
+
+Returns or sets the text color of the normal cells. An **OLE_COLOR**. Default: **vbWindowText**.
+
+Syntax: *object*.**ForeColor** [ = *value* ]
+
+A cell whose [**CellForeColor**](CellFormatting#cellforecolor) is set keeps its own color.
+
+### ForeColorFixed
+{: .no_toc }
+
+Returns or sets the text color of the fixed cells. An **OLE_COLOR**. Default: **vbButtonText**.
+
+Syntax: *object*.**ForeColorFixed** [ = *value* ]
+
+### ForeColorSel
+{: .no_toc }
+
+Returns or sets the text color of the selected cells. An **OLE_COLOR**. Default: **vbHighlightText**.
+
+Syntax: *object*.**ForeColorSel** [ = *value* ]
+
+It is used only when [**UseForeColorSel**](#useforecolorsel) is **True**.
+
+### GridColor
+{: .no_toc }
+
+Returns or sets the color of the grid lines between the normal cells. An **OLE_COLOR**. Default: &HC0C0C0&, a light gray.
+
+Syntax: *object*.**GridColor** [ = *value* ]
+
+The color applies to the styles **FlexGridLineFlat**, **FlexGridLineDashes** and **FlexGridLineDots** and their horizontal and vertical variants. The styles **FlexGridLineInset** and **FlexGridLineRaised** draw black and white lines and ignore it.
+
+### GridColorFixed
+{: .no_toc }
+
+Returns or sets the color of the grid lines between the fixed cells. An **OLE_COLOR**. Default: **vbBlack**.
+
+Syntax: *object*.**GridColorFixed** [ = *value* ]
+
+The same applies as for [**GridColor**](#gridcolor): the default style of the fixed cells, **FlexGridLineInset**, ignores the color. It colors the line that [**SheetBorder**](#sheetborder) draws.
+
+### GridColorFrozen
+{: .no_toc }
+
+Returns or sets the color of the grid lines of the frozen cells. An **OLE_COLOR**. Default: **vbBlack**.
+
+Syntax: *object*.**GridColorFrozen** [ = *value* ]
+
+The same applies as for [**GridColor**](#gridcolor).
+
+### GridLines
+{: .no_toc }
+
+Returns or sets the style of the grid lines between the normal cells. A [**FlexGridLineConstants**](../Enumerations/CellsAndAppearance#flexgridlineconstants) member. Default: **FlexGridLineFlat**.
+
+Syntax: *object*.**GridLines** [ = *value* ]
+
+The styles are a plain line (**FlexGridLineFlat**), a dashed line (**FlexGridLineDashes**), a dotted line (**FlexGridLineDots**), and a pair of black and white lines that gives the cells a sunken (**FlexGridLineInset**) or a raised look (**FlexGridLineRaised**). Each of them has a variant with **Horz** and one with **Vert** in its name that draws the horizontal or the vertical lines only. **FlexGridLineNone** draws no lines. The color and the width of the plain, dashed and dotted lines are [**GridColor**](#gridcolor) and [**GridLineWidth**](#gridlinewidth). A value that is not a member of the enumeration raises run-time error 380.
+
+![Six empty grids, each with the name of its style in its header: Flat with plain gray lines, Inset and Raised with black and white lines that make the cells look sunken or raised, Dashes and Dots with broken lines, and FlatHorz with plain horizontal lines only.](Images/Appearance_GridLines.png){:width="709" height="259"}
+
+The offsets of the grid lines, which [**GetGridLineOffsets**](Sizing#getgridlineoffsets) returns, follow the style only when [**FixGridLineOffsets**](Sizing#fixgridlineoffsets) is **True**.
+
+### GridLinesFixed
+{: .no_toc }
+
+Returns or sets the style of the grid lines between the fixed cells. A [**FlexGridLineConstants**](../Enumerations/CellsAndAppearance#flexgridlineconstants) member. Default: **FlexGridLineInset**.
+
+Syntax: *object*.**GridLinesFixed** [ = *value* ]
+
+The styles are those of [**GridLines**](#gridlines); the color and the width are [**GridColorFixed**](#gridcolorfixed) and [**GridLineWidthFixed**](#gridlinewidthfixed). A value that is not a member of the enumeration raises run-time error 380.
+
+### GridLinesFrozen
+{: .no_toc }
+
+Returns or sets the style of the grid lines of the frozen cells. A [**FlexGridLineConstants**](../Enumerations/CellsAndAppearance#flexgridlineconstants) member. Default: **FlexGridLineFlat**.
+
+Syntax: *object*.**GridLinesFrozen** [ = *value* ]
+
+The styles are those of [**GridLines**](#gridlines); the color and the width are [**GridColorFrozen**](#gridcolorfrozen) and [**GridLineWidthFrozen**](#gridlinewidthfrozen). They are the lines at the edge of the frozen rows and columns. A value that is not a member of the enumeration raises run-time error 380.
+
+### GridLineWidth
+{: .no_toc }
+
+Returns or sets the width of the grid lines between the normal cells, in pixels. An **Integer**. Default: 1.
+
+Syntax: *object*.**GridLineWidth** [ = *value* ]
+
+A value below 1 raises run-time error 380. The width is also the width of the grid lines of the fixed and the frozen cells, until [**GridLineWidthFixed**](#gridlinewidthfixed) and [**GridLineWidthFrozen**](#gridlinewidthfrozen) are set.
+
+### GridLineWidthFixed
+{: .no_toc }
+
+Returns or sets the width of the grid lines between the fixed cells, in pixels. An **Integer**. Default: -1, which means the width of [**GridLineWidth**](#gridlinewidth).
+
+Syntax: *object*.**GridLineWidthFixed** [ = *value* ]
+
+Reading returns the width that is in use, never -1. A value that is below 1 and is not -1 raises run-time error 380.
+
+### GridLineWidthFrozen
+{: .no_toc }
+
+Returns or sets the width of the grid lines of the frozen cells, in pixels. An **Integer**. Default: -1, which means the width of [**GridLineWidthFixed**](#gridlinewidthfixed), and when that is -1 as well, the width of [**GridLineWidth**](#gridlinewidth).
+
+Syntax: *object*.**GridLineWidthFrozen** [ = *value* ]
+
+Reading returns the width that is in use, never -1. A value that is below 1 and is not -1 raises run-time error 380.
+
+### MirrorAlignGeneral
+{: .no_toc }
+
+Returns or sets whether the general alignment is mirrored. **Boolean**. Default: **False**.
+
+Syntax: *object*.**MirrorAlignGeneral** [ = *value* ]
+
+A cell with the general alignment (**FlexAlignmentGeneral**, see [**CellAlignment**](CellFormatting#cellalignment)) puts text on the side where reading starts, which is the left in a left-to-right grid, and numbers and dates on the other side. With **True** it is the other way round: a text goes to the right and a number to the left. The property is meant for grids that are read from right to left (see [**RightToLeft**](#righttoleft)) in which the numbers are expected on the side where the reading starts.
+
+### Picture
+{: .no_toc }
+
+Returns a picture of the grid. An **IPictureDisp**. Read-only.
+
+Syntax: *object*.**Picture**
+
+The picture shows the fixed and frozen rows and columns, followed by the rows and columns from the first visible one to the last one of the grid. It is the whole width and height of those cells, not only the part that fits into the control. What is scrolled out of view above or to the left is not in it. The picture can be copied to the clipboard, saved or printed, or assigned to a picture box. [**PictureType**](#picturetype) selects its kind.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 6
+    .Cols = 4
+    Debug.Print .Picture.Type & " " & .PictureType      ' a bitmap, the default type
+    .PictureType = FlexPictureTypeEnhMetafile
+    Debug.Print .Picture.Type                           ' an enhanced metafile
+End With
+' Output:
+' 1 0
+' 4
+```
+
+### PictureType
+{: .no_toc }
+
+Returns or sets the kind of picture that [**Picture**](#picture) returns. A [**FlexPictureTypeConstants**](../Enumerations/CellsAndAppearance#flexpicturetypeconstants) member. Default: **FlexPictureTypeColor**.
+
+Syntax: *object*.**PictureType** [ = *value* ]
+
+**FlexPictureTypeColor** gives a color bitmap and **FlexPictureTypeMonochrome** a black-and-white bitmap, both of the type 1 (**vbPicTypeBitmap**). **FlexPictureTypeEnhMetafile** gives an enhanced metafile, of the type 4 (**vbPicTypeEMetafile**), which can be scaled without loss. A value that is not a member of the enumeration raises run-time error 380.
+
+### RightToLeft
+{: .no_toc }
+
+Returns or sets whether the text is read from right to left. **Boolean**. Default: the setting of the form.
+
+Syntax: *object*.**RightToLeft** [ = *value* ]
+
+With **True** the text of the cells and of the edit box is drawn in right-to-left reading order. With [**RightToLeftLayout**](#righttoleftlayout) also **True** the control is mirrored as a whole: the scroll bar is on the left, and the columns run from the right. Assigning **True** does not always set it: [**RightToLeftMode**](#righttoleftmode) decides when the grid follows the setting. After the assignment the property reads back the value that applies.
+
+### RightToLeftLayout
+{: .no_toc }
+
+Returns or sets whether the control is mirrored when **RightToLeft** is **True**. **Boolean**. Default: **False**.
+
+Syntax: *object*.**RightToLeftLayout** [ = *value* ]
+
+With **False**, **RightToLeft** changes only the reading order of the text. With **True**, the whole grid is mirrored, so that the first column is on the right and the scroll bar on the left. It has no effect while **RightToLeft** is **False**.
+
+### RightToLeftMode
+{: .no_toc }
+
+Returns or sets when an assignment of **True** to **RightToLeft** takes effect. A [**FlexRightToLeftModeConstants**](../Enumerations/CellsAndAppearance#flexrighttoleftmodeconstants) member. Default: **FlexRightToLeftModeVBAME**.
+
+Syntax: *object*.**RightToLeftMode** [ = *value* ]
+
+| Value | **RightToLeft** is set to **True** |
+|-------|------------------------------------|
+| **FlexRightToLeftModeNoControl** | always, as assigned |
+| **FlexRightToLeftModeVBAME** | as the **UserControl** that holds the grid accepts it |
+| **FlexRightToLeftModeSystemLocale** | only when the default language of the system is written from right to left |
+| **FlexRightToLeftModeUserLocale** | only when the language of the user's settings is written from right to left |
+| **FlexRightToLeftModeOSLanguage** | only when the language of the user interface of Windows is written from right to left |
+
+In the other cases the property stays **False**. A value that is not a member of the enumeration raises run-time error 380.
+
+### SheetBorder
+{: .no_toc }
+
+Returns or sets whether a line is drawn at the end of the sheet. **Boolean**. Default: **True**.
+
+Syntax: *object*.**SheetBorder** [ = *value* ]
+
+The line closes the sheet on its bottom edge, under the last row, and on its right edge, after the last column, in the color of [**GridColorFixed**](#gridcolorfixed). The lines of the cells are drawn on the right and at the bottom of each cell, so without the line the last row and column would have none on the outer side.
+
+### TextStyle
+{: .no_toc }
+
+Returns or sets the 3D effect of the text in the normal cells. A [**FlexTextStyleConstants**](../Enumerations/CellsAndAppearance#flextextstyleconstants) member. Default: **FlexTextStyleFlat**.
+
+Syntax: *object*.**TextStyle** [ = *value* ]
+
+The effects draw the text a second time in a shifted position, in gray or white. **FlexTextStyleRaised** gives the text a gray shadow and a white highlight on the other side, so that it seems to stand out of the cell, **FlexTextStyleInset** the reverse, so that it seems pressed in. The *Light* variants draw only the white copy. A value that is not a member of the enumeration raises run-time error 380. A cell's own effect is [**CellTextStyle**](CellFormatting#celltextstyle).
+
+![A grid on a gray background with one column for each style, Flat, Raised, Inset, RaisedLight and InsetLight, each showing the word Sample in normal and in bold text drawn in that style.](Images/Appearance_TextStyles.png){:width="457" height="111"}
+
+### TextStyleFixed
+{: .no_toc }
+
+Returns or sets the 3D effect of the text in the fixed cells. A [**FlexTextStyleConstants**](../Enumerations/CellsAndAppearance#flextextstyleconstants) member. Default: **FlexTextStyleFlat**.
+
+Syntax: *object*.**TextStyleFixed** [ = *value* ]
+
+The effects are those of [**TextStyle**](#textstyle).
+
+### UseForeColorSel
+{: .no_toc }
+
+Returns or sets whether the selected cells use [**ForeColorSel**](#forecolorsel). **Boolean**. Default: **True**.
+
+Syntax: *object*.**UseForeColorSel** [ = *value* ]
+
+With **False** the selected cells keep the text color that they have when they are not selected, and only their background changes to [**BackColorSel**](#backcolorsel). That keeps cells with their own text colors readable.
+
+### VisualStyles
+{: .no_toc }
+
+Returns or sets whether the parts of the grid that Windows themes use the visual styles. **Boolean**. Default: **True**.
+
+Syntax: *object*.**VisualStyles** [ = *value* ]
+
+The scroll bars, the check boxes, the combo buttons, the drop-down lists, the calendar, the edit box and the tool tips are drawn in the theme of Windows when the program has visual styles on. With **False** they have the classic look. The setting changes nothing when the program has no visual styles.
+
+### WallPaper
+{: .no_toc }
+
+Returns or sets a picture that is shown behind the cells that are not fixed. An **IPictureDisp**. Default: none.
+
+Syntax: *object*.**WallPaper** [ = *value* ]
+
+Assign with **Set**; assigning **Nothing** removes the picture. Without a wallpaper the property reads **Nothing**; after a wallpaper was removed it returns a picture object that has no image, whose **Handle** is 0, as the **Picture** property of a form does. The picture shows through the cells that have the default background, which means that [**BackColor**](#backcolor) is not painted over it, and it is covered by the cells whose [**CellBackColor**](CellFormatting#cellbackcolor) is set and by the selection. Its place and size in the area are given by [**WallPaperAlignment**](#wallpaperalignment). The grid keeps a copy, so changing the source picture does not change the wallpaper.
+
+![A grid of products with a wallpaper that shades from white at the top to light blue at the bottom, stretched behind the cells below the header row, which keeps its own color.](Images/Appearance_WallPaper.png){:width="317" height="189"}
+
+### WallPaperAlignment
+{: .no_toc }
+
+Returns or sets where the wallpaper is placed. A [**FlexWallPaperAlignmentConstants**](../Enumerations/CellsAndAppearance#flexwallpaperalignmentconstants) member. Default: **FlexWallPaperAlignmentStretch**.
+
+Syntax: *object*.**WallPaperAlignment** [ = *value* ]
+
+The picture is placed at one of the nine positions (left, center and right at the top, in the middle and at the bottom), stretched over the whole area (**FlexWallPaperAlignmentStretch**) or repeated (**FlexWallPaperAlignmentTile**). A value that is not a member of the enumeration raises run-time error 380.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    Debug.Print .WallPaper Is Nothing
+    Set .WallPaper = .Picture
+    Debug.Print .WallPaper.Handle <> 0
+    Set .WallPaper = Nothing
+    Debug.Print .WallPaper.Handle
+    On Error Resume Next
+    .WallPaperAlignment = 99
+    Debug.Print Err.Number
+End With
+' Output:
+' True
+' True
+' 0
+' 380
+```
+
+## See Also
+
+- [Cell Formatting](CellFormatting) -- colors, fonts and text style of single cells and columns
+- [Sizes and Positions](Sizing) -- grid line offsets, and the sizes that follow the font
+- [Current Cell and Selection](Selection) -- the highlight and the focus rectangle
+- [Scrolling](Scrolling) -- scroll bars
+- [FlexBorderStyleConstants](../Enumerations/CellsAndAppearance#flexborderstyleconstants) -- borders
+- [FlexFontQualityConstants](../Enumerations/CellsAndAppearance#flexfontqualityconstants) -- font rendering quality
+- [FlexGridLineConstants](../Enumerations/CellsAndAppearance#flexgridlineconstants) -- grid line styles
+- [FlexPictureTypeConstants](../Enumerations/CellsAndAppearance#flexpicturetypeconstants) -- kinds of picture
+- [FlexRightToLeftModeConstants](../Enumerations/CellsAndAppearance#flexrighttoleftmodeconstants) -- right-to-left modes
+- [FlexTextStyleConstants](../Enumerations/CellsAndAppearance#flextextstyleconstants) -- 3D effects of text
+- [FlexWallPaperAlignmentConstants](../Enumerations/CellsAndAppearance#flexwallpaperalignmentconstants) -- places of the wallpaper
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/CellFormatting.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/CellFormatting.md
new file mode 100644
index 000000000..e87b49103
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/CellFormatting.md
@@ -0,0 +1,363 @@
+---
+title: Cell Formatting
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/CellFormatting
+has_toc: false
+---
+
+# Cell Formatting
+{: .no_toc }
+
+Alignment, colours, fonts, text style, pictures and flood bars of single cells and whole columns, and the **FillStyle** property that applies a cell setting to a whole selection.
+
+A cell has the look of the grid until a **Cell...** property gives it a look of its own. The properties of the grid ([**BackColor**](Appearance#backcolor), [**ForeColor**](Appearance#forecolor), [**Font**](Appearance#font) and the others on the [Appearance](Appearance) page) are the defaults, and a cell, or a column for the alignment, overrides them. A property that has not been set for a cell returns the value the cell inherits, not a special "unset" value. Setting a colour, an alignment or a text style to -1 returns the cell to the grid's setting.
+
+The **Cell...** properties of this page act on the current cell, the one at [**Row**](Selection#row) and [**Col**](Selection#col). Set those first, or use [**Cell**](Text#cell), which names the cell in each call and leaves the current cell alone.
+
+![A grid of four tasks with cells formatted one by one: Build in italics, Test in blue, an information icon before Ann, flood bars of 30, 60 and 90 percent in the Done column, the last one green, and Late centered in bold on a yellow background.](Images/CellFormatting_Cells.png){:width="364" height="150"}
+
+```tb check_build check_run arch=win32,win64
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.Row = 2
+VBFlexGrid1.Col = 1
+VBFlexGrid1.CellBackColor = vbYellow
+VBFlexGrid1.CellFontBold = True
+VBFlexGrid1.CellAlignment = FlexAlignmentCenterCenter
+Debug.Print VBFlexGrid1.CellBackColor = vbYellow                   ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellFontBold, 2, 1)               ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellBackColor, 3, 1) = VBFlexGrid1.BackColor ' True
+VBFlexGrid1.CellBackColor = -1                                     ' back to the grid's colour
+Debug.Print VBFlexGrid1.CellBackColor = VBFlexGrid1.BackColor      ' True
+```
+
+* TOC
+{:toc}
+
+## A block of cells with FillStyle
+
+[**FillStyle**](#fillstyle) chooses whether a **Cell...** property changes one cell or every cell of the selection. With **FlexFillStyleSingle**, the default, it changes the current cell. With **FlexFillStyleRepeat** it changes the whole block from [**Row**](Selection#row) and [**Col**](Selection#col) to [**RowSel**](Selection#rowsel) and [**ColSel**](Selection#colsel). The same holds for [**Text**](Text#text), [**CellTag**](Text#celltag), [**CellChecked**](CheckBoxes#cellchecked) and the other properties that write a cell. Switch it back when the block is done: it stays in force for every later write.
+
+```tb check_build check_run
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 4
+VBFlexGrid1.Row = 1
+VBFlexGrid1.Col = 1
+VBFlexGrid1.RowSel = 2
+VBFlexGrid1.ColSel = 2
+VBFlexGrid1.FillStyle = FlexFillStyleRepeat
+VBFlexGrid1.CellFontBold = True
+VBFlexGrid1.CellForeColor = vbRed
+VBFlexGrid1.FillStyle = FlexFillStyleSingle
+Debug.Print VBFlexGrid1.Cell(FlexCellFontBold, 2, 2)  ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellFontBold, 3, 3)  ' False
+Debug.Print VBFlexGrid1.Cell(FlexCellForeColor, 1, 2) = vbRed ' True
+```
+
+## Own formatting, and discarding it
+
+A cell that has had any of its looks changed has *custom formatting*, which takes a little memory. [**CellHasCustomFormatting**](#cellhascustomformatting) tells whether a cell has it, and setting it to **False** discards the formatting of the cell, picture and font included, so that the cell looks like the grid again. [**Clear**](Structure#clear) with **FlexClearFormatting** does the same for a whole area.
+
+The font of a cell is set as a whole. The first time a program writes **CellFontBold**, **CellFontItalic**, **CellFontName**, **CellFontSize**, **CellFontStrikeThrough**, **CellFontUnderline** or **CellFontCharset** for a cell, the cell takes a copy of the grid's [**Font**](Appearance#font) (or [**FontFixed**](Appearance#fontfixed) for a fixed cell) with that one attribute changed. A later change to the grid's font then no longer reaches that cell. Setting **CellFontName** to an empty string gives the cell the grid's font again, with every attribute.
+
+```tb check_build check_run
+VBFlexGrid1.Row = 1
+VBFlexGrid1.Col = 1
+Debug.Print VBFlexGrid1.CellHasCustomFormatting ' False
+VBFlexGrid1.CellFontItalic = True
+Debug.Print VBFlexGrid1.CellHasCustomFormatting ' True
+Debug.Print VBFlexGrid1.CellFontName = VBFlexGrid1.Font.Name ' True
+VBFlexGrid1.CellFontName = ""
+Debug.Print VBFlexGrid1.CellFontItalic = VBFlexGrid1.Font.Italic ' True
+VBFlexGrid1.CellHasCustomFormatting = False
+Debug.Print VBFlexGrid1.CellHasCustomFormatting ' False
+```
+
+## Flood bars
+
+A cell can show a coloured bar behind its text, as a progress bar does. [**CellFloodPercent**](#cellfloodpercent) sets how much of the cell's width the bar covers, and [**CellFloodColor**](#cellfloodcolor) its colour; the colour of a cell with none of its own is the grid's [**FloodColor**](#floodcolor). A positive percentage fills from the left edge, a negative one from the right edge. 0, the default, draws no bar. The bar is drawn behind the text, inside the grid line.
+
+```tb check_build check_run
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 2
+Dim r As Long
+For r = 1 To 3
+    VBFlexGrid1.TextMatrix(r, 1) = CStr(r * 30) & " %"
+    VBFlexGrid1.Cell(FlexCellFloodPercent, r, 1) = r * 30
+Next r
+VBFlexGrid1.Cell(FlexCellFloodColor, 3, 1) = vbGreen
+Debug.Print VBFlexGrid1.Cell(FlexCellFloodPercent, 2, 1)             ' 60
+Debug.Print VBFlexGrid1.Cell(FlexCellFloodColor, 1, 1) = VBFlexGrid1.FloodColor ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellFloodColor, 3, 1) = vbGreen     ' True
+```
+
+## Pictures
+
+[**CellPicture**](#cellpicture) puts a picture in a cell, drawn at the position [**CellPictureAlignment**](#cellpicturealignment) names. The picture keeps its own size, except with **FlexPictureAlignmentStretch**, and is cut off at the cell's edge. The text is drawn over the picture, unless the alignment is one of the *NoOverlap* values, which move the text clear of it. When many cells show the images of one list, [**ColImageList**](#colimagelist) is cheaper than a picture in each cell: the cell's text, or the result of [**CellImageCallback**](#cellimagecallback), is an index into the list.
+
+## Properties
+
+### CellAlignment
+{: .no_toc }
+
+The alignment of the text in the current cell.
+
+Syntax: *object*.**CellAlignment** [ = *value* ]
+
+A [**FlexAlignmentConstants**](../Enumerations/CellsAndAppearance#flexalignmentconstants) member, or -1. A cell that has not had one set returns the alignment of its column: [**ColAlignment**](#colalignment) for the cells of the scrollable area, [**FixedAlignment**](#fixedalignment) for the fixed cells. Writing -1 returns the cell to that. With [**FillStyle**](#fillstyle) at **FlexFillStyleRepeat** it sets every cell of the selection. Raises 30005 for another value, and 30009 or 30010 when there is no current row or column.
+
+### CellBackColor
+{: .no_toc }
+
+The background colour of the current cell.
+
+Syntax: *object*.**CellBackColor** [ = *value* ]
+
+An **OLE_COLOR** held in a **Long**, a colour or a system colour value, or -1. A cell that has not had one set returns the grid's [**BackColor**](Appearance#backcolor), or [**BackColorFixed**](Appearance#backcolorfixed) for a fixed cell. Writing -1 returns the cell to that. With [**FillStyle**](#fillstyle) at **FlexFillStyleRepeat** it sets every cell of the selection. Raises 30009 or 30010 when there is no current row or column.
+
+### CellFloodColor
+{: .no_toc }
+
+The colour of the flood bar of the current cell.
+
+Syntax: *object*.**CellFloodColor** [ = *value* ]
+
+An **OLE_COLOR** held in a **Long**, or -1. A cell that has not had one set returns the grid's [**FloodColor**](#floodcolor). Writing -1 returns the cell to that. The bar is drawn only when [**CellFloodPercent**](#cellfloodpercent) is not 0. With [**FillStyle**](#fillstyle) at **FlexFillStyleRepeat** it sets every cell of the selection.
+
+### CellFloodPercent
+{: .no_toc }
+
+How much of the current cell its flood bar covers.
+
+Syntax: *object*.**CellFloodPercent** [ = *value* ]
+
+An **Integer** from -100 to 100. Default: 0, no bar. A positive value fills that percentage of the cell's width from the left edge and a negative value from the right edge. Raises 380 for a value outside the range, and 30009 or 30010 when there is no current row or column. With [**FillStyle**](#fillstyle) at **FlexFillStyleRepeat** it sets every cell of the selection.
+
+### CellFontBold
+{: .no_toc }
+
+Whether the text of the current cell is bold.
+
+Syntax: *object*.**CellFontBold** [ = *value* ]
+
+A **Boolean**. A cell with no font of its own returns the bold setting of the grid's font. Writing it gives the cell its own font: see *Own formatting, and discarding it* above.
+
+### CellFontCharset
+{: .no_toc }
+
+The character set of the font of the current cell.
+
+Syntax: *object*.**CellFontCharset** [ = *value* ]
+
+An **Integer**, a Windows character set number (0 is ANSI, 1 default, 204 Cyrillic). A cell with no font of its own returns the character set of the grid's font. Setting **CellFontName** also sets the character set from the font named.
+
+### CellFontItalic
+{: .no_toc }
+
+Whether the text of the current cell is italic.
+
+Syntax: *object*.**CellFontItalic** [ = *value* ]
+
+A **Boolean**. A cell with no font of its own returns the italic setting of the grid's font.
+
+### CellFontName
+{: .no_toc }
+
+The name of the font of the current cell.
+
+Syntax: *object*.**CellFontName** [ = *value* ]
+
+A **String**. A cell with no font of its own returns the name of the grid's font. Writing a name gives the cell its own font, a copy of the grid's with that name, and sets the character set to the one that font has. Writing an empty string gives the cell the grid's font again.
+
+### CellFontSize
+{: .no_toc }
+
+The size in points of the font of the current cell.
+
+Syntax: *object*.**CellFontSize** [ = *value* ]
+
+A **Single**. A cell with no font of its own returns the size of the grid's font. A row grows to hold a larger font only when [**RowHeight**](Sizing#rowheight) or [**AutoSize**](Sizing#autosize) is used to size it.
+
+### CellFontStrikeThrough
+{: .no_toc }
+
+Whether the text of the current cell is struck through.
+
+Syntax: *object*.**CellFontStrikeThrough** [ = *value* ]
+
+A **Boolean**. A cell with no font of its own returns the strikethrough setting of the grid's font.
+
+### CellFontUnderline
+{: .no_toc }
+
+Whether the text of the current cell is underlined.
+
+Syntax: *object*.**CellFontUnderline** [ = *value* ]
+
+A **Boolean**. A cell with no font of its own returns the underline setting of the grid's font.
+
+### CellForeColor
+{: .no_toc }
+
+The colour of the text of the current cell.
+
+Syntax: *object*.**CellForeColor** [ = *value* ]
+
+An **OLE_COLOR** held in a **Long**, or -1. A cell that has not had one set returns the grid's [**ForeColor**](Appearance#forecolor), or [**ForeColorFixed**](Appearance#forecolorfixed) for a fixed cell. Writing -1 returns the cell to that. The colour is not used while the cell is selected and the grid's [**UseForeColorSel**](Appearance#useforecolorsel) is **True**; the grid's [**ForeColorSel**](Appearance#forecolorsel) is used then.
+
+### CellHasCustomFormatting
+{: .no_toc }
+
+Whether the current cell has formatting of its own.
+
+Syntax: *object*.**CellHasCustomFormatting** [ = *value* ]
+
+A **Boolean**. It is **True** once any look of the cell has been written. Setting it to **True** reserves the memory for formatting without changing any look; setting it to **False** discards all the formatting of the cell and returns it to the grid's look. With [**FillStyle**](#fillstyle) at **FlexFillStyleRepeat** it applies to every cell of the selection. Raises 30009 or 30010 when there is no current row or column.
+
+### CellPicture
+{: .no_toc }
+
+The picture of the current cell.
+
+Syntax: *object*.**CellPicture** [ = *value* ]
+
+Syntax: **Set** *object*.**CellPicture** = *value*
+
+An **IPictureDisp**. A cell with no picture returns **Nothing**. Write **Nothing** to remove it. With [**FillStyle**](#fillstyle) at **FlexFillStyleRepeat** it sets every cell of the selection.
+
+```tb check_build
+VBFlexGrid1.Row = 1
+VBFlexGrid1.Col = 1
+Set VBFlexGrid1.CellPicture = Picture1.Picture
+VBFlexGrid1.CellPictureAlignment = FlexPictureAlignmentLeftCenterNoOverlap
+```
+
+### CellPictureAlignment
+{: .no_toc }
+
+Where the picture of the current cell is drawn.
+
+Syntax: *object*.**CellPictureAlignment** [ = *value* ]
+
+A [**FlexPictureAlignmentConstants**](../Enumerations/CellsAndAppearance#flexpicturealignmentconstants) member. Default: **FlexPictureAlignmentLeftTop**. **FlexPictureAlignmentStretch** scales the picture to the cell and **FlexPictureAlignmentTile** repeats it. Raises 30005 for another value, and 30009 or 30010 when there is no current row or column.
+
+### CellTextStyle
+{: .no_toc }
+
+The 3D effect of the text of the current cell.
+
+Syntax: *object*.**CellTextStyle** [ = *value* ]
+
+A [**FlexTextStyleConstants**](../Enumerations/CellsAndAppearance#flextextstyleconstants) member, or -1. A cell that has not had one set returns the grid's [**TextStyle**](Appearance#textstyle), or [**TextStyleFixed**](Appearance#textstylefixed) for a fixed cell. Writing -1 returns the cell to that. Raises 380 for another value.
+
+### ColAlignment
+{: .no_toc }
+
+The alignment of the text in the scrollable cells of a column.
+
+Syntax: *object*.**ColAlignment**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column. It is not valid in a read.
+
+A [**FlexAlignmentConstants**](../Enumerations/CellsAndAppearance#flexalignmentconstants) member. Default: **FlexAlignmentGeneral**: numbers and dates are aligned right, other text left. The fixed cells of the column use it too unless [**FixedAlignment**](#fixedalignment) is set. A [**CellAlignment**](#cellalignment) of a single cell overrides it. The [**FormatString**](Structure#formatstring) property sets it for all columns. Raises 30004 when *Index* is not a column (and not -1 in a write), and 30005 for another value.
+
+```tb check_build check_run
+VBFlexGrid1.Cols = 3
+Debug.Print VBFlexGrid1.ColAlignment(1) = FlexAlignmentGeneral ' True
+VBFlexGrid1.ColAlignment(1) = FlexAlignmentRightCenter
+VBFlexGrid1.FixedAlignment(1) = FlexAlignmentCenterCenter
+Debug.Print VBFlexGrid1.Cell(FlexCellAlignment, 1, 1) = FlexAlignmentRightCenter   ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellAlignment, 0, 1) = FlexAlignmentCenterCenter  ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellAlignment, 1, 2) = FlexAlignmentGeneral       ' True
+```
+
+### ColImageList
+{: .no_toc }
+
+The image list whose images a column shows instead of its text.
+
+Syntax: *object*.**ColImageList**(*Index*) [ = *value* ]
+
+Syntax: **Set** *object*.**ColImageList**(*Index*) = *value*
+
+*Index*
+: *required* The column, as a **Long**.
+
+A **Variant** holding an **ImageList** object that has a handle (its **hImageList** property), or the handle of an image list, as a **Long** or **LongLong**. Writing **Empty** or **Nothing** removes the list. Reading returns the object that was set, the handle that was set, or **Empty**.
+
+For each cell of the column the grid finds an image index, and draws that image instead of the text when there is one. The index is the value of [**CellImageCallback**](#cellimagecallback) when the event sets *Handled*; otherwise it is the cell's text read as a number, or, with an **ImageList** object, as a key of its **ListImages**. An index that is 0 or beyond the list draws no image, and the text is drawn as usual. The image is aligned by the cell's alignment: [**CellAlignment**](#cellalignment), [**ColAlignment**](#colalignment) or [**FixedAlignment**](#fixedalignment). Raises 30010 when *Index* is not a column, 13 for a value that is not an object, a **Long**, a **LongLong** or **Empty**, and 35610 for an object that is not an **ImageList**.
+
+```tb check_build
+Dim hList As LongPtr                      ' the handle of an image list the program created
+VBFlexGrid1.ColImageList(1) = hList
+VBFlexGrid1.TextMatrix(1, 1) = "2"        ' shows the second image
+```
+
+### FillStyle
+{: .no_toc }
+
+Whether a **Cell...** property or **Text** changes one cell or the whole selection.
+
+Syntax: *object*.**FillStyle** [ = *value* ]
+
+A [**FlexFillStyleConstants**](../Enumerations/CellsAndAppearance#flexfillstyleconstants) member. Default: **FlexFillStyleSingle**. Raises 380 for another value.
+
+### FixedAlignment
+{: .no_toc }
+
+The alignment of the text in the fixed cells of a column.
+
+Syntax: *object*.**FixedAlignment**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column. It is not valid in a read.
+
+A [**FlexAlignmentConstants**](../Enumerations/CellsAndAppearance#flexalignmentconstants) member, or -1. A column that has not had one set uses [**ColAlignment**](#colalignment) for its fixed cells, and reading it returns that. Writing -1 returns the column to that. Raises 30004 when *Index* is not a column (and not -1 in a write), and 30005 for another value.
+
+### FloodColor
+{: .no_toc }
+
+The colour of the flood bars of the cells that have no colour of their own.
+
+Syntax: *object*.**FloodColor** [ = *value* ]
+
+An **OLE_COLOR**. Default: &HC0& (a dark red, `RGB(192, 0, 0)`). It is the colour of every bar whose cell has no [**CellFloodColor**](#cellfloodcolor).
+
+## Events
+
+### CellImageCallback
+{: .no_toc }
+
+Occurs when a cell of a column with a [**ColImageList**](#colimagelist) needs the index of its image.
+
+Syntax: *object*\_**CellImageCallback**(*Row* As **Long**, *Col* As **Long**, *Image* As **Variant**, *Handled* As **Boolean**)
+
+*Row*, *Col*
+: The cell.
+
+*Image*
+: **ByRef**, **Empty** on entry. The program sets it to the index of the image, as a number, or to the key of the image in the **ImageList** object (a string). A **Long**, **Integer** and **Byte** are taken as an index, a **Double** or **Single** is rounded to one.
+
+*Handled*
+: **ByRef**, **False** on entry. Set it to **True** to use *Image*. Left **False**, the grid reads the cell's text as an index or a key, as it does when the event does not exist. Setting it **True** with an *Image* that selects no image is the way to make a cell, for example a fixed cell, show no image.
+
+```tb check_build
+Private Sub VBFlexGrid1_CellImageCallback(ByVal Row As Long, ByVal Col As Long, ByRef Image As Variant, ByRef Handled As Boolean)
+    If Row < VBFlexGrid1.FixedRows Then
+        Handled = True          ' no image in the fixed rows
+    ElseIf VBFlexGrid1.TextMatrix(Row, Col) = "Yes" Then
+        Image = 1
+        Handled = True
+    End If
+End Sub
+```
+
+## See Also
+
+- [Cell Text](Text) -- the text of the cells, [**Cell**](Text#cell), formats and lookups
+- [Appearance](Appearance) -- the grid-wide colours, fonts and lines that cells inherit
+- [Check Boxes](CheckBoxes) -- [**CellChecked**](CheckBoxes#cellchecked)
+- [Drop-Down Lists, Buttons and Calendars](ComboEditing) -- the combo cue of a cell
+- [**FlexAlignmentConstants**](../Enumerations/CellsAndAppearance#flexalignmentconstants), [**FlexPictureAlignmentConstants**](../Enumerations/CellsAndAppearance#flexpicturealignmentconstants), [**FlexTextStyleConstants**](../Enumerations/CellsAndAppearance#flextextstyleconstants), [**FlexFillStyleConstants**](../Enumerations/CellsAndAppearance#flexfillstyleconstants)
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/CheckBoxes.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/CheckBoxes.md
new file mode 100644
index 000000000..a8e2e2cb8
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/CheckBoxes.md
@@ -0,0 +1,345 @@
+---
+title: Check Boxes
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/CheckBoxes
+has_toc: false
+---
+
+# Check Boxes
+{: .no_toc }
+
+Shows a check box in cells, lets the user toggle it, and reports the change.
+
+A cell shows a check box when its state, [**CellChecked**](#cellchecked), is not **FlexNoCheckBox**, or when its column has [**ColCheckBoxes**](#colcheckboxes) set. The state is a [**FlexCheckBoxConstants**](../Enumerations/EditingAndComboBoxes#flexcheckboxconstants) value:
+
+| State | Value | The cell |
+|:------|------:|:---------|
+| **FlexNoCheckBoxEver** | -2 | Has no check box, even in a column with **ColCheckBoxes**. |
+| **FlexNoCheckBox** | -1 | Has no check box of its own. The default. In a column with **ColCheckBoxes**, the cell shows an unchecked box. |
+| **FlexUnchecked** | 0 | Shows an unchecked box. |
+| **FlexChecked** | 1 | Shows a checked box. |
+| **FlexGrayed** | 2 | Shows a box in the indeterminate state. |
+| **FlexTextAsCheckBox** | 3 | Shows a box that follows the text of the cell: empty text is grayed, any other text is converted to a **Boolean** and shown checked or unchecked. The text itself is not drawn. |
+| **FlexDisabledUnchecked**, **FlexDisabledChecked**, **FlexDisabledGrayed**, **FlexDisabledTextAsCheckBox** | 4 to 7 | The same four, disabled: the user cannot toggle them. |
+
+![A grid with one row for each state, named in its first column, and the check box in its second: an empty box, a checked box and a box with a filled square for the grayed state, the same three in light gray for the disabled states, and a checked box for FlexTextAsCheckBox, whose cell holds the text 1.](Images/CheckBoxes_States.png){:width="257" height="208"}
+
+```tb check_build
+Private Sub Form_Load()
+    With VBFlexGrid1
+        .ColCheckBoxes(1) = True      ' every cell below the fixed rows of column 1 has a box
+        .ColCheckBoxAlignment(1) = FlexCheckBoxAlignmentCenterCenter
+    End With
+End Sub
+
+Private Sub VBFlexGrid1_CellCheck(ByVal Row As Long, ByVal Col As Long)
+    Debug.Print "Row " & Row & " is now " & VBFlexGrid1.TextMatrix(Row, 0)
+End Sub
+```
+
+* TOC
+{:toc}
+
+## Reading and setting the state
+
+[**CellChecked**](#cellchecked) reads and sets the state of the current cell, as every property that has "Cell" in its name does. [**Cell**](Text#cell) with **FlexCellChecked** does the same for any cell or range. With [**FillStyle**](CellFormatting#fillstyle) **FlexFillStyleRepeat**, an assignment applies to every cell of the selection.
+
+A column with **ColCheckBoxes** gives the cells of the column below the fixed rows an unchecked box: [**CellChecked**](#cellchecked) reads 0 for a cell that has no state of its own. A cell of a fixed row has a box only when the program sets its state. Setting the state of a cell to **FlexNoCheckBox** in such a column puts it back to unchecked, and **FlexNoCheckBoxEver** removes the box.
+
+A check box can also take its state from a data source: [**IVBFlexDataSource2**](../IVBFlexDataSource2) supplies it for the columns that have **ColCheckBoxes**.
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .Rows = 5
+    .Cols = 3
+    .Row = 1
+    .Col = 1
+    Debug.Print .CellChecked            ' -1
+    .CellChecked = FlexChecked
+    Debug.Print .CellChecked            ' 1
+    .ColCheckBoxes(2) = True
+    .Col = 2
+    Debug.Print .CellChecked            ' 0
+    .Row = 0
+    Debug.Print .CellChecked            ' -1
+    .Row = 2
+    .CellChecked = FlexNoCheckBoxEver
+    Debug.Print .CellChecked            ' -2
+    .CellChecked = FlexNoCheckBox
+    Debug.Print .CellChecked            ' 0
+    .Row = 3
+    .CellChecked = FlexDisabledGrayed
+    Debug.Print .CellChecked            ' 6
+    .FillStyle = FlexFillStyleRepeat
+    .Col = 1
+    .Row = 3
+    .RowSel = 4
+    .CellChecked = FlexChecked
+    Debug.Print .Cell(FlexCellChecked, 3, 1) & .Cell(FlexCellChecked, 4, 1)   ' 11
+    On Error Resume Next
+    .CellChecked = 9
+    Debug.Print Err.Number              ' 380
+End With
+```
+
+## What the user does
+
+The user toggles a check box with a click or a double-click on it, or with **Space** when the cell is the current cell. This needs no [**AllowUserEditing**](Editing#allowuserediting). A box that is unchecked becomes checked, a checked or grayed box becomes unchecked. A box of **FlexTextAsCheckBox** keeps its state, because the state is the text: the program changes the text in [**CellCheck**](#cellcheck). A disabled box does nothing.
+
+Before the change, the grid raises [**CellBeforeCheck**](#cellbeforecheck), which can refuse it. After it, the grid raises [**CellCheck**](#cellcheck). A state that code sets with [**CellChecked**](#cellchecked) raises neither.
+
+The mouse reaches a check box through the hit test ([**HitTest**](MouseAndKeyboard#hittest) returns **FlexHitResultCheckBox**). [**ColCheckBoxesHitTestInvisible**](#colcheckboxeshittestinvisible) removes the boxes of a column from it: a click on a box is then a click on the cell, and the box is not highlighted when the mouse is over it, but **Space** still toggles it. The next sample sends **Space** to the grid's window with `SendKey`, a procedure that sends a key-down message in place of the keyboard.
+
+```tb check_build projname=checks slot=file
+Class CheckWatcher
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+    Private mLog As String
+
+    Public Refuse As Boolean    ' CellBeforeCheck refuses the change
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    ' Returns the events logged so far, and clears the log.
+    Public Function Take() As String
+        Take = Trim$(mLog)
+        mLog = ""
+    End Function
+
+    Private Sub Grid_CellBeforeCheck(ByVal Row As Long, ByVal Col As Long, ByVal Reason As FlexCellCheckReasonConstants, ByRef Cancel As Boolean)
+        mLog &= " Before(" & Row & "," & Col & "," & Reason & ")"
+        Cancel = Refuse
+    End Sub
+    Private Sub Grid_CellCheck(ByVal Row As Long, ByVal Col As Long)
+        mLog &= " Check(" & Row & "," & Col & ")"
+    End Sub
+End Class
+```
+
+```tb check_build hidden projname=checks slot=file
+Module KeySender
+    Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
+
+    Public Sub SendKey(ByVal Grid As VBFLXGRD18.VBFlexGrid, ByVal KeyCode As Long)
+        Const WM_KEYDOWN As Long = &H100
+        SendMessageW Grid.hWnd, WM_KEYDOWN, KeyCode, 0
+    End Sub
+End Module
+```
+
+```tb check_build check_run projname=checks
+Form1.Show
+DoEvents
+Dim W As New CheckWatcher
+W.Attach VBFlexGrid1
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .ColCheckBoxes(1) = True
+    .Row = 1
+    .Col = 1
+    .SetFocus
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked & " " & W.Take()   ' 1 Before(1,1,1) Check(1,1)
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked                    ' 0
+    .CellChecked = FlexGrayed
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked                    ' 0
+    W.Take
+    W.Refuse = True
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked & " " & W.Take()   ' 0 Before(1,1,1)
+    W.Refuse = False
+    .CellChecked = FlexDisabledChecked
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked & " [" & W.Take() & "]"   ' 5 []
+    .TextMatrix(1, 1) = "1"
+    .CellChecked = FlexTextAsCheckBox
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked & .TextMatrix(1, 1) & " " & W.Take()   ' 31 Before(1,1,1) Check(1,1)
+    .CellChecked = FlexUnchecked
+    .ColCheckBoxesHitTestInvisible(1) = True
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .CellChecked & " " & W.Take()   ' 1 Before(1,1,1) Check(1,1)
+End With
+```
+
+The last line shows that the key still works in a column whose boxes the mouse cannot reach. When [**AllowUserEditing**](Editing#allowuserediting) is **True**, **Space** toggles a cell that has a check box, and starts an edit in a cell that has none.
+
+## Properties
+
+### CellChecked
+{: .no_toc }
+
+The check box state of the current cell. A [**FlexCheckBoxConstants**](../Enumerations/EditingAndComboBoxes#flexcheckboxconstants) value. Default **FlexNoCheckBox**.
+
+Syntax: *object*.**CellChecked** [ = *value* ]
+
+Reading a cell of a column with [**ColCheckBoxes**](#colcheckboxes), below the fixed rows, returns 0 (**FlexUnchecked**) for a cell with no state of its own. With [**FillStyle**](CellFormatting#fillstyle) **FlexFillStyleRepeat**, an assignment applies to the selection. Raises error 30009 or 30010 when there is no current cell, and error 380 for a value that is not a member of the enumeration.
+
+### CheckBoxDrawMode
+{: .no_toc }
+
+Who draws the check boxes. A [**FlexCheckBoxDrawModeConstants**](../Enumerations/EditingAndComboBoxes#flexcheckboxdrawmodeconstants) value. Default **FlexCheckBoxDrawModeNormal**.
+
+Syntax: *object*.**CheckBoxDrawMode** [ = *value* ]
+
+With **FlexCheckBoxDrawModeOwnerDraw**, the grid raises [**CheckBoxOwnerDraw**](#checkboxownerdraw) for each check box that it draws. Error 380 for any other value.
+
+### ColCheckBoxAlignment
+{: .no_toc }
+
+Where the check boxes of a column are in their cells. A [**FlexCheckBoxAlignmentConstants**](../Enumerations/EditingAndComboBoxes#flexcheckboxalignmentconstants) value. Default **FlexCheckBoxAlignmentUsePictureAlignment**.
+
+Syntax: *object*.**ColCheckBoxAlignment**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+The nine positions put the box at the left, the centre or the right, and at the top, the middle or the bottom of the cell. **FlexCheckBoxAlignmentUsePictureAlignment** puts it at the left, the centre or the right, in the middle, as the alignment of the picture of the cell says ([**CellPictureAlignment**](CellFormatting#cellpicturealignment)). Text moves to make room for a box at the left or the right. Error 30004 for an invalid column, error 30005 for an invalid alignment.
+
+### ColCheckBoxes
+{: .no_toc }
+
+Whether the cells of a column have a check box. **Boolean**. Default **False**.
+
+Syntax: *object*.**ColCheckBoxes**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+The cells below the fixed rows show an unchecked box unless they have a state of their own, and **FlexNoCheckBoxEver** removes it. The fixed rows are not affected. Error 30010 for an invalid column.
+
+### ColCheckBoxesHitTestInvisible
+{: .no_toc }
+
+Whether the mouse ignores the check boxes of a column. **Boolean**. Default **False**.
+
+Syntax: *object*.**ColCheckBoxesHitTestInvisible**( *Index* [, *DisabledOnly* ] ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+*DisabledOnly*
+: *optional* A **Boolean**, passed by reference. Reading sets it to the second flag of the column; in an assignment it chooses the second flag. Default **False**.
+
+The two flags, the value and *DisabledOnly*, decide which boxes the mouse ignores. A box that the mouse ignores is not highlighted, and a click on it is a click on the cell. The boxes are not hidden, and **Space** still toggles them.
+
+| Value | *DisabledOnly* | The mouse ignores |
+|:------|:---------------|:------------------|
+| **False** | **False** | None of the boxes. |
+| **True** | **False** | All of the boxes. |
+| **True** | **True** | The disabled boxes only. |
+| **False** | **True** | The boxes that are not disabled only. |
+
+This is useful for boxes that only show a value, such as **FlexTextAsCheckBox**, where a click should select the cell. The property is for the cells below the fixed rows and right of the fixed columns; [**ColCheckBoxesHitTestInvisibleFixed**](#colcheckboxeshittestinvisiblefixed) is the same for the others. Error 30010 for an invalid column.
+
+```tb check_build check_run arch=win32,win64
+Dim DisabledOnly As Boolean
+With VBFlexGrid1
+    .Cols = 3
+    .ColCheckBoxesHitTestInvisible(1, True) = True
+    Debug.Print .ColCheckBoxesHitTestInvisible(1, DisabledOnly) & " " & DisabledOnly   ' True True
+    .ColCheckBoxesHitTestInvisible(1) = True
+    Debug.Print .ColCheckBoxesHitTestInvisible(1, DisabledOnly) & " " & DisabledOnly   ' True False
+End With
+```
+
+### ColCheckBoxesHitTestInvisibleFixed
+{: .no_toc }
+
+Whether the mouse ignores the check boxes of the fixed cells of a column. **Boolean**. Default **False**.
+
+Syntax: *object*.**ColCheckBoxesHitTestInvisibleFixed**( *Index* [, *DisabledOnly* ] ) [ = *value* ]
+
+As [**ColCheckBoxesHitTestInvisible**](#colcheckboxeshittestinvisible), for the cells of the fixed rows and of the fixed columns.
+
+### FixedCheckBoxAlignment
+{: .no_toc }
+
+Where the check boxes of the fixed cells of a column are in their cells. A [**FlexCheckBoxAlignmentConstants**](../Enumerations/EditingAndComboBoxes#flexcheckboxalignmentconstants) value, or -1 to follow [**ColCheckBoxAlignment**](#colcheckboxalignment). Default -1.
+
+Syntax: *object*.**FixedCheckBoxAlignment**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+Reading returns the value of **ColCheckBoxAlignment** while the column has none of its own. Error 30004 for an invalid column, error 30005 for an invalid alignment.
+
+```tb check_build check_run arch=win32,win64
+With VBFlexGrid1
+    .Cols = 3
+    Debug.Print .ColCheckBoxAlignment(1) & " " & .FixedCheckBoxAlignment(1) & " " & .CheckBoxDrawMode   ' 9 9 0
+    .ColCheckBoxAlignment(1) = FlexCheckBoxAlignmentRightCenter
+    Debug.Print .ColCheckBoxAlignment(1) & " " & .FixedCheckBoxAlignment(1)   ' 7 7
+    .FixedCheckBoxAlignment(1) = FlexCheckBoxAlignmentLeftTop
+    Debug.Print .ColCheckBoxAlignment(1) & " " & .FixedCheckBoxAlignment(1)   ' 7 0
+    On Error Resume Next
+    .ColCheckBoxAlignment(1) = 99
+    Debug.Print Err.Number   ' 30005
+End With
+```
+
+## Events
+
+### CellBeforeCheck
+{: .no_toc }
+
+Occurs when the user is about to toggle a check box.
+
+Syntax: *object*\_**CellBeforeCheck**( *Row* **As Long**, *Col* **As Long**, *Reason* **As FlexCellCheckReasonConstants**, *Cancel* **As Boolean** )
+
+*Row*, *Col*
+: The cell.
+
+*Reason*
+: A [**FlexCellCheckReasonConstants**](../Enumerations/EditingAndComboBoxes#flexcellcheckreasonconstants) value: **FlexCellCheckReasonMouse** or **FlexCellCheckReasonKeyboard**.
+
+*Cancel*
+: Set to **True** to refuse the change. [**CellCheck**](#cellcheck) is then not raised.
+
+It occurs for a box that can be toggled, and for **FlexTextAsCheckBox**; a disabled box raises nothing.
+
+### CellCheck
+{: .no_toc }
+
+Occurs after the user has toggled a check box.
+
+Syntax: *object*\_**CellCheck**( *Row* **As Long**, *Col* **As Long** )
+
+For a box of **FlexTextAsCheckBox** the state did not change, and the handler changes the text of the cell to the new state.
+
+### CheckBoxOwnerDraw
+{: .no_toc }
+
+Occurs when a check box is to be drawn and [**CheckBoxDrawMode**](#checkboxdrawmode) is **FlexCheckBoxDrawModeOwnerDraw**.
+
+Syntax: *object*\_**CheckBoxOwnerDraw**( *Row* **As Long**, *Col* **As Long**, *Cancel* **As Boolean**, *ItemState* **As Long**, *hDC* **As Long**, *Left* **As Long**, *Top* **As Long**, *Right* **As Long**, *Bottom* **As Long** )
+
+*Row*, *Col*
+: The cell.
+
+*Cancel*
+: **False**, as the event starts, means that the handler draws the check box. Set it to **True** to let the grid draw it.
+
+*ItemState*
+: A bit mask of the Windows `ODS_` flags: `ODS_CHECKED` (8) for a checked box, `ODS_GRAYED` (2) for a grayed one, `ODS_DISABLED` (4) for a disabled one, `ODS_HOTLIGHT` (&H40) while the mouse is over the box. A **FlexTextAsCheckBox** box is passed in the state that its text gives.
+
+*hDC*
+: The device context to draw in. Its origin is the top left corner of the box.
+
+*Left*, *Top*, *Right*, *Bottom*
+: The rectangle of the box, in pixels.
+
+## See Also
+
+- [Editing Cells](Editing) -- **Space** starts an edit in a cell that has no check box
+- [Drop-Down Lists, Buttons and Calendars](ComboEditing)
+- [Cell Text](Text) -- **Cell** with **FlexCellChecked**
+- [FlexCheckBoxConstants](../Enumerations/EditingAndComboBoxes#flexcheckboxconstants) enumeration
+- [FlexCheckBoxAlignmentConstants](../Enumerations/EditingAndComboBoxes#flexcheckboxalignmentconstants) enumeration
+- [FlexCheckBoxDrawModeConstants](../Enumerations/EditingAndComboBoxes#flexcheckboxdrawmodeconstants) enumeration
+- [FlexCellCheckReasonConstants](../Enumerations/EditingAndComboBoxes#flexcellcheckreasonconstants) enumeration
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/ClipboardAndArrays.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/ClipboardAndArrays.md
new file mode 100644
index 000000000..2b39384b0
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/ClipboardAndArrays.md
@@ -0,0 +1,651 @@
+---
+title: Clipboard, Undo and Arrays
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/ClipboardAndArrays
+---
+
+# Clipboard, Undo and Arrays
+{: .no_toc }
+
+Reading and writing a range of cells as one string, copying to and pasting from the Windows clipboard, undoing those changes, and moving the contents of the grid to and from arrays.
+
+* TOC
+{:toc}
+
+## The clip string
+
+The text of a range of cells can be read or written as one string, the *clip*. Cells of a row are separated by a tab character and rows by a carriage return (**vbTab** and **vbCr**), and the text of the last cell has no separator after it.
+
+[**Clip**](#clip) reads the clip of the current selection and writes the clip you give to the cells of the selection. The clipboard methods [**Copy**](#copy), [**Cut**](#cut) and [**Paste**](#paste) are the same operation with the Windows clipboard, in the Unicode text format.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Row As Long, Col As Long
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 1
+    .Rows = 4: .Cols = 3
+    For Row = 0 To 3
+        For Col = 0 To 2
+            .TextMatrix(Row, Col) = Chr$(65 + Row) & Col     ' A0 A1 A2 / B0 B1 B2 / ...
+        Next
+    Next
+
+    .SelectRange 1, 1, 2, 2                                  ' B1 B2 / C1 C2
+    Debug.Print Replace(Replace(.Clip, vbTab, "|"), vbCr, "/")
+
+    .ClipSeparators = ",;"                                   ' a column separator and a row separator
+    Debug.Print .Clip
+End With
+' Output:
+' B1|B2/C1|C2
+' B1,B2;C1,C2
+```
+
+The separators are set in two ways. [**ClipSeparatorCol**](#clipseparatorcol) and [**ClipSeparatorRow**](#clipseparatorrow) are strings of any length; **ClipSeparatorRow** can be **vbCrLf**, which is the line break of most Windows programs. [**ClipSeparators**](#clipseparators) is a string of two characters, the column separator and the row separator, that replaces the other two while it is not empty. A cell whose text contains a separator is not protected in any way, so a clip cannot be read back reliably when the text contains one.
+
+A string of cells is written into the selection from its top left cell, one cell for each piece of the string. With [**ClipPasteMode**](#clippastemode) **FlexClipPasteModeNormal** a piece that does not fit in the selection is dropped, and a selection that is larger than the string keeps its other cells. A selection of one cell receives only the first piece.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Row As Long, Line As String
+
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 3: .Cols = 3
+
+    .SelectRange 0, 0, 0, 0                                  ' one cell
+    .Clip = "1" & vbTab & "2" & vbCr & "3" & vbTab & "4"
+    Debug.Print "[" & .TextMatrix(0, 0) & "][" & .TextMatrix(0, 1) & "]"
+
+    .ClipPasteMode = FlexClipPasteModeAutoSelection          ' the selection grows to the string
+    .Clip = "1" & vbTab & "2" & vbCr & "3" & vbTab & "4"
+    For Row = 0 To 1
+        Line = Line & .TextMatrix(Row, 0) & .TextMatrix(Row, 1) & " "
+    Next
+    Debug.Print Line & .Row & .Col & .RowSel & .ColSel
+End With
+' Output:
+' [1][]
+' 12 34 0011
+```
+
+### What a clip holds
+
+[**ClipCopyMode**](#clipcopymode) says what [**Clip**](#clip) (when it is read) and [**Copy**](#copy) take from the grid: the selection alone (the default), or the selection with the fixed rows above it, the fixed columns before it, or both. The Extended values take the visual selection: with a selection mode by row or by column the whole row or column, and with [**AllowMultiSelection**](Selection#allowmultiselection) the selected rows. Reading and writing differ here: **ClipCopyMode** does not apply to writing.
+
+[**ClipMode**](#clipmode) applies to reading and to writing. With **FlexClipModeExcludeHidden** the hidden rows and columns are left out. With **FlexClipModeLookupConv** the text of a column that has a [**ColLookup**](Text#collookup) is read as the value that the lookup shows, and written back as its key, which is what a user sees in a spreadsheet when they copy the cells. **FlexClipModeLookupConvExcludeHidden** does both.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Row As Long, Col As Long
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 1
+    .Rows = 4: .Cols = 4
+    For Row = 0 To 3
+        For Col = 0 To 3
+            .TextMatrix(Row, Col) = Chr$(65 + Row) & Col
+        Next
+    Next
+    .SelectRange 1, 1, 3, 3
+    .RowHidden(2) = True: .ColHidden(2) = True
+
+    Debug.Print Replace(Replace(.Clip, vbTab, "|"), vbCr, "/")
+    .ClipMode = FlexClipModeExcludeHidden
+    Debug.Print Replace(Replace(.Clip, vbTab, "|"), vbCr, "/")
+
+    .ClipMode = FlexClipModeNormal
+    .ClipCopyMode = FlexClipCopyModeIncludeFixedAll
+    Debug.Print Replace(Replace(.Clip, vbTab, "|"), vbCr, "/")
+End With
+' Output:
+' B1|B2|B3/C1|C2|C3/D1|D2|D3
+' B1|B3/D1|D3
+' A0|A1|A2|A3/B0|B1|B2|B3/C0|C1|C2|C3/D0|D1|D2|D3
+```
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 2: .Cols = 1
+    .ColLookup(0) = "1;one|2;two"                ' keys 1 and 2 are shown as one and two
+    .ClipMode = FlexClipModeLookupConv
+
+    .TextMatrix(0, 0) = "1": .TextMatrix(1, 0) = "2"
+    .SelectRange 0, 0, 1, 0
+    Debug.Print Replace(.Clip, vbCr, "/")          ' the shown text
+
+    .Clip = "two" & vbCr & "one"                    ' written as keys
+    Debug.Print .TextMatrix(0, 0) & .TextMatrix(1, 0)
+End With
+' Output:
+' one/two
+' 21
+```
+
+### Strings and arrays
+
+[**ParseClip**](#parseclip) splits a clip string into a two-dimensional array without a grid range, and [**ConstructClip**](#constructclip) joins such an array. Both use the separators that are set, and the arrays are indexed by row and then by column, from 0.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Cells As Variant, Clip As String
+
+With VBFlexGrid1
+    Cells = .ParseClip("a" & vbTab & "b" & vbCr & "c")       ' the second row is short
+    Debug.Print UBound(Cells, 1) & " " & UBound(Cells, 2)
+    Debug.Print "[" & Cells(1, 0) & "][" & Cells(1, 1) & "]"
+
+    Clip = .ConstructClip(Cells)
+    Debug.Print Replace(Replace(Clip, vbTab, "|"), vbCr, "/")
+End With
+' Output:
+' 1 1
+' [c][]
+' a|b/c|
+```
+
+## Copy, Cut, Paste and Delete
+
+[**Copy**](#copy) puts the clip of the selection on the clipboard. [**Cut**](#cut) does the same and then clears the text of the selection. [**Paste**](#paste) writes the text on the clipboard into the grid like **Clip** does, and does nothing when the clipboard holds no text ([**CanPaste**](#canpaste)). [**Delete**](#delete) clears the text of the selection and leaves the clipboard alone. **Cut**, **Paste** and **Delete** scroll the grid to show the current cell when they have finished.
+
+[**BeforeClipboardAction**](#beforeclipboardaction) comes first and can change the text or stop the operation, and [**AfterClipboardAction**](#afterclipboardaction) comes after a completed one. With [**AutoClipboard**](#autoclipboard) **True**, the keys do the same: Ctrl+C and Ctrl+Insert copy, and the other keys act only when [**AllowUserEditing**](Editing#allowuserediting) is **True**: Ctrl+X and Shift+Delete cut, Ctrl+V and Shift+Insert paste, and Delete and Ctrl+Delete delete.
+
+
+> [!WARNING] 1.8.69.0
+> **Copy**, **Cut** and **Paste** do not check that they could open the clipboard, and another program can hold it open for a moment, as a program that watches the clipboard often does right after something is copied. **Copy** then puts nothing on the clipboard, and **Cut** clears the text of the selection all the same, so that text is lost; with [**UndoLimit**](#undolimit) above 0 (the default is 0), **Undo** brings it back. **Paste** opens the clipboard twice, once to see that it holds text and once to read it: held at the first, **Paste** does nothing and raises no event; held at the second, it writes an empty text over the selection. Each raises [**AfterClipboardAction**](#afterclipboardaction) as after an action that worked, except a **Paste** that did nothing. Code that pastes right after a **Copy** can check the result and paste again, as the sample below does.
+
+```tb check_build slot=file projname=clip-events
+Class ClipLog
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+    Public Log As String
+    Public BlockActions As Boolean
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    Private Sub Grid_BeforeClipboardAction(ByVal Action As FlexClipboardActionConstants, Text As String, Cancel As Boolean)
+        Log = Log & "before " & Action & " "
+        If Action = FlexClipboardActionPaste Then Text = UCase$(Text)   ' changes what is pasted
+        Cancel = BlockActions
+    End Sub
+
+    Private Sub Grid_AfterClipboardAction(ByVal Action As FlexClipboardActionConstants)
+        Log = Log & "after " & Action & " "
+    End Sub
+End Class
+```
+
+```tb check_build check_run slot=sub projname=clip-events
+Dim Watcher As New ClipLog
+Watcher.Attach VBFlexGrid1
+
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 2: .Cols = 2
+    .TextMatrix(0, 0) = "ab": .TextMatrix(0, 1) = "cd"
+
+    .SelectRange 0, 0, 0, 0
+    .Copy                                          ' action 0
+    Debug.Print Watcher.Log
+
+    .SelectRange 1, 0, 1, 0
+    Dim tries As Long
+    Do                                             ' another program can hold the clipboard for a moment
+        .Paste                                     ' action 2, the handler makes the text upper case
+        DoEvents
+        tries += 1
+    Loop Until .TextMatrix(1, 0) <> "" Or tries > 500
+    Debug.Print .TextMatrix(1, 0)
+
+    Watcher.Log = ""
+    Watcher.BlockActions = True
+    .SelectRange 0, 0, 0, 1
+    .Cut                                           ' action 1, stopped
+    .Delete                                        ' action 3, stopped
+    Debug.Print .TextMatrix(0, 0) & .TextMatrix(0, 1)
+End With
+Debug.Print Watcher.Log
+' Output:
+' before 0 after 0 
+' AB
+' abcd
+' before 1 before 3 
+```
+
+### Undo and redo
+
+When [**UndoLimit**](#undolimit) is more than 0, the control keeps a queue of the actions of [**Cut**](#cut), [**Paste**](#paste) and [**Delete**](#delete), and of the cell edits that the user makes, up to that number. [**Undo**](#undo) takes back the latest and selects the range that it changed, [**Redo**](#redo) does it again, and a new action empties the redo queue. A change by [**TextMatrix**](Text#textmatrix), [**Clip**](#clip) or any other member is not recorded. [**CanUndo**](#canundo) and [**CanRedo**](#canredo) say whether there is something to take back or to do again, and [**ResetUndoQueue**](#resetundoqueue) empties both queues. Setting **UndoLimit** also empties both.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 2: .Cols = 1
+    .TextMatrix(0, 0) = "one": .TextMatrix(1, 0) = "two"
+    .UndoLimit = 10
+    Debug.Print .CanUndo
+
+    .SelectRange 0, 0, 0, 0
+    .Delete
+    Debug.Print "[" & .TextMatrix(0, 0) & "] " & .CanUndo & " " & .CanRedo
+
+    .Undo
+    Debug.Print .TextMatrix(0, 0) & " " & .CanUndo & " " & .CanRedo
+
+    .Redo
+    Debug.Print "[" & .TextMatrix(0, 0) & "]"
+
+    .TextMatrix(1, 0) = "changed"                   ' not recorded
+    .Undo
+    Debug.Print .TextMatrix(0, 0) & " " & .TextMatrix(1, 0)
+End With
+' Output:
+' False
+' [] True False
+' one False True
+' []
+' one changed
+```
+
+```tb check_build slot=file projname=clip-keys
+Module ClipKeys
+    Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
+
+    ' Sends the key to the control as if the user had pressed it and let it go.
+    Public Sub PressKey(ByVal hWnd As LongPtr, ByVal KeyCode As Long)
+        Const WM_KEYDOWN As Long = &H100
+        Const WM_KEYUP As Long = &H101
+        SendMessageW hWnd, WM_KEYDOWN, KeyCode, 0
+        SendMessageW hWnd, WM_KEYUP, KeyCode, 0
+    End Sub
+End Module
+```
+
+```tb check_build check_run slot=sub projname=clip-keys
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 2: .Cols = 1
+    .TextMatrix(0, 0) = "one"
+    .AllowUserEditing = True
+    .AutoClipboard = True
+    .UndoLimit = 5
+    .SelectRange 0, 0, 0, 0
+
+    Form1.Show
+    DoEvents
+    .SetFocus
+    DoEvents
+
+    PressKey .hWnd, vbKeyDelete                     ' the Delete key
+    Debug.Print "[" & .TextMatrix(0, 0) & "]"
+    .Undo
+    Debug.Print .TextMatrix(0, 0)
+End With
+' Output:
+' []
+' one
+```
+
+## Arrays
+
+[**SaveArray**](#savearray) copies a range of the grid into an array and [**LoadArray**](#loadarray) copies an array into the grid. By default both use an array indexed by column first and by row second, the order of the array that the **GetRows** method of an ADO recordset returns (see [Data Binding](DataBinding)). Row-first arrays are chosen with arguments.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Data(0 To 1, 0 To 2) As String                 ' 2 columns, 3 rows
+Dim Saved As Variant, Row As Long, Line As String
+
+Data(0, 0) = "a0": Data(0, 1) = "a1": Data(0, 2) = "a2"
+Data(1, 0) = "b0": Data(1, 1) = "b1": Data(1, 2) = "b2"
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 10: .Cols = 5
+
+    Debug.Print .LoadArray(Data)                     ' rows loaded
+    Debug.Print .Rows & "x" & .Cols                  ' the grid fits the array
+    For Row = 1 To 3: Line = Line & .TextMatrix(Row, 0) & .TextMatrix(Row, 1) & " ": Next
+    Debug.Print Line
+
+    Saved = .SaveArray                               ' column first: Saved(col, row)
+    Debug.Print UBound(Saved, 1) & " " & UBound(Saved, 2) & " " & Saved(1, 2)
+
+    Saved = .SaveArray(FlexRowMajor)                 ' row first: Saved(row, col)
+    Debug.Print UBound(Saved, 1) & " " & UBound(Saved, 2) & " " & Saved(2, 1)
+End With
+' Output:
+' 3
+' 4x2
+' a0b0 a1b1 a2b2 
+' 1 2 b2
+' 2 1 b2
+```
+
+[**SaveArray**](#savearray) by default starts at the first cell that is not fixed, as [**LoadArray**](#loadarray) does. To include the fixed cells, give 0 for *Row* and *Col*.
+
+### Columns with a data type
+
+A column that has a [**ColDataType**](Text#coldatatype) can be saved as the values of that type. A cell that is empty stays **Empty**, and a cell that does not hold a value of the type becomes **Null**, or stays text when the column is not nullable and *UseColNullable* is **True**.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Values As Variant
+
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 3: .Cols = 1
+    .ColDataType(0) = vbLong
+    .TextMatrix(0, 0) = "12": .TextMatrix(1, 0) = "x": .TextMatrix(2, 0) = ""
+
+    Values = .SaveArray(FlexRowMajor, , , , , , , True)
+    Debug.Print TypeName(Values(0, 0)) & " " & TypeName(Values(1, 0)) & " " & TypeName(Values(2, 0))
+End With
+' Output:
+' Long Null Empty
+```
+
+## Properties
+
+### AutoClipboard
+{: .no_toc }
+
+Whether the keys for the clipboard operations are handled by the control.
+
+Syntax: *object*.**AutoClipboard** [ = *value* ]
+
+A **Boolean**. Default: **False**. See [Copy, Cut, Paste and Delete](#copy-cut-paste-and-delete) for the keys.
+
+### Clip
+{: .no_toc }
+
+The text of the selected cells as one string.
+
+Syntax: *object*.**Clip** [ = *value* ]
+
+A **String**. Read, it holds the cells chosen by [**ClipCopyMode**](#clipcopymode), in the order of the grid, with the column separator after each cell but the last of a row and the row separator after each row but the last. Written, it is split by the separators and each piece goes to the next cell of the selection: see [The clip string](#the-clip-string). A hidden row or column takes part unless [**ClipMode**](#clipmode) says otherwise.
+
+Raises error 7 when the grid has no cells and the property is read, and error 30009 or 30010 when the grid has no current row or column and the property is written.
+
+### ClipCopyMode
+{: .no_toc }
+
+What a read of **Clip**, **Copy** and **Cut** take from the grid.
+
+Syntax: *object*.**ClipCopyMode** [ = *value* ]
+
+A [**FlexClipCopyModeConstants**](../Enumerations/SelectionAndInput#flexclipcopymodeconstants) value. Default: **FlexClipCopyModeNormal**, the selection only. A value outside the enumeration raises error 380.
+
+### ClipMode
+{: .no_toc }
+
+Whether hidden cells are left out of a clip, and whether the text of a column with a lookup is converted.
+
+Syntax: *object*.**ClipMode** [ = *value* ]
+
+A [**FlexClipModeConstants**](../Enumerations/SelectionAndInput#flexclipmodeconstants) value. Default: **FlexClipModeNormal**. A value outside the enumeration raises error 380.
+
+### ClipPasteMode
+{: .no_toc }
+
+How a string is written into the grid by **Clip**, **Paste** and **Redo**.
+
+Syntax: *object*.**ClipPasteMode** [ = *value* ]
+
+A [**FlexClipPasteModeConstants**](../Enumerations/SelectionAndInput#flexclippastemodeconstants) value. Default: **FlexClipPasteModeNormal**, which writes into the selection only. **FlexClipPasteModeAutoSelection** extends the selection to the size of the string, as far as the grid goes. The two Extended values are for a selection mode by row with free columns (**FlexSelectionModeFreeByRow**) and by column with free rows (**FlexSelectionModeFreeByColumn**): the string is written into the whole row, from its first column that is not fixed, or the whole column, from its first row that is not fixed. **FlexClipPasteModeExtendedAutoSelection** also grows the selection by the number of rows (or columns) in the string. A value outside the enumeration raises error 380.
+
+### ClipSeparatorCol
+{: .no_toc }
+
+The string that separates the cells of a row in a clip.
+
+Syntax: *object*.**ClipSeparatorCol** [ = *value* ]
+
+A **String** of one character or more, not empty and not the same as [**ClipSeparatorRow**](#clipseparatorrow) (error 380). Default: **vbTab**. It is used only while [**ClipSeparators**](#clipseparators) is empty.
+
+### ClipSeparatorRow
+{: .no_toc }
+
+The string that separates the rows in a clip.
+
+Syntax: *object*.**ClipSeparatorRow** [ = *value* ]
+
+A **String** of one character or more, not empty and not the same as [**ClipSeparatorCol**](#clipseparatorcol) (error 380). Default: **vbCr**. It is used only while [**ClipSeparators**](#clipseparators) is empty.
+
+### ClipSeparators
+{: .no_toc }
+
+Two characters that are the column separator and the row separator of a clip.
+
+Syntax: *object*.**ClipSeparators** [ = *value* ]
+
+A **String** of exactly two different characters, or an empty string (the default) to use [**ClipSeparatorCol**](#clipseparatorcol) and [**ClipSeparatorRow**](#clipseparatorrow). Another length, or two equal characters, raises error 380.
+
+### UndoLimit
+{: .no_toc }
+
+The number of actions that the undo queue holds.
+
+Syntax: *object*.**UndoLimit** [ = *value* ]
+
+A **Long** from 0 to 1000. Default: 0, which switches the undo feature off. A larger value is set to 1000, and a negative value raises error 380. When the queue is full, the oldest action is dropped. Setting the property empties the undo and redo queues.
+
+## Methods
+
+### CanPaste
+{: .no_toc }
+
+Whether the clipboard holds text that **Paste** can write.
+
+Syntax: *object*.**CanPaste** **As Boolean**
+
+**True** when the clipboard holds text in the Unicode text format. It is **False** as well while another program has the clipboard open, which a program that watches the clipboard often does for a moment after something is copied.
+
+### CanRedo
+{: .no_toc }
+
+Whether the redo queue holds an action.
+
+Syntax: *object*.**CanRedo** **As Boolean**
+
+### CanUndo
+{: .no_toc }
+
+Whether the undo queue holds an action.
+
+Syntax: *object*.**CanUndo** **As Boolean**
+
+Always **False** while [**UndoLimit**](#undolimit) is 0.
+
+### ConstructClip
+{: .no_toc }
+
+Joins a two-dimensional array of cells into a clip string.
+
+Syntax: *object*.**ConstructClip** ( *ArrRows* ) **As String**
+
+*ArrRows*
+: *required* A **Variant** holding a two-dimensional array of **String** or **Variant**, indexed by row first and column second. Any lower bounds are accepted. A **Null** element is an empty cell.
+
+Returns the string, with the current separators, or an empty string when an array has no elements. Raises error 380 when *ArrRows* is not an array, error 5 when it does not have two dimensions, error 13 for an element type other than **String** or **Variant**, and error 91 for an array that is not allocated.
+
+### Copy
+{: .no_toc }
+
+Copies the selection to the clipboard.
+
+Syntax: *object*.**Copy**
+
+Raises [**BeforeClipboardAction**](#beforeclipboardaction), puts the text of [**Clip**](#clip) on the clipboard (the handler can change it first) and raises [**AfterClipboardAction**](#afterclipboardaction). Nothing happens when the handler sets *Cancel*.
+
+### Cut
+{: .no_toc }
+
+Copies the selection to the clipboard and clears the text of the selection.
+
+Syntax: *object*.**Cut**
+
+Like [**Copy**](#copy), with the action **FlexClipboardActionCut**. It can be undone with [**Undo**](#undo).
+
+### Delete
+{: .no_toc }
+
+Clears the text of the selection.
+
+Syntax: *object*.**Delete**
+
+The clipboard is not changed. [**BeforeClipboardAction**](#beforeclipboardaction) and [**AfterClipboardAction**](#afterclipboardaction) have the action **FlexClipboardActionDelete**, and the text that the first receives is empty. It can be undone with [**Undo**](#undo). With a [**ClipPasteMode**](#clippastemode) of the Extended kind, the cleared range is the extended selection.
+
+### LoadArray
+{: .no_toc }
+
+Writes the elements of an array into the grid.
+
+Syntax: *object*.**LoadArray** ( *Data* [, *RowDim* [, *ColDim* [, *PageDim* [, *CurrentPage* [, *Rows* [, *Cols* [, *Row* [, *Col* [, *RestrictRows* [, *RestrictColumns* [, *DataCols* ]]]]]]]]]]] ) **As Long**
+
+*Data*
+: *required* A **Variant** holding an array of **String** or **Variant**, of one to nine dimensions. A **Null** element becomes an empty cell. An array of one dimension needs *RowDim* or *ColDim* to be 0.
+
+*RowDim*
+: *optional* A **Long**, the number of the dimension of *Data* that holds the rows. Default: 2.
+
+*ColDim*
+: *optional* A **Long**, the number of the dimension of *Data* that holds the columns. Default: 1. With the defaults, *Data* is indexed by column and then by row.
+
+*PageDim*
+: *optional* A **Long**, the number of a third dimension from which one page is loaded, or 0 for none (the default).
+
+*CurrentPage*
+: *optional* A **Long**, the index in *PageDim* of the page to load.
+
+*Rows*, *Cols*
+: *optional* **Long** values, the number of rows and columns to load. Default: -1, all of them.
+
+*Row*, *Col*
+: *optional* **Long** values, the first cell to write into. Default: -1, the first row and the first column that are not fixed.
+
+*RestrictRows*, *RestrictColumns*
+: *optional* **Boolean** values. When **False** (the default) the number of rows (or columns) of the grid is set to what is needed for the data, starting at *Row* (or *Col*), and so can become smaller. When **True** the grid keeps its size and what does not fit is not loaded.
+
+*DataCols*
+: *optional* A **Variant**, a column number of *Data* or an array of them, to load only those columns of *Data* into the grid, in the order given.
+
+Returns the number of rows loaded, and does nothing, returning 0, when *Data* is **Empty**. Raises error 380 when *Data* is not an array or an argument is below -1, error 381 for a *Row* or *Col* outside the grid or a dimension number that *Data* does not have, error 5 for an array of more than nine dimensions or of one dimension with both *RowDim* and *ColDim* above 0, error 13 for an element type other than **String** or **Variant**, and error 91 for an array that is not allocated.
+
+### ParseClip
+{: .no_toc }
+
+Splits a clip string into a two-dimensional array.
+
+Syntax: *object*.**ParseClip** ( *Text* [, *Rows* [, *Cols* ]] ) **As Variant**
+
+*Text*
+: *required* A **String**, with the separators that are set.
+
+*Rows*, *Cols*
+: *optional* **Long** values, the greatest number of rows and columns to return. Default: -1, no limit.
+
+Returns an array of **String**, indexed by row first and column second, from 0. Its width is that of the widest row and a shorter row has empty strings at its end. A *Rows* or *Cols* of 0 returns **Empty**.
+
+### Paste
+{: .no_toc }
+
+Writes the text of the clipboard into the grid.
+
+Syntax: *object*.**Paste**
+
+Does nothing when the clipboard holds no text. Otherwise raises [**BeforeClipboardAction**](#beforeclipboardaction) with the text, writes the text, which a handler may have changed, like [**Clip**](#clip) does, with [**ClipPasteMode**](#clippastemode), and raises [**AfterClipboardAction**](#afterclipboardaction). It can be undone with [**Undo**](#undo).
+
+See the warning under [Copy, Cut, Paste and Delete](#copy-cut-paste-and-delete) about a clipboard that another program holds.
+
+### Redo
+{: .no_toc }
+
+Does the latest undone action again.
+
+Syntax: *object*.**Redo**
+
+Does nothing when [**CanRedo**](#canredo) is **False**. Selects the range of the action first.
+
+### ResetUndoQueue
+{: .no_toc }
+
+Empties the undo queue and the redo queue.
+
+Syntax: *object*.**ResetUndoQueue**
+
+### SaveArray
+{: .no_toc }
+
+Copies a range of the grid into an array.
+
+Syntax: *object*.**SaveArray** ( [ *Order* [, *Rows* [, *Cols* [, *Row* [, *Col* [, *ExcludeHidden* [, *TextDisplay* [, *UseColDataType* [, *UseColNullable* [, *OneDim* ]]]]]]]]]] ) **As Variant**
+
+*Order*
+: *optional* A [**FlexArrayOrderConstants**](../Enumerations/SelectionAndInput#flexarrayorderconstants) value. **FlexColumnMajor** (the default) returns an array indexed by column first and row second, **FlexRowMajor** one indexed by row first.
+
+*Rows*, *Cols*
+: *optional* **Long** values, the number of rows and columns to copy. Default: -1, as many as the grid has from *Row* and *Col*.
+
+*Row*, *Col*
+: *optional* **Long** values, the first cell. Default: -1, the first row and first column that are not fixed.
+
+*ExcludeHidden*
+: *optional* A **Boolean**. When **True**, hidden rows and columns are not copied. Default: **False**.
+
+*TextDisplay*
+: *optional* A **Boolean**. When **True**, the text that the cells show, after [**ColLookup**](Text#collookup) and [**ColFormat**](Text#colformat), is copied. Default: **False**.
+
+*UseColDataType*
+: *optional* A **Boolean**. When **True**, each cell of a row that is not fixed is converted to the [**ColDataType**](Text#coldatatype) of its column and the array is of **Variant**. Default: **False**, when the array is of **String**.
+
+*UseColNullable*
+: *optional* A **Boolean**. Only with *UseColDataType*; error 5 otherwise. When **True**, a cell that cannot be converted keeps its text if the column is not [**ColNullable**](Text#colnullable), and is **Null** if it is.
+
+*OneDim*
+: *optional* A **Boolean**. When **True**, the array has one dimension, with the cells in the order given by *Order*. Default: **False**.
+
+Returns the array, with lower bounds of 0, or **Empty** when there is nothing to copy. With *UseColDataType*, an empty cell stays **Empty** and one that cannot be converted is **Null** (or keeps its text: see *UseColNullable*); the cells of fixed rows are always text. Raises error 380 for a value below -1 or an *Order* outside the enumeration, and error 381 when *Row* or *Col* is outside the grid.
+
+### Undo
+{: .no_toc }
+
+Takes back the latest action in the undo queue.
+
+Syntax: *object*.**Undo**
+
+Does nothing when [**CanUndo**](#canundo) is **False**. Selects the range of the action first and restores its text. See [Undo and redo](#undo-and-redo).
+
+## Events
+
+### AfterClipboardAction
+{: .no_toc }
+
+Raised after a clipboard operation has been done.
+
+Syntax: **Event** *object*\_**AfterClipboardAction** ( *Action* **As** [**FlexClipboardActionConstants**](../Enumerations/SelectionAndInput#flexclipboardactionconstants) )
+
+*Action*
+: **FlexClipboardActionCopy**, **FlexClipboardActionCut**, **FlexClipboardActionPaste** or **FlexClipboardActionDelete**.
+
+It is not raised for an operation that **BeforeClipboardAction** stopped.
+
+### BeforeClipboardAction
+{: .no_toc }
+
+Raised when a clipboard operation is about to be done.
+
+Syntax: **Event** *object*\_**BeforeClipboardAction** ( *Action* **As** [**FlexClipboardActionConstants**](../Enumerations/SelectionAndInput#flexclipboardactionconstants), *Text* **As String**, *Cancel* **As Boolean** )
+
+*Action*
+: The operation.
+
+*Text*
+: For a copy and a cut, the text that goes on the clipboard, and for a paste, the text that is written to the grid. A handler can change it. It is empty for a delete.
+
+*Cancel*
+: A handler sets **True** to stop the operation.
+
+## See Also
+
+- [Current Cell and Selection](Selection) -- the selection that a clip reads and writes
+- [Cell Text](Text) -- **ColLookup**, **ColFormat**, **ColDataType**, **ColNullable** and **TextMatrix**
+- [Editing Cells](Editing) -- **AllowUserEditing**, which lets the keys of **AutoClipboard** change the grid
+- [Data Binding](DataBinding) -- **CopyFromRecordset**, which fills the grid from a recordset
+- [FlexClipModeConstants](../Enumerations/SelectionAndInput#flexclipmodeconstants), [FlexClipCopyModeConstants](../Enumerations/SelectionAndInput#flexclipcopymodeconstants), [FlexClipPasteModeConstants](../Enumerations/SelectionAndInput#flexclippastemodeconstants), [FlexClipboardActionConstants](../Enumerations/SelectionAndInput#flexclipboardactionconstants), [FlexArrayOrderConstants](../Enumerations/SelectionAndInput#flexarrayorderconstants) enumerations
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/ComboEditing.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/ComboEditing.md
new file mode 100644
index 000000000..30795a9b8
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/ComboEditing.md
@@ -0,0 +1,880 @@
+---
+title: Drop-Down Lists, Buttons and Calendars
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/ComboEditing
+has_toc: false
+---
+
+# Drop-Down Lists, Buttons and Calendars
+{: .no_toc }
+
+Gives the edit box of a cell a drop-down list, a button or a drop-down calendar, and draws a cue in the cell that tells the user about it.
+
+When a cell is edited (see [Editing Cells](Editing)), the box can carry a combo part at its left or right edge. The part is set by a mode, a [**FlexComboModeConstants**](../Enumerations/EditingAndComboBoxes#flexcombomodeconstants) value, which is **FlexComboModeNone** (a plain edit box) by default:
+
+| Mode | The edit box | The combo part |
+|:-----|:-------------|:---------------|
+| **FlexComboModeDropDown** | The text is locked. | A button and a list. The list drops down when the edit starts. Choosing an item ends the edit and stores the item. |
+| **FlexComboModeEditable** | The user can type. | A button and a list. The list drops down at the user's request: a click on the button, **F4**, **Alt+Up** or **Alt+Down**. Choosing an item puts it in the box. A text typed in the box that equals an item (case ignored) selects it. |
+| **FlexComboModeButton** | The user can type. | A button, by default with an ellipsis, that raises [**ComboButtonClick**](#combobuttonclick) when pressed. The program shows its own dialog and sets [**EditText**](Editing#edittext). |
+| **FlexComboModeCalendar** | The user can type a date. | A button and a month calendar. Choosing a date puts it in the box, in the short date format of the system. A date typed in the box moves the calendar to it. When the box is locked, the calendar drops down when the edit starts, and choosing a date ends the edit. |
+
+The mode is set for one column with [**ColComboMode**](#colcombomode), or for every cell with [**ComboMode**](#combomode). A column whose mode is not **FlexComboModeNone** uses its own [**ColComboItems**](#colcomboitems), [**ColComboHeader**](#colcomboheader) and [**ColComboBoundColumn**](#colcomboboundcolumn); another column uses the grid's [**ComboItems**](#comboitems), [**ComboHeader**](#comboheader) and [**ComboBoundColumn**](#comboboundcolumn). The button's alignment and width follow the same rule ([**ColComboButtonAlignment**](#colcombobuttonalignment), [**ColComboButtonWidth**](#colcombobuttonwidth)), where -1 in the column inherits the grid's value. A program that wants a mode for single cells sets the grid's properties in [**BeforeEdit**](Editing#beforeedit), which occurs before the grid reads them.
+
+![The cell Part time edited in FlexComboModeDropDown: its text is selected in the box, a drop-down button is at the box's right edge, and the list below the cell offers Full time, Part time, which is highlighted, and Contractor.](Images/ComboEditing_DropDown.png){:width="384" height="169"}
+
+![The date 2023-11-02 edited in FlexComboModeCalendar: a drop-down button is at the box's right edge, and a month calendar below the cell, reaching past the form, shows November 2023 with the 2nd selected.](Images/ComboEditing_Calendar.png){:width="474" height="262"}
+
+```tb check_build
+Private Sub Form_Load()
+    With VBFlexGrid1
+        .AllowUserEditing = True
+        .ColComboMode(1) = FlexComboModeDropDown
+        .ColComboItems(1) = "Full time|Part time|Contractor"
+        .ColComboCue(1) = FlexComboCueDropDown
+        .ColComboMode(2) = FlexComboModeCalendar
+        .ColComboCue(2) = FlexComboCueDropDown
+        .ColComboMode(3) = FlexComboModeButton
+        .ColComboCue(3) = FlexComboCueButton
+    End With
+End Sub
+
+Private Sub VBFlexGrid1_ComboButtonClick()
+    VBFlexGrid1.EditText = "Chosen by the program"
+End Sub
+```
+
+* TOC
+{:toc}
+
+## Items, columns and headers
+
+The items of a list are one string. A vertical bar (`|`) separates the items, and a tab character (**vbTab**) separates the columns of one item, when the list has more than one column:
+
+| Items | The list |
+|:------|:---------|
+| `"Full|Part|Other"` | Three items. |
+| `"|Full|Part"` | Three items, the first of them empty. |
+| `""` | One empty item. |
+| not set | No items. The list is locked, as a list box with no items. |
+
+The list shows up to nine items and a scroll bar after that. It is as wide as the widest item, and at least as wide as the cell. It drops below the cell, or above it when it does not fit on the screen. The items are in the order of the string, and an item cannot contain a vertical bar.
+
+With columns, the list is drawn as a table. One column is *bound*: its text is what the list holds, what [**ComboList**](#combolist) returns, and what goes into the edit box and the cell when the user chooses the item. [**ComboBoundColumn**](#comboboundcolumn) numbers it from 0, with 0 the default. An item that has fewer columns than that has an empty bound text. [**ComboHeader**](#comboheader) gives a heading for the columns, with the columns separated by tab characters again; the heading is drawn above the list and is not one of its items.
+
+When the list opens it selects the item whose text equals the text of the cell (case ignored), or none.
+
+`ComboWatcher`, below, logs the events of this page, and has two switches that the samples use. The samples that open a list or a calendar show the form first, because the grid needs a window.
+
+```tb check_build projname=combo slot=file
+Class ComboWatcher
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+    Private mLog As String
+
+    Public RefuseEdit As Boolean    ' BeforeEdit refuses every edit
+    Public RefuseDrop As Boolean    ' ComboBeforeDropDown refuses every drop-down
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    ' Returns the events logged so far, and clears the log.
+    Public Function Take() As String
+        Take = Trim$(mLog)
+        mLog = ""
+    End Function
+
+    Private Sub Grid_BeforeEdit(ByRef Row As Long, ByRef Col As Long, ByVal Reason As FlexEditReasonConstants, ByRef Cancel As Boolean)
+        Cancel = RefuseEdit
+    End Sub
+    Private Sub Grid_ComboBeforeDropDown(ByVal Reason As FlexComboDropDownReasonConstants, ByRef Cancel As Boolean)
+        mLog &= " Before(" & Reason & ")"
+        Cancel = RefuseDrop
+    End Sub
+    Private Sub Grid_ComboDropDown()
+        mLog &= " DropDown"
+    End Sub
+    Private Sub Grid_ComboCloseUp()
+        mLog &= " CloseUp"
+    End Sub
+    Private Sub Grid_ComboButtonClick()
+        mLog &= " ButtonClick"
+    End Sub
+    Private Sub Grid_ComboCueClick(ByVal Row As Long, ByVal Col As Long, ByVal Reason As FlexEditReasonConstants)
+        mLog &= " Cue(" & Row & "," & Col & "," & Reason & ")"
+    End Sub
+End Class
+```
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+Dim W As New ComboWatcher
+W.Attach VBFlexGrid1
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .Row = 1
+    .Col = 1
+    .TextMatrix(1, 1) = "Part"
+    .ColComboMode(1) = FlexComboModeDropDown
+    .ColComboItems(1) = "Full|Part|Other"
+    Debug.Print .StartEdit()           ' True
+    Debug.Print W.Take()               ' Before(1) DropDown
+    Debug.Print .ComboListCount        ' 3
+    Debug.Print .ComboList(2)          ' Other
+    Debug.Print .ComboListIndex        ' 1
+    .ComboListIndex = 2
+    Debug.Print .EditText              ' Other
+    Debug.Print .CommitEdit()          ' True
+    Debug.Print W.Take()               ' CloseUp
+    Debug.Print .TextMatrix(1, 1)      ' Other
+    Debug.Print .hWndComboList         ' 0
+End With
+```
+
+A list that has more than one column:
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .Row = 1
+    .Col = 2
+    .ColComboMode(2) = FlexComboModeDropDown
+    .ColComboItems(2) = "1" & vbTab & "One|2" & vbTab & "Two|3"
+    .ColComboHeader(2) = "Id" & vbTab & "Name"
+    .ColComboBoundColumn(2) = 1
+    .StartEdit
+    Debug.Print .ComboListCount                                                    ' 3
+    Debug.Print .ComboList(0) & "," & .ComboList(1) & ",[" & .ComboList(2) & "]"   ' One,Two,[]
+    .ComboListIndex = 1
+    Debug.Print .EditText                                                          ' Two
+    .CommitEdit
+    Debug.Print .TextMatrix(1, 2)                                                  ' Two
+    .ColComboBoundColumn(2) = 0
+    .StartEdit
+    .ComboListIndex = 1
+    Debug.Print .EditText                                                          ' 2
+    .CancelEdit
+End With
+```
+
+A column that has a [**ColLookup**](Text#collookup) holds the key in the cell, and shows the description in the box. Give the list the descriptions:
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .ColLookup(1) = "1;Full time|2;Part time|3;Contractor"
+    .ColComboMode(1) = FlexComboModeDropDown
+    .ColComboItems(1) = "Full time|Part time|Contractor"
+    .TextMatrix(1, 1) = "2"
+    .Row = 1
+    .Col = 1
+    .StartEdit
+    Debug.Print .ComboListIndex     ' 1
+    .ComboListIndex = 2
+    .CommitEdit
+    Debug.Print .TextMatrix(1, 1)   ' 3
+End With
+```
+
+## Dropping down by code
+
+[**ComboButtonValue**](#combobuttonvalue) is the state of the button of the box that is being edited. Setting it to **FlexComboButtonValuePressed** drops the list or the calendar down, or, in the button mode, raises [**ComboButtonClick**](#combobuttonclick). Setting it to **FlexComboButtonValueUnpressed** closes them, and **FlexComboButtonValueDisabled** also disables the button. [**ComboBeforeDropDown**](#combobeforedropdown), [**ComboDropDown**](#combodropdown) and [**ComboCloseUp**](#combocloseup) report the list or calendar. **ComboBeforeDropDown** can refuse a drop-down, and its *Reason* says what asked for it, a [**FlexComboDropDownReasonConstants**](../Enumerations/EditingAndComboBoxes#flexcombodropdownreasonconstants) value.
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+Dim W As New ComboWatcher
+W.Attach VBFlexGrid1
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .Row = 1
+    .ColComboMode(2) = FlexComboModeEditable
+    .ColComboItems(2) = "Full|Part|Other"
+    .ColComboMode(3) = FlexComboModeButton
+    .Col = 2
+    .StartEdit
+    Debug.Print "[" & W.Take() & "]"          ' []
+    Debug.Print .ComboListIndex               ' -1
+    .ComboButtonValue = FlexComboButtonValuePressed
+    Debug.Print W.Take()                      ' Before(0) DropDown
+    Debug.Print .ComboButtonValue             ' 1
+    .ComboButtonValue = FlexComboButtonValueUnpressed
+    Debug.Print W.Take()                      ' CloseUp
+    W.RefuseDrop = True
+    .ComboButtonValue = FlexComboButtonValuePressed
+    Debug.Print W.Take()                      ' Before(0)
+    Debug.Print .ComboButtonValue             ' 0
+    .CancelEdit
+    .Col = 3
+    .StartEdit
+    Debug.Print .hWndComboList                ' 0
+    .ComboButtonValue = FlexComboButtonValuePressed
+    Debug.Print W.Take()                      ' ButtonClick
+    .CancelEdit
+End With
+```
+
+The calendar takes its date from the text of the cell, when that is a date. [**ComboCalendarMinDate**](#combocalendarmindate) and [**ComboCalendarMaxDate**](#combocalendarmaxdate) limit the dates, from 1 January 1900 to 31 December 9999 by default. The edit box does not follow a date that code sets with [**ComboCalendarValue**](#combocalendarvalue): the box changes when the user chooses a date, or when the program assigns [**EditText**](Editing#edittext). The program checks the text in [**ValidateEdit**](Editing#validateedit), where it can also give the date one format.
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .Row = 1
+    .Col = 1
+    .TextMatrix(1, 1) = "2024-03-15"
+    .ColComboMode(1) = FlexComboModeCalendar
+    .StartEdit
+    Debug.Print (.hWndComboCalendar <> 0) & " " & (.hWndComboList <> 0)   ' True False
+    Debug.Print Format(.ComboCalendarValue, "yyyy-mm-dd")                 ' 2024-03-15
+    Debug.Print Format(.ComboCalendarMinDate, "yyyy-mm-dd") & " " & Format(.ComboCalendarMaxDate, "yyyy-mm-dd")   ' 1900-01-01 9999-12-31
+    .ComboCalendarMinDate = #1/1/2024#
+    .ComboCalendarMaxDate = #12/31/2024#
+    .ComboCalendarValue = #6/1/2024#
+    Debug.Print Format(.ComboCalendarValue, "yyyy-mm-dd") & " " & .EditText   ' 2024-06-01 2024-03-15
+    .CancelEdit
+End With
+```
+
+## Combo cues
+
+A *cue* is a small button that the grid draws at the edge of a cell, before the cell is edited, to show that it has a list, a calendar or a button. It is a [**FlexComboCueConstants**](../Enumerations/EditingAndComboBoxes#flexcombocueconstants) value:
+
+| Cue | Drawn |
+|:----|:------|
+| **FlexComboCueNone** | No cue. It is the default, and means that no cue is set at this level. |
+| **FlexComboCueDropDown** | A drop-down arrow, the width of a scroll bar. |
+| **FlexComboCueButton** | A button with an ellipsis, with the width of [**ComboButtonWidth**](#combobuttonwidth). |
+| **FlexComboCueDisabledDropDown**, **FlexComboCueDisabledButton** | The same, disabled. A click on them does nothing. |
+| **FlexComboCueHidden** | No cue, and no cue from another level either. |
+
+![A grid of staff before any cell is edited. Every cell of the Notes column has a cue with an ellipsis at its right edge, and every cell of the Contract and Started columns a drop-down arrow. The cue of Contractor is disabled and drawn in gray.](Images/ComboEditing_Cues.png){:width="384" height="169"}
+
+A cue is set for a cell with [**CellComboCue**](#cellcombocue), for a column with [**ColComboCue**](#colcombocue), and for one cell of the grid with [**ComboCue**](#combocue) together with [**ComboCueRow**](#combocuerow) and [**ComboCueCol**](#combocuecol), which are the current cell when they are -1. The cell's own value wins over the column's, and the column's over the grid's. A column's cue does not apply to the fixed rows. **FlexComboCueHidden** takes a cell out of the column's cue, for example a frozen row.
+
+Cues are drawn only when [**AllowUserEditing**](Editing#allowuserediting) or [**AlwaysAllowComboCues**](#alwaysallowcombocues) is **True**. A click on a cue, a double-click on it, **F4**, and **Alt+Up** or **Alt+Down** on a cell that has a drop-down cue, start an edit with the reason **FlexEditReasonComboCueClick**, **FlexEditReasonComboCueDblClick**, **FlexEditReasonComboCueF4** or **FlexEditReasonComboCueAltUpDown**. The box then drops the list or the calendar down at once, or clicks the button, as the mode of the cell says. A cell whose mode is **FlexComboModeNone** starts a normal edit.
+
+With [**AlwaysAllowComboCues**](#alwaysallowcombocues) set, a cue also works when the user cannot edit, because **AllowUserEditing** is **False** or [**BeforeEdit**](Editing#beforeedit) refused the edit. The grid then raises [**ComboCueClick**](#combocueclick), and the program shows what it wants.
+
+```tb check_build hidden projname=combo slot=file
+Module KeySender
+    Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
+
+    Public Sub SendKey(ByVal Grid As VBFLXGRD18.VBFlexGrid, ByVal KeyCode As Long)
+        Const WM_KEYDOWN As Long = &H100
+        SendMessageW Grid.hWnd, WM_KEYDOWN, KeyCode, 0
+    End Sub
+End Module
+```
+
+The sample presses **F4** with `SendKey`, a procedure that sends a key-down message to the window of the grid in place of the keyboard.
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+Dim W As New ComboWatcher
+W.Attach VBFlexGrid1
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .Row = 1
+    .Col = 1
+    .SetFocus
+    .ColComboCue(1) = FlexComboCueDropDown
+    SendKey VBFlexGrid1, vbKeyF4
+    Debug.Print "[" & W.Take() & "] " & .EditRow      ' [] -1
+    .AlwaysAllowComboCues = True
+    SendKey VBFlexGrid1, vbKeyF4
+    Debug.Print W.Take() & " " & .EditRow             ' Cue(1,1,12) -1
+    .AllowUserEditing = True
+    SendKey VBFlexGrid1, vbKeyF4
+    Debug.Print .EditRow & " " & .EditReason          ' 1 12
+    .CancelEdit
+    .ColComboMode(1) = FlexComboModeDropDown
+    .ColComboItems(1) = "a|b"
+    W.Take
+    SendKey VBFlexGrid1, vbKeyF4
+    Debug.Print W.Take()                              ' Before(1) DropDown
+    .CancelEdit
+    W.Take
+    W.RefuseEdit = True
+    SendKey VBFlexGrid1, vbKeyF4
+    Debug.Print W.Take() & " " & .EditRow             ' Cue(1,1,12) -1
+    W.RefuseEdit = False
+    .ColComboCue(1) = FlexComboCueDisabledDropDown
+    SendKey VBFlexGrid1, vbKeyF4
+    Debug.Print "[" & W.Take() & "] " & .EditRow      ' [] -1
+End With
+```
+
+## Setting the mode, the items and the cue
+
+The properties that take a column accept -1, which in an assignment sets every column. Reading a column that does not exist, or -1, raises error 30010 (*Invalid Col value*). The sample also shows the errors that the combo properties raise.
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 4
+    .Row = 1
+    .Col = 3
+    .ComboMode = FlexComboModeDropDown
+    .ComboItems = "a|b"
+    .StartEdit
+    Debug.Print .ComboListCount & .ComboList(0)   ' 2a
+    .CancelEdit
+    .ColComboMode(3) = FlexComboModeEditable
+    .ColComboItems(3) = "x|y|z"
+    .StartEdit
+    Debug.Print .ComboListCount & .ComboList(0)   ' 3x
+    .CancelEdit
+    .ColComboMode(3) = FlexComboModeNone
+    .StartEdit
+    Debug.Print .ComboListCount & .ComboList(0)   ' 2a
+    .CancelEdit
+    On Error Resume Next
+    Debug.Print .ComboListCount
+    Debug.Print Err.Number    ' 5
+    Err.Clear
+    .ComboMode = 9
+    Debug.Print Err.Number    ' 380
+    Err.Clear
+    .ComboBoundColumn = -1
+    Debug.Print Err.Number    ' 380
+    Err.Clear
+    Debug.Print .ColComboMode(-1)
+    Debug.Print Err.Number    ' 30010
+    Err.Clear
+    .ColComboButtonWidth(1) = -5
+    Debug.Print Err.Number    ' 30014
+    Err.Clear
+    .ComboCueRow = 99
+    Debug.Print Err.Number    ' 30009
+    Err.Clear
+    .ComboButtonValue = FlexComboButtonValuePressed
+    Debug.Print Err.Number    ' 5
+    Err.Clear
+    .ColComboMode(-1) = FlexComboModeDropDown
+    Debug.Print .ColComboMode(0) & .ColComboMode(3)   ' 11
+    .Row = 2
+    .Col = 2
+    Debug.Print .ComboCueRow & .ComboCueCol   ' 22
+    .ComboCueRow = 1
+    Debug.Print .ComboCueRow & .ComboCueCol   ' 12
+End With
+```
+
+The grid reads the grid-wide [**ComboMode**](#combomode) and [**ComboItems**](#comboitems) when an edit starts, after [**BeforeEdit**](Editing#beforeedit). A handler of that event can therefore give the cell about to be edited its own list. In the example, only row 1 has one:
+
+```tb check_build projname=combo slot=file
+Class RowCombo
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    Private Sub Grid_BeforeEdit(ByRef Row As Long, ByRef Col As Long, ByVal Reason As FlexEditReasonConstants, ByRef Cancel As Boolean)
+        If Row = 1 Then
+            Grid.ComboMode = FlexComboModeDropDown
+            Grid.ComboItems = "Yes|No"
+        Else
+            Grid.ComboMode = FlexComboModeNone
+        End If
+    End Sub
+End Class
+```
+
+```tb check_build check_run projname=combo
+Form1.Show
+DoEvents
+Dim R As New RowCombo
+R.Attach VBFlexGrid1
+With VBFlexGrid1
+    .Rows = 4
+    .Col = 1
+    .Row = 1
+    .StartEdit
+    Debug.Print .ComboListCount   ' 2
+    .CancelEdit
+    .Row = 2
+    .StartEdit
+    Debug.Print .hWndComboList    ' 0
+    .CancelEdit
+End With
+```
+
+## Properties
+
+### AlwaysAllowComboCues
+{: .no_toc }
+
+Whether combo cues work when the user cannot edit. **Boolean**. Default **False**.
+
+Syntax: *object*.**AlwaysAllowComboCues** [ = *value* ]
+
+With **True**, the cues are drawn although [**AllowUserEditing**](Editing#allowuserediting) is **False**, and a cue that cannot start an edit raises [**ComboCueClick**](#combocueclick).
+
+### CellComboCue
+{: .no_toc }
+
+The combo cue of the current cell. A [**FlexComboCueConstants**](../Enumerations/EditingAndComboBoxes#flexcombocueconstants) value. Default **FlexComboCueNone**.
+
+Syntax: *object*.**CellComboCue** [ = *value* ]
+
+With [**FillStyle**](CellFormatting#fillstyle) **FlexFillStyleRepeat**, an assignment applies to every cell of the selection. Raises error 30009 or 30010 when there is no current cell, and error 380 for a value that is not a member of the enumeration.
+
+### ColComboBoundColumn
+{: .no_toc }
+
+The bound column of the lists of a column. **Long**. Default 0.
+
+Syntax: *object*.**ColComboBoundColumn**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+As [**ComboBoundColumn**](#comboboundcolumn), for a column with its own [**ColComboMode**](#colcombomode). A negative value raises error 380.
+
+### ColComboButtonAlignment
+{: .no_toc }
+
+The side of the cell where the combo button of a column is. A [**FlexLeftRightAlignmentConstants**](../Enumerations/EditingAndComboBoxes#flexleftrightalignmentconstants) value, or -1 to use [**ComboButtonAlignment**](#combobuttonalignment). Default -1.
+
+Syntax: *object*.**ColComboButtonAlignment**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+Reading returns the value of **ComboButtonAlignment** when the column has none of its own. Error 380 for any other value.
+
+### ColComboButtonPicture
+{: .no_toc }
+
+The picture on the combo buttons of a column. An **IPictureDisp**. Default **Nothing**.
+
+Syntax: *object*.**ColComboButtonPicture**( *Index* ) [ = *value* ]  
+Syntax: **Set** *object*.**ColComboButtonPicture**( *Index* ) = *value*
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+The picture replaces the ellipsis, and wins over [**ComboButtonPicture**](#combobuttonpicture). It is used only when [**ComboButtonDrawMode**](#combobuttondrawmode) is **FlexComboButtonDrawModeNormal** and the mode of the cell is **FlexComboModeButton**. **Nothing** removes it.
+
+### ColComboButtonWidth
+{: .no_toc }
+
+The width of the combo buttons of a column, in twips. **Long**. Default -1.
+
+Syntax: *object*.**ColComboButtonWidth**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+-1 uses [**ComboButtonWidth**](#combobuttonwidth). Reading returns the width in effect, in twips, which for the default is the width of a scroll bar. A value below -1 raises error 30014 (*Invalid Col Width value*). Only the button mode has a button that can be widened: a drop-down button always has the width of a scroll bar.
+
+### ColComboCue
+{: .no_toc }
+
+The combo cue of the cells of a column, the fixed rows excluded. A [**FlexComboCueConstants**](../Enumerations/EditingAndComboBoxes#flexcombocueconstants) value. Default **FlexComboCueNone**.
+
+Syntax: *object*.**ColComboCue**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+[**CellComboCue**](#cellcombocue) wins over it, and it wins over [**ComboCue**](#combocue).
+
+### ColComboHeader
+{: .no_toc }
+
+The heading of the multi-column lists of a column. **String**. Default empty.
+
+Syntax: *object*.**ColComboHeader**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+The columns of the heading are separated with tab characters, as in [**ColComboItems**](#colcomboitems).
+
+### ColComboItems
+{: .no_toc }
+
+The items of the lists of a column. **String**. Default empty, which is no items.
+
+Syntax: *object*.**ColComboItems**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+The items are separated with `|`. To make a list of several columns, separate the columns of an item with tab characters. Used when [**ColComboMode**](#colcombomode) of the column is a drop-down list or an editable list.
+
+### ColComboMode
+{: .no_toc }
+
+The combo mode of the cells of a column. A [**FlexComboModeConstants**](../Enumerations/EditingAndComboBoxes#flexcombomodeconstants) value. Default **FlexComboModeNone**.
+
+Syntax: *object*.**ColComboMode**( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**. The column, or -1 to set every column.
+
+A column mode other than **FlexComboModeNone** wins over [**ComboMode**](#combomode). Error 380 for a value that is not a member of the enumeration; error 30010 for an invalid column.
+
+### ComboBoundColumn
+{: .no_toc }
+
+The column of a multi-column list whose text goes to the edit box. **Long**. Default 0.
+
+Syntax: *object*.**ComboBoundColumn** [ = *value* ]
+
+Counted from 0. A negative value raises error 380.
+
+### ComboButtonAlignment
+{: .no_toc }
+
+The side of the cell where the combo button and the cue are. A [**FlexLeftRightAlignmentConstants**](../Enumerations/EditingAndComboBoxes#flexleftrightalignmentconstants) value. Default **FlexLeftRightAlignmentRight**.
+
+Syntax: *object*.**ComboButtonAlignment** [ = *value* ]
+
+Useful when the reading order is right to left. Error 380 for any other value.
+
+### ComboButtonClientWidth
+{: .no_toc }
+
+The width of the content area of a combo button, in twips. **Long**, read-only.
+
+Syntax: *object*.**ComboButtonClientWidth**
+
+The width of a button with the current [**ComboButtonWidth**](#combobuttonwidth), less its frame. It is the room that a picture for the button has (see [**ComboButtonPicture**](#combobuttonpicture)). It depends on the visual style. 0 when the grid has no window yet.
+
+### ComboButtonDrawMode
+{: .no_toc }
+
+Who draws the combo button. A [**FlexComboButtonDrawModeConstants**](../Enumerations/EditingAndComboBoxes#flexcombobuttondrawmodeconstants) value. Default **FlexComboButtonDrawModeNormal**.
+
+Syntax: *object*.**ComboButtonDrawMode** [ = *value* ]
+
+With **FlexComboButtonDrawModeOwnerDraw**, the grid raises [**ComboButtonOwnerDraw**](#combobuttonownerdraw) each time a button or cue is to be drawn. Error 380 for any other value.
+
+### ComboButtonNonClientHeight
+{: .no_toc }
+
+The height that the frame of a combo button takes from its content area, in twips. **Long**, read-only.
+
+Syntax: *object*.**ComboButtonNonClientHeight**
+
+It is the top and the bottom frame together. It depends on the visual style. 0 when the grid has no window yet.
+
+### ComboButtonNonClientWidth
+{: .no_toc }
+
+The width that the frame of a combo button takes from its content area, in twips. **Long**, read-only.
+
+Syntax: *object*.**ComboButtonNonClientWidth**
+
+It is the left and the right frame together. See [**ComboButtonNonClientHeight**](#combobuttonnonclientheight).
+
+### ComboButtonPicture
+{: .no_toc }
+
+The picture on the combo buttons. An **IPictureDisp**. Default **Nothing**.
+
+Syntax: *object*.**ComboButtonPicture** [ = *value* ]  
+Syntax: **Set** *object*.**ComboButtonPicture** = *value*
+
+The picture replaces the ellipsis of the button mode. It is used only when [**ComboButtonDrawMode**](#combobuttondrawmode) is **FlexComboButtonDrawModeNormal**, and a [**ColComboButtonPicture**](#colcombobuttonpicture) of the column wins over it. **Nothing** removes it.
+
+### ComboButtonValue
+{: .no_toc }
+
+The state of the combo button of the cell being edited. A [**FlexComboButtonValueConstants**](../Enumerations/EditingAndComboBoxes#flexcombobuttonvalueconstants) value.
+
+Syntax: *object*.**ComboButtonValue** [ = *value* ]
+
+**FlexComboButtonValueUnpressed**: normal; the list or calendar is closed. **FlexComboButtonValuePressed**: the list or calendar is dropped down, or, in the button mode, [**ComboButtonClick**](#combobuttonclick) was raised (the button then returns to normal). **FlexComboButtonValueDisabled**: the button is disabled, and a list or calendar is closed. Raises error 5 when the cell being edited has no combo button, and error 380 for any other value.
+
+### ComboButtonWidth
+{: .no_toc }
+
+The width of the combo buttons, in twips. **Long**. Default -1.
+
+Syntax: *object*.**ComboButtonWidth** [ = *value* ]
+
+-1 gives the width of a scroll bar, which is also what reading returns for it. Used for the button mode and for the button cue. A value below -1 raises error 380. The [**ComboButtonMeasure**](#combobuttonmeasure) event can change the width for each cell.
+
+### ComboCalendarMaxDate
+{: .no_toc }
+
+The latest date that the drop-down calendar shows and accepts. **Date**. Default 31 December 9999.
+
+Syntax: *object*.**ComboCalendarMaxDate** [ = *value* ]
+
+A date outside the years 1900 to 9999 raises error 380, and a date before [**ComboCalendarMinDate**](#combocalendarmindate) raises error 35774. Error 5 when no calendar is open.
+
+### ComboCalendarMinDate
+{: .no_toc }
+
+The earliest date that the drop-down calendar shows and accepts. **Date**. Default 1 January 1900.
+
+Syntax: *object*.**ComboCalendarMinDate** [ = *value* ]
+
+A date outside the years 1900 to 9999 raises error 380, and a date after [**ComboCalendarMaxDate**](#combocalendarmaxdate) raises error 35775. Error 5 when no calendar is open.
+
+### ComboCalendarValue
+{: .no_toc }
+
+The date that is selected in the drop-down calendar. **Date**.
+
+Syntax: *object*.**ComboCalendarValue** [ = *value* ]
+
+When the box opens, the date of the cell, or today when the cell does not hold a date. Assigning it changes the calendar, not the edit box. Error 5 when no calendar is open.
+
+### ComboCue
+{: .no_toc }
+
+The combo cue of one cell of the grid. A [**FlexComboCueConstants**](../Enumerations/EditingAndComboBoxes#flexcombocueconstants) value. Default **FlexComboCueNone**.
+
+Syntax: *object*.**ComboCue** [ = *value* ]
+
+The cell is the one that [**ComboCueRow**](#combocuerow) and [**ComboCueCol**](#combocuecol) give. [**ColComboCue**](#colcombocue) and [**CellComboCue**](#cellcombocue) win over it. Error 380 for a value that is not a member of the enumeration.
+
+### ComboCueCol
+{: .no_toc }
+
+The column of the cell that [**ComboCue**](#combocue) applies to. **Long**. Default -1.
+
+Syntax: *object*.**ComboCueCol** [ = *value* ]
+
+-1 is the current column, and reading returns the current column then. An invalid column raises error 30010.
+
+### ComboCueRow
+{: .no_toc }
+
+The row of the cell that [**ComboCue**](#combocue) applies to. **Long**. Default -1.
+
+Syntax: *object*.**ComboCueRow** [ = *value* ]
+
+-1 is the current row, and reading returns the current row then. An invalid row raises error 30009.
+
+### ComboHeader
+{: .no_toc }
+
+The heading of the multi-column lists. **String**. Default empty.
+
+Syntax: *object*.**ComboHeader** [ = *value* ]
+
+The columns of the heading are separated with tab characters. It is used for a cell whose column has no combo mode of its own.
+
+### ComboItems
+{: .no_toc }
+
+The items of the lists. **String**. Default empty, which is no items.
+
+Syntax: *object*.**ComboItems** [ = *value* ]
+
+The items are separated with `|`, and the columns of an item with tab characters. It is used for a cell whose column has no combo mode of its own, when [**ComboMode**](#combomode) is a drop-down list or an editable list.
+
+### ComboList
+{: .no_toc }
+
+The text of an item of the open list. **String**, read-only.
+
+Syntax: *object*.**ComboList**( *Index* )
+
+*Index*
+: *required* A **Long**. The item, counted from 0.
+
+For a multi-column list, the text of the bound column. Error 5 when no list is open, or the item does not exist.
+
+### ComboListCount
+{: .no_toc }
+
+The number of items of the open list. **Long**, read-only. The heading does not count. Error 5 when no list is open.
+
+Syntax: *object*.**ComboListCount**
+
+### ComboListIndex
+{: .no_toc }
+
+The selected item of the open list, counted from 0, or -1 for none. **Long**.
+
+Syntax: *object*.**ComboListIndex** [ = *value* ]
+
+Assigning selects the item and puts its text in the edit box, as if the user had chosen it, with an [**EditChange**](Editing#editchange) event when the text differs. -1 removes the selection. Error 380 for an item that does not exist, error 5 when no list is open.
+
+### ComboMode
+{: .no_toc }
+
+The combo mode of the cells whose column has no mode of its own. A [**FlexComboModeConstants**](../Enumerations/EditingAndComboBoxes#flexcombomodeconstants) value. Default **FlexComboModeNone**.
+
+Syntax: *object*.**ComboMode** [ = *value* ]
+
+Error 380 for a value that is not a member of the enumeration.
+
+### hWndComboButton
+{: .no_toc }
+
+The window handle of the combo button of the cell being edited. **LongPtr**, read-only. 0 when there is none.
+
+Syntax: *object*.**hWndComboButton**
+
+### hWndComboCalendar
+{: .no_toc }
+
+The window handle of the drop-down calendar of the cell being edited. **LongPtr**, read-only. 0 when there is none.
+
+Syntax: *object*.**hWndComboCalendar**
+
+### hWndComboList
+{: .no_toc }
+
+The window handle of the drop-down list of the cell being edited. **LongPtr**, read-only. 0 when there is none.
+
+Syntax: *object*.**hWndComboList**
+
+## Events
+
+### ComboBeforeDropDown
+{: .no_toc }
+
+Occurs when a list or calendar is about to drop down.
+
+Syntax: *object*\_**ComboBeforeDropDown**( *Reason* **As FlexComboDropDownReasonConstants**, *Cancel* **As Boolean** )
+
+*Reason*
+: A [**FlexComboDropDownReasonConstants**](../Enumerations/EditingAndComboBoxes#flexcombodropdownreasonconstants) value: **FlexComboDropDownReasonCode** (code, through [**ComboButtonValue**](#combobuttonvalue)), **FlexComboDropDownReasonInitialize** (the edit started), **FlexComboDropDownReasonMouse** or **FlexComboDropDownReasonKeyboard**.
+
+*Cancel*
+: Set to **True** to keep it closed. [**ComboDropDown**](#combodropdown) is then not raised.
+
+### ComboButtonClick
+{: .no_toc }
+
+Occurs when the user presses the combo button of the button mode, or code sets [**ComboButtonValue**](#combobuttonvalue) to **FlexComboButtonValuePressed**.
+
+Syntax: *object*\_**ComboButtonClick**( )
+
+The edit stays open while the handler runs, and keeps the focus afterwards. The handler usually shows a dialog and sets [**EditText**](Editing#edittext).
+
+### ComboButtonCustomDraw
+{: .no_toc }
+
+Occurs after the grid has drawn the background of a combo button, and before it draws the content.
+
+Syntax: *object*\_**ComboButtonCustomDraw**( *Row* **As Long**, *Col* **As Long**, *Handled* **As Boolean**, *CtlType* **As Long**, *ItemAction* **As Long**, *ItemState* **As Long**, *hDC* **As Long**, *Left* **As Long**, *Top* **As Long**, *Right* **As Long**, *Bottom* **As Long**, *ContentLeft* **As Long**, *ContentTop* **As Long**, *ContentRight* **As Long**, *ContentBottom* **As Long** )
+
+*Row*, *Col*
+: The cell of the button or cue.
+
+*Handled*
+: Set to **True** to draw the content in the handler, in place of the ellipsis or the picture.
+
+*CtlType*, *ItemAction*, *ItemState*
+: As for [**ComboButtonOwnerDraw**](#combobuttonownerdraw).
+
+*hDC*
+: The device context to draw in. Its origin is the top left corner of the button.
+
+*Left*, *Top*, *Right*, *Bottom*
+: The rectangle of the button, in pixels.
+
+*ContentLeft*, *ContentTop*, *ContentRight*, *ContentBottom*
+: The rectangle for the content, in pixels.
+
+Occurs for a button only (the button mode and the button cue), not for a drop-down arrow, and only when [**ComboButtonDrawMode**](#combobuttondrawmode) is **FlexComboButtonDrawModeNormal**.
+
+### ComboButtonMeasure
+{: .no_toc }
+
+Occurs when the width of a combo button is needed for drawing.
+
+Syntax: *object*\_**ComboButtonMeasure**( *Row* **As Long**, *Col* **As Long**, *Width* **As Long** )
+
+*Row*, *Col*
+: The cell.
+
+*Width*
+: The width in pixels, which starts as [**ColComboButtonWidth**](#colcombobuttonwidth) or [**ComboButtonWidth**](#combobuttonwidth). A handler can change it. A width of 0 or less leaves the button out.
+
+Occurs for a button only (the button mode and the button cue), not for a drop-down arrow.
+
+### ComboButtonOwnerDraw
+{: .no_toc }
+
+Occurs when a combo button, or a cue, is to be drawn and [**ComboButtonDrawMode**](#combobuttondrawmode) is **FlexComboButtonDrawModeOwnerDraw**.
+
+Syntax: *object*\_**ComboButtonOwnerDraw**( *Row* **As Long**, *Col* **As Long**, *Cancel* **As Boolean**, *CtlType* **As Long**, *ItemAction* **As Long**, *ItemState* **As Long**, *hDC* **As Long**, *Left* **As Long**, *Top* **As Long**, *Right* **As Long**, *Bottom* **As Long** )
+
+*Row*, *Col*
+: The cell.
+
+*Cancel*
+: **False**, as the event starts, means that the handler draws the button. Set it to **True** to let the grid draw it.
+
+*CtlType*
+: The Windows owner-draw type: `ODT_STATIC` (5) for the button of the edit box, `ODT_COMBOBOX` (3) for a drop-down cue, `ODT_BUTTON` (4) for a button cue.
+
+*ItemAction*
+: The Windows `ODA_` action value.
+
+*ItemState*
+: A bit mask of the Windows `ODS_` flags: `ODS_SELECTED` (1) for a pressed button, `ODS_DISABLED` (4), `ODS_HOTLIGHT` (&H40) while the mouse is over it.
+
+*hDC*
+: The device context to draw in. Its origin is the top left corner of the button.
+
+*Left*, *Top*, *Right*, *Bottom*
+: The rectangle of the button, in pixels.
+
+### ComboCloseUp
+{: .no_toc }
+
+Occurs when a drop-down list or calendar has closed.
+
+Syntax: *object*\_**ComboCloseUp**( )
+
+It occurs also when the edit ends with the list open.
+
+### ComboCueClick
+{: .no_toc }
+
+Occurs when the user clicks a combo cue, or uses its keys, and no edit can start.
+
+Syntax: *object*\_**ComboCueClick**( *Row* **As Long**, *Col* **As Long**, *Reason* **As FlexEditReasonConstants** )
+
+*Row*, *Col*
+: The cell of the cue.
+
+*Reason*
+: **FlexEditReasonComboCueClick**, **FlexEditReasonComboCueDblClick**, **FlexEditReasonComboCueF4** or **FlexEditReasonComboCueAltUpDown**, a [**FlexEditReasonConstants**](../Enumerations/EditingAndComboBoxes#flexeditreasonconstants) value.
+
+Occurs only when [**AlwaysAllowComboCues**](#alwaysallowcombocues) is **True**, and when [**AllowUserEditing**](Editing#allowuserediting) is **False** or [**BeforeEdit**](Editing#beforeedit) refused the edit.
+
+### ComboDropDown
+{: .no_toc }
+
+Occurs when a list or calendar drops down, after [**ComboBeforeDropDown**](#combobeforedropdown) has not refused it.
+
+Syntax: *object*\_**ComboDropDown**( )
+
+## See Also
+
+- [Editing Cells](Editing) -- the life of an edit, and its events
+- [Check Boxes](CheckBoxes)
+- [FlexComboModeConstants](../Enumerations/EditingAndComboBoxes#flexcombomodeconstants) enumeration
+- [FlexComboCueConstants](../Enumerations/EditingAndComboBoxes#flexcombocueconstants) enumeration
+- [FlexComboDropDownReasonConstants](../Enumerations/EditingAndComboBoxes#flexcombodropdownreasonconstants) enumeration
+- [FlexComboButtonValueConstants](../Enumerations/EditingAndComboBoxes#flexcombobuttonvalueconstants) enumeration
+- [FlexComboButtonDrawModeConstants](../Enumerations/EditingAndComboBoxes#flexcombobuttondrawmodeconstants) enumeration
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/DataBinding.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/DataBinding.md
new file mode 100644
index 000000000..e25ea5f16
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/DataBinding.md
@@ -0,0 +1,307 @@
+---
+title: Data Binding
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/DataBinding
+---
+
+# Data Binding
+{: .no_toc }
+
+Filling the grid from a recordset, binding it to a data source, and feeding it from an object of your own through the **IVBFlexDataSource** interface.
+
+* TOC
+{:toc}
+
+## Three ways to get data in
+
+| Way | The grid | Use it for |
+|:----|:---------|:-----------|
+| [**CopyFromRecordset**](#copyfromrecordset) | Copies the records of an ADO or DAO recordset into a range of cells once, and keeps no link to the recordset. | Filling a part of the grid from a query. |
+| [**DataSource**](#datasource) | Takes the records and the field names of an ADO recordset, or another data source, sizes itself to them, and copies them once. | Showing a table, as a bound grid of Visual Basic 6 does. |
+| [**FlexDataSource**](#flexdatasource) | Keeps no data of its own in the cells, and asks the object that you give it for the text of a cell whenever it needs it. | A large table, data that already is in memory in another form, data that is changed elsewhere. |
+
+A change that the user makes in the grid is not written back to a recordset by **CopyFromRecordset** or **DataSource**. With a **FlexDataSource** the object receives each new text and can store it where it likes.
+
+## Copying from a recordset
+
+**CopyFromRecordset** takes the records from the current record of a recordset to the end, or as many as it is told to, and writes them into the grid from the cell that it is told to start in. It does not change the number of rows and columns of the grid and does not write the field names: a record or a field that does not fit is left out. It returns the number of records copied and leaves the current record of the recordset after the last of them. Null values become empty cells.
+
+The recordset must say how many records it holds: one with a cursor that cannot tell (**RecordCount** is -1) has nothing copied.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Records As Object, Copied As Long, Row As Long, Line As String
+
+Set Records = CreateObject("ADODB.Recordset")
+Records.CursorLocation = 3                          ' adUseClient: a recordset that needs no database
+Records.Fields.Append "Name", 200, 20               ' adVarChar
+Records.Fields.Append "Qty", 3                      ' adInteger
+Records.Open
+Records.AddNew: Records.Fields("Name").Value = "bolt": Records.Fields("Qty").Value = 10: Records.Update
+Records.AddNew: Records.Fields("Name").Value = "nut": Records.Fields("Qty").Value = 20: Records.Update
+Records.AddNew: Records.Fields("Name").Value = "gear": Records.Update   ' Qty stays Null
+Records.MoveFirst
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 4: .Cols = 2
+    .TextMatrix(0, 0) = "Name": .TextMatrix(0, 1) = "Qty"
+
+    Copied = .CopyFromRecordset(Records)
+    Debug.Print Copied
+    For Row = 0 To 3
+        Line = Line & .TextMatrix(Row, 0) & "/" & .TextMatrix(Row, 1) & " "
+    Next
+    Debug.Print Line
+End With
+' Output:
+' 3
+' Name/Qty bolt/10 nut/20 gear/ 
+```
+
+Arguments choose the number of records and fields, and where they go. A second call continues with the records that follow, because the first moved the current record.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Records As Object, Row As Long, Line As String
+
+Set Records = CreateObject("ADODB.Recordset")
+Records.CursorLocation = 3
+Records.Fields.Append "Name", 200, 20
+Records.Fields.Append "Qty", 3
+Records.Open
+Records.AddNew: Records.Fields("Name").Value = "bolt": Records.Fields("Qty").Value = 10: Records.Update
+Records.AddNew: Records.Fields("Name").Value = "nut": Records.Fields("Qty").Value = 20: Records.Update
+Records.AddNew: Records.Fields("Name").Value = "gear": Records.Fields("Qty").Value = 5: Records.Update
+Records.MoveFirst
+
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 3: .Cols = 3
+
+    ' one record, only the Qty field, into row 0, column 2
+    Debug.Print .CopyFromRecordset(Records, 1, , 0, 2, "Qty")
+    ' the other two records, both fields, from row 1, column 0
+    Debug.Print .CopyFromRecordset(Records, , , 1, 0)
+    For Row = 0 To 2
+        Line = Line & .TextMatrix(Row, 0) & "/" & .TextMatrix(Row, 1) & "/" & .TextMatrix(Row, 2) & " "
+    Next
+    Debug.Print Line
+End With
+' Output:
+' 1
+' 2
+' //10 nut/20/ gear/5/ 
+```
+
+## Binding to a data source
+
+When **DataSource** is set to an ADO recordset, the grid reads it at once, and only then:
+
+- The grid is cleared. Its number of rows becomes [**FixedRows**](Structure#fixedrows) plus the number of records, and its number of columns [**FixedCols**](Structure#fixedcols) plus the number of fields.
+- When the grid has a fixed row, the field names are written into its first row, starting at the first column that is not fixed, and are also set as the keys of the columns ([**ColKey**](Structure#colkey)). The columns also get the type, the precision and scale and the size of their fields ([**ColDataType**](Text#coldatatype), [**ColNumericPrecision**](Text#colnumericprecision), [**ColNumericScale**](Text#colnumericscale), [**ColDataCapacity**](Structure#coldatacapacity)) and whether a field can be Null ([**ColNullable**](Text#colnullable)).
+- The records are written into the rows that are not fixed, from the first column that is not fixed. A Null value is an empty cell.
+- A [**FlexDataSource**](#flexdatasource) that is set is removed.
+
+A recordset that does not say how many records it holds (**RecordCount** is -1) is not read, and the grid does not change.
+
+The grid does not follow later changes to the recordset. [**DataRefresh**](#datarefresh) reads it again, which clears the grid again.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Records As Object
+
+Set Records = CreateObject("ADODB.Recordset")
+Records.CursorLocation = 3
+Records.Fields.Append "Name", 200, 20
+Records.Fields.Append "Qty", 3
+Records.Open
+Records.AddNew: Records.Fields("Name").Value = "bolt": Records.Fields("Qty").Value = 10: Records.Update
+Records.AddNew: Records.Fields("Name").Value = "nut": Records.Fields("Qty").Value = 20: Records.Update
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    Set .DataSource = Records
+    Debug.Print .Rows & "x" & .Cols & " " & .TextMatrix(0, 1) & " " & .TextMatrix(2, 0) & " " & .ColKey(1) & " " & .ColDataType(1)
+
+    .TextMatrix(2, 1) = "99"                    ' the recordset is not changed
+    Records.MoveLast
+    Debug.Print Records.Fields("Qty").Value
+
+    Records.AddNew: Records.Fields("Name").Value = "gear": Records.Fields("Qty").Value = 5: Records.Update
+    Debug.Print .Rows                           ' still 3: the grid does not follow the recordset
+    .DataRefresh
+    Debug.Print .Rows & " " & .TextMatrix(3, 0)
+End With
+' Output:
+' 3x2 Qty nut Qty 3
+' 20
+' 3
+' 4 gear
+```
+
+## Feeding the grid from an object
+
+An object that implements [**IVBFlexDataSource**](../IVBFlexDataSource) and is set as **FlexDataSource** takes the place of the cells that are not fixed: the grid does not store their text, but asks the object for it when it draws a cell, when [**TextMatrix**](Text#textmatrix) or [**Clip**](ClipboardAndArrays#clip) reads it, and in every other place that reads text. A text that is written to a cell goes to the object. An object that also implements [**IVBFlexDataSource2**](../IVBFlexDataSource2) can supply tool tip text and check boxes, and can switch some of these behaviors off.
+
+The grid sizes itself to the object when it is set: the columns are the fields, the rows the records plus the fixed rows, and the field names go into the first fixed row and become the keys of the columns. The object tells the grid about a change of its size when **FlexDataSource** is set again, or **DataRefresh** is called.
+
+```tb check_build slot=file projname=bind-flex
+Class ArrayFlexSource
+    Implements IVBFlexDataSource
+
+    Private Names() As String
+    Private Cells() As String
+
+    Public Sub Fill()
+        ReDim Names(0 To 1)
+        ReDim Cells(0 To 1, 0 To 2)                 ' (field, record)
+        Names(0) = "Name": Names(1) = "Qty"
+        Cells(0, 0) = "bolt": Cells(1, 0) = "10"
+        Cells(0, 1) = "nut": Cells(1, 1) = "20"
+        Cells(0, 2) = "gear": Cells(1, 2) = "5"
+    End Sub
+
+    Public Function Qty(ByVal Record As Long) As String
+        Return Cells(1, Record)
+    End Function
+
+    Private Function IVBFlexDataSource_GetFieldCount() As Long
+        Return UBound(Names) + 1
+    End Function
+
+    Private Function IVBFlexDataSource_GetRecordCount() As Long
+        Return UBound(Cells, 2) + 1
+    End Function
+
+    Private Function IVBFlexDataSource_GetFieldName(ByVal Field As Long) As String
+        Return Names(Field)
+    End Function
+
+    Private Function IVBFlexDataSource_GetData(ByVal Field As Long, ByVal Record As Long) As String
+        Return Cells(Field, Record)
+    End Function
+
+    Private Sub IVBFlexDataSource_SetData(ByVal Field As Long, ByVal Record As Long, ByVal NewData As String)
+        Cells(Field, Record) = NewData
+    End Sub
+End Class
+```
+
+```tb check_build check_run slot=sub projname=bind-flex
+Dim Source As New ArrayFlexSource
+Dim Row As Long, Line As String
+Source.Fill
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    Set .FlexDataSource = Source
+    Debug.Print .Rows & "x" & .Cols & " " & .ColKey(1)
+    For Row = 0 To .Rows - 1
+        Line = Line & .TextMatrix(Row, 0) & "/" & .TextMatrix(Row, 1) & " "
+    Next
+    Debug.Print Line
+
+    .TextMatrix(2, 1) = "99"                       ' goes to SetData
+    Debug.Print Source.Qty(1)
+
+    On Error Resume Next
+    .Row = 1: .RowSel = 3: .Col = 0: .ColSel = 0
+    .Sort = FlexSortStringAscending                ' the data is not in the grid
+    Debug.Print Err.Number
+End With
+' Output:
+' 4x2 Qty
+' Name/Qty bolt/10 nut/20 gear/5 
+' 99
+' 5
+```
+
+While a **FlexDataSource** is set, [**Sort**](SortingAndSearching#sort) raises error 5 and [**Clear**](Structure#clear) raises error 5 for **FlexClearEverything**, unless the flags of the object say **FlexDataSourceNoData**. [**FindItem**](SortingAndSearching#finditem), [**SaveArray**](ClipboardAndArrays#savearray), [**AutoSize**](Sizing#autosize) and merged cells use the text of the object.
+
+## Properties
+
+### DataMember
+{: .no_toc }
+
+The member of the data source that the grid shows.
+
+Syntax: *object*.**DataMember** [ = *value* ]
+
+A **String**. A data source that offers more than one set of records, such as a data environment, is asked for the one with this name. It is empty by default, for a data source with one set, as an ADO recordset is. Setting it binds the grid to [**DataSource**](#datasource) again, so that the grid is cleared and filled again. It has no effect while there is no data source.
+
+### DataSource
+{: .no_toc }
+
+The data source that the grid is bound to.
+
+Syntax: *object*.**DataSource** [ = *value* ]
+
+Syntax: **Set** *object*.**DataSource** = *value*
+
+An object of the **DataSource** type of the Microsoft data binding library (**MSDATASRC**), which an ADO recordset is. It can be set with **Set** or with a plain assignment. Setting it reads the recordset: see [Binding to a data source](#binding-to-a-data-source). Setting it to **Nothing** only releases the data source: the grid keeps the cells that it holds. The property is **Nothing** by default.
+
+### FlexDataSource
+{: .no_toc }
+
+The object that feeds the grid with its data.
+
+Syntax: *object*.**FlexDataSource** [ = *value* ]
+
+Syntax: **Set** *object*.**FlexDataSource** = *value*
+
+An object whose class implements [**IVBFlexDataSource**](../IVBFlexDataSource), or **Nothing** (the default). Setting it:
+
+1. Asks the object for its flags ([**GetFlags**](../IVBFlexDataSource2#getflags)), if the class also implements [**IVBFlexDataSource2**](../IVBFlexDataSource2). The flags are read at this time only, and again by [**DataRefresh**](#datarefresh).
+2. Asks for the number of fields. When it is 0 the grid does not change in size and the rest of the steps are left out.
+3. Sets the number of columns to the number of fields. With **FlexDataSourceUnboundFixedColumns**, the number of columns is the number of fixed columns plus the number of fields, and the fields start after the fixed columns.
+4. When the grid has a fixed row, and the flags do not include **FlexDataSourceNoFieldNames**, writes the name of each field into the first row and sets it as the key of its column.
+5. Sets the number of rows to the number of fixed rows plus the number of records. With no records there is one row, for which the grid still asks for the data of the record 0.
+
+Setting the property to **Nothing** removes the object. The grid keeps its size, and the cells that are not fixed show the text that the grid itself holds, which is empty.
+
+See [Feeding the grid from an object](#feeding-the-grid-from-an-object).
+
+## Methods
+
+### CopyFromRecordset
+{: .no_toc }
+
+Copies the records of an ADO or DAO recordset into the grid.
+
+Syntax: *object*.**CopyFromRecordset** ( *Data* [, *Rows* [, *Cols* [, *Row* [, *Col* [, *Fields* ]]]]] ) **As Long**
+
+*Data*
+: *required* An **Object**, the recordset. Its current record is the first that is copied.
+
+*Rows*
+: *optional* A **Long**, the greatest number of records to copy. Default: -1, as many as fit in the grid from *Row*, and so all that remain, when they fit.
+
+*Cols*
+: *optional* A **Long**, the greatest number of columns to write. Default: -1, as many as fit from *Col*.
+
+*Row*
+: *optional* A **Long**, the first row to write into. Default: -1, the first row that is not fixed.
+
+*Col*
+: *optional* A **Long**, the first column to write into. Default: -1, the first column that is not fixed.
+
+*Fields*
+: *optional* A **Variant**, which fields are copied and in what order: a field name, a field number, or an array of them, as the *Fields* argument of the **GetRows** method of an ADO recordset. Default: all fields, in their order.
+
+Returns the number of records written. Raises error 5 when *Data* is **Nothing**, error 430 when it is not a recordset, error 380 for an argument below -1, error 381 for a *Row* or *Col* outside the grid or a field that the recordset does not have, and returns 0 without a change for a recordset with no records, or one that does not report its record count.
+
+### DataRefresh
+{: .no_toc }
+
+Reads the data source or the object of **FlexDataSource** again.
+
+Syntax: *object*.**DataRefresh**
+
+Sets [**DataSource**](#datasource) again with the data source that it has, if any, and then [**FlexDataSource**](#flexdatasource) again with its object. It is the way to show the new records of a recordset, and to make the grid read a changed number of records, fields or flags from an object.
+
+## See Also
+
+- [IVBFlexDataSource](../IVBFlexDataSource) and [IVBFlexDataSource2](../IVBFlexDataSource2) interfaces -- what an object that feeds the grid implements
+- [Clipboard, Undo and Arrays](ClipboardAndArrays) -- **LoadArray** and **SaveArray**, for data in arrays
+- [Rows and Columns](Structure) -- **Rows**, **Cols**, **FixedRows**, **ColKey** and **Clear**
+- [Cell Text](Text) -- **ColDataType**, **ColNullable** and the other properties of a column that a bound grid sets
+- [Sorting and Searching](SortingAndSearching) -- **Sort**, which a grid with a **FlexDataSource** refuses
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Editing.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Editing.md
new file mode 100644
index 000000000..9a1f4da61
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Editing.md
@@ -0,0 +1,638 @@
+---
+title: Editing Cells
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Editing
+has_toc: false
+---
+
+# Editing Cells
+{: .no_toc }
+
+Lets the user, or code, change the text of a cell in an edit box that the grid places over the cell, and reports each step of the edit in events.
+
+The edit box is a standard Windows edit control. It takes the cell's font, text colour, background colour and alignment, covers the cell inside its grid lines, and is a child window of the grid ([**hWndEdit**](#hwndedit) is its handle). It exists only while a cell is being edited. A merged range is edited as one cell: the box covers the whole range, and the new text is stored in every cell of it.
+
+![A grid of staff with the cell Bob Smith being edited: the edit box covers the cell inside its grid lines, with all its text selected.](Images/Editing_EditBox.png){:width="384" height="169"}
+
+```tb check_build
+Private Sub Form_Load()
+    VBFlexGrid1.AllowUserEditing = True
+End Sub
+
+Private Sub VBFlexGrid1_BeforeEdit(Row As Long, Col As Long, ByVal Reason As FlexEditReasonConstants, Cancel As Boolean)
+    If Col = 0 Then Cancel = True   ' column 0 cannot be edited
+End Sub
+
+Private Sub VBFlexGrid1_AfterEdit(ByVal Row As Long, ByVal Col As Long, ByVal Changed As Boolean)
+    If Changed Then Debug.Print "Cell " & Row & "," & Col & " is now " & VBFlexGrid1.TextMatrix(Row, Col)
+End Sub
+```
+
+* TOC
+{:toc}
+
+## Starting an edit
+
+The user starts an edit only when [**AllowUserEditing**](#allowuserediting) is **True** (the default is **False**). Code starts one with [**StartEdit**](#startedit), whatever **AllowUserEditing** says. Every start reports its cause in [**EditReason**](#editreason) and in the *Reason* argument of [**BeforeEdit**](#beforeedit), a [**FlexEditReasonConstants**](../Enumerations/EditingAndComboBoxes#flexeditreasonconstants) value:
+
+| The user | *Reason* | What happens |
+|:---------|:---------|:-------------|
+| presses **F2** | **FlexEditReasonF2** | The box opens with all the text selected. |
+| presses **Space** | **FlexEditReasonSpace** | The box opens with the caret at the end of the text. On a cell with a check box, **Space** toggles the [check box](CheckBoxes) instead. |
+| presses **Backspace** | **FlexEditReasonBackSpace** | The box opens with the text removed. |
+| presses **Return** | **FlexEditReasonReturn** | The box opens with the caret at the end of the text, only when [**DirectionAfterReturn**](Selection#directionafterreturn) is **FlexDirectionAfterReturnEdit**. |
+| types a printable character | **FlexEditReasonKeyPress** | The box opens and receives the character. Not while [**AllowIncrementalSearch**](SortingAndSearching#allowincrementalsearch) is **True**: the character then starts a search. |
+| double-clicks a cell with the left button | **FlexEditReasonDblClick** | Not on a fixed cell. |
+| clicks a combo cue, or presses **F4** or **Alt+Up**, **Alt+Down** on a cell that has one | **FlexEditReasonComboCueClick**, **FlexEditReasonComboCueDblClick**, **FlexEditReasonComboCueF4**, **FlexEditReasonComboCueAltUpDown** | See [Drop-Down Lists, Buttons and Calendars](ComboEditing#combo-cues). |
+
+**Space**, **Backspace** and **Return** start an edit only when no modifier key is held. Code starts an edit with the reason **FlexEditReasonCode**.
+
+The edit is for the current cell. With [**SelectionMode**](Selection#selectionmode) by row or by column, a double-click or a click on a combo cue edits the cell where the clicked row or column meets the current column or row. [**StartEdit**](#startedit) takes the cell as arguments. The text in the box is the cell's text, with one exception: a column with a [**ColLookup**](Text#collookup) shows the looked-up description, and stores the key back.
+
+Only one cell is edited at a time. When an edit does not start, because [**BeforeEdit**](#beforeedit) refused it, the grid is disabled or an edit is open, [**StartEdit**](#startedit) returns **False**.
+
+## The life of an edit
+
+These events occur, in this order, when an edit starts:
+
+1. [**BeforeEdit**](#beforeedit): the edit can be refused, or moved to another cell.
+2. [**EditSetupStyle**](#editsetupstyle): the window styles of the edit box can be changed.
+3. The edit box is created.
+4. [**EditSetupWindow**](#editsetupwindow): the colours of the box can be changed, and the box and its combo parts can be set up.
+5. The box is shown. [**EnterEdit**](#enteredit) is the last event of the start.
+
+While the box exists, [**EditKeyDown**](#editkeydown), [**EditKeyPress**](#editkeypress), [**EditKeyUp**](#editkeyup) and [**EditChange**](#editchange) report the typing, and [**EditContextMenu**](#editcontextmenu) a right click.
+
+These occur, in this order, when the edit ends:
+
+1. [**EditQueryClose**](#editqueryclose): the end can be refused. It does not occur when the end is caused by the box losing the focus.
+2. [**ValidateEdit**](#validateedit): the new text can be refused. It occurs only when the text is to be kept and has changed.
+3. The new text is written to the cell.
+4. [**LeaveEdit**](#leaveedit), with the box still there.
+5. The box is destroyed. [**AfterEdit**](#afteredit) is the last event.
+
+The samples log these events with a small class, `EditWatcher`, that attaches to the grid. Its handlers do nothing else, apart from three switches that the later samples use.
+
+```tb check_build projname=editing slot=file
+Class EditWatcher
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+    Private mLog As String
+
+    Public RefuseCol As Long = -1   ' BeforeEdit refuses an edit in this column
+    Public RejectText As String     ' ValidateEdit refuses this text
+    Public KeepOpen As Boolean      ' EditQueryClose refuses to close the edit
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    ' Returns the events logged so far, and clears the log.
+    Public Function Take() As String
+        Take = Trim$(mLog)
+        mLog = ""
+    End Function
+
+    Private Sub Grid_BeforeEdit(ByRef Row As Long, ByRef Col As Long, ByVal Reason As FlexEditReasonConstants, ByRef Cancel As Boolean)
+        mLog &= " BeforeEdit"
+        If Col = RefuseCol Then Cancel = True
+    End Sub
+    Private Sub Grid_EditSetupStyle(ByRef dwStyle As Long, ByRef dwExStyle As Long)
+        mLog &= " EditSetupStyle"
+    End Sub
+    Private Sub Grid_EditSetupWindow(ByRef BackColor As OLE_COLOR, ByRef ForeColor As OLE_COLOR)
+        mLog &= " EditSetupWindow"
+    End Sub
+    Private Sub Grid_EnterEdit()
+        mLog &= " EnterEdit"
+    End Sub
+    Private Sub Grid_EditChange()
+        mLog &= " EditChange"
+    End Sub
+    Private Sub Grid_EditQueryClose(ByVal CloseMode As FlexEditCloseModeConstants, ByRef Cancel As Boolean)
+        mLog &= " EditQueryClose"
+        If KeepOpen Then Cancel = True
+    End Sub
+    Private Sub Grid_ValidateEdit(ByRef Cancel As Boolean)
+        mLog &= " ValidateEdit"
+        If Grid.EditText = RejectText Then Cancel = True
+    End Sub
+    Private Sub Grid_LeaveEdit()
+        mLog &= " LeaveEdit"
+    End Sub
+    Private Sub Grid_AfterEdit(ByVal Row As Long, ByVal Col As Long, ByVal Changed As Boolean)
+        mLog &= " AfterEdit(" & Changed & ")"
+    End Sub
+End Class
+```
+
+A grid that is not shown has no window for the edit box, so the samples that run an edit show the form first.
+
+```tb check_build check_run projname=editing
+Form1.Show
+DoEvents
+Dim Watch As New EditWatcher
+Watch.Attach VBFlexGrid1
+With VBFlexGrid1
+    .TextMatrix(1, 1) = "old"
+    .Row = 1
+    .Col = 1
+    Debug.Print .StartEdit()        ' True
+    Debug.Print Watch.Take()        ' BeforeEdit EditSetupStyle EditSetupWindow EnterEdit
+    .EditText = "new"
+    Debug.Print Watch.Take()        ' EditChange
+    Debug.Print .CommitEdit()       ' True
+    Debug.Print Watch.Take()        ' EditQueryClose ValidateEdit LeaveEdit AfterEdit(True)
+    Debug.Print .TextMatrix(1, 1)   ' new
+End With
+```
+
+### Ending the edit
+
+The user ends an edit with these keys, and [**EditCloseMode**](#editclosemode) tells which one, a [**FlexEditCloseModeConstants**](../Enumerations/EditingAndComboBoxes#flexeditclosemodeconstants) value:
+
+| Cause | *CloseMode* | The text |
+|:------|:------------|:---------|
+| **Esc** | **FlexEditCloseModeEscape** | Discarded. |
+| **Return** | **FlexEditCloseModeReturn** | Kept. The key is then passed on to the grid, which moves the current cell as [**DirectionAfterReturn**](Selection#directionafterreturn) says. In a multi-line box, **Shift+Return** and **Ctrl+Return** put a carriage return and a line feed into the text instead. |
+| **Tab**, **Shift+Tab** | **FlexEditCloseModeTab**, **FlexEditCloseModeShiftTab** | Kept, when [**TabBehavior**](Selection#tabbehavior) is not **FlexTabControls**. The key is passed on to the grid. |
+| an arrow key, **Page Up**, **Page Down**, **Home** or **End** | **FlexEditCloseModeNavigationKey** | Kept, when no text is selected and the caret is already at the edge that the key points to (the first line for **Up**, the end of the text for **Right**). The key is passed on to the grid. |
+| the box loses the focus | **FlexEditCloseModeLostFocus** | Kept. [**EditQueryClose**](#editqueryclose) is not raised, and the box stays open while [**ValidateEdit**](#validateedit) runs. |
+| code | **FlexEditCloseModeCode** | [**CommitEdit**](#commitedit) keeps the text, [**CancelEdit**](#canceledit) discards it. |
+
+A kept text is written to the cell only when it has changed: a box in which nothing was typed raises no [**ValidateEdit**](#validateedit) and leaves the cell as it was. The *Changed* argument of [**AfterEdit**](#afteredit) is **True** when the text was changed at any time during the edit, even if the final text equals the old one.
+
+When [**UndoLimit**](ClipboardAndArrays#undolimit) is above 0, a kept change is put in the undo queue.
+
+[**CommitEdit**](#commitedit) and [**CancelEdit**](#canceledit) return **True** when the edit ended. They return **False** when no edit is open, and when [**EditQueryClose**](#editqueryclose) or [**ValidateEdit**](#validateedit) refused the end: the edit then stays open. After **CancelEdit** the cell has its old text.
+
+```tb check_build check_run projname=editing
+Form1.Show
+DoEvents
+Dim Watch As New EditWatcher
+Watch.Attach VBFlexGrid1
+With VBFlexGrid1
+    .TextMatrix(1, 1) = "old"
+    .Row = 1
+    .Col = 1
+    .StartEdit
+    Debug.Print .EditCloseMode      ' -1
+    Debug.Print .CancelEdit()       ' True
+    Debug.Print .EditCloseMode      ' 0
+    Debug.Print .TextMatrix(1, 1)   ' old
+    Debug.Print .CancelEdit()       ' False
+    .StartEdit
+    .EditText = "new"
+    Watch.Take
+    Watch.RejectText = "new"
+    Debug.Print .CommitEdit()       ' False
+    Debug.Print Watch.Take()        ' EditQueryClose ValidateEdit
+    Debug.Print .EditRow            ' 1
+    Watch.RejectText = ""
+    Watch.KeepOpen = True
+    Debug.Print .CommitEdit()       ' False
+    Debug.Print .CancelEdit()       ' False
+    Debug.Print Watch.Take()        ' EditQueryClose EditQueryClose
+    Watch.KeepOpen = False
+    Debug.Print .CommitEdit()       ' True
+    Debug.Print Watch.Take()        ' EditQueryClose ValidateEdit LeaveEdit AfterEdit(True)
+    Debug.Print .TextMatrix(1, 1)   ' new
+End With
+```
+
+Setting [**EditText**](#edittext) from code also raises [**EditChange**](#editchange), when the text differs from the text in the box.
+
+## Refusing, moving and changing an edit
+
+[**BeforeEdit**](#beforeedit) takes *Row* and *Col* by reference. Setting *Cancel* refuses the edit: [**StartEdit**](#startedit) then returns **False**, and [**EditReason**](#editreason) is -1. Changing *Row* or *Col* edits another cell.
+
+```tb check_build check_run projname=editing
+Form1.Show
+DoEvents
+Dim Watch As New EditWatcher
+Watch.Attach VBFlexGrid1
+With VBFlexGrid1
+    .Cols = 4
+    .Row = 1
+    .Col = 1
+    Watch.RefuseCol = 1
+    Debug.Print .StartEdit()                ' False
+    Debug.Print .EditReason                 ' -1
+    Debug.Print .EditRow                    ' -1
+    Watch.RefuseCol = -1
+    Debug.Print .StartEdit(1, 2)            ' True
+    Debug.Print .EditRow & "," & .EditCol   ' 1,2
+    .CancelEdit
+End With
+```
+
+Code can edit a cell of a fixed row or column (**StartEdit 0, 0**). The user can start an edit in a fixed cell with the keys, but not with a double-click.
+
+While the box exists, code can change it. These properties raise error 5 (*Invalid procedure call or argument*) when no edit is open: [**EditText**](#edittext), [**EditLocked**](#editlocked), [**EditMaxLength**](#editmaxlength), [**EditSelStart**](#editselstart), [**EditSelLength**](#editsellength) and [**EditSelText**](#editseltext). The [**EditSetupWindow**](#editsetupwindow) event is the place for setting them for every edit.
+
+```tb check_build check_run projname=editing
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .TextMatrix(1, 1) = "two"
+    .Row = 1
+    .Col = 1
+    .StartEdit
+    Debug.Print .EditSelStart & " " & .EditSelLength & " " & .EditSelText   ' 0 3 two
+    .EditSelStart = 1
+    .EditSelLength = 1
+    Debug.Print .EditSelText   ' w
+    .EditSelText = "WW"
+    Debug.Print .EditText      ' tWWo
+    .EditMaxLength = 3
+    .EditText = "abcdef"
+    Debug.Print .EditText      ' abc
+    .CancelEdit
+    On Error Resume Next
+    Debug.Print .EditText
+    Debug.Print Err.Number     ' 5
+End With
+```
+
+A column with a lookup shows the description in the box and stores the key:
+
+```tb check_build check_run projname=editing
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .ColLookup(1) = "1;One|2;Two"
+    .TextMatrix(1, 1) = "2"
+    .Row = 1
+    .Col = 1
+    .StartEdit
+    Debug.Print .EditText                          ' Two
+    .EditText = "One"
+    .CommitEdit
+    Debug.Print .TextMatrix(1, 1)                  ' 1
+    Debug.Print .Cell(FlexCellTextDisplay, 1, 1)   ' One
+End With
+```
+
+The next two samples change how the box looks. The styles that [**EditSetupStyle**](#editsetupstyle) passes are the `ES_` styles of a Windows edit control. [**EditSetupWindow**](#editsetupwindow) sets the colours.
+
+```tb check_build
+Private Sub VBFlexGrid1_EditSetupStyle(dwStyle As Long, dwExStyle As Long)
+    Const ES_NUMBER As Long = &H2000
+    If VBFlexGrid1.Col = 2 Then dwStyle = dwStyle Or ES_NUMBER   ' digits only
+End Sub
+
+Private Sub VBFlexGrid1_EditSetupWindow(BackColor As OLE_COLOR, ForeColor As OLE_COLOR)
+    BackColor = vbInfoBackground
+    ForeColor = vbInfoText
+End Sub
+```
+
+## Keys in the edit box
+
+The grid passes the keys that reach the edit box to its own events. A handler of [**EditKeyDown**](#editkeydown) or [**EditKeyPress**](#editkeypress) can change the key, or discard it by setting it to 0.
+
+```tb check_build
+Private Sub VBFlexGrid1_EditKeyPress(KeyChar As Integer)
+    If KeyChar >= 48 And KeyChar <= 57 Then Exit Sub   ' digits are accepted
+    If KeyChar >= 32 Then KeyChar = 0                  ' other printable characters are discarded
+End Sub
+```
+
+The window of the grid handles the keys that start an edit. The next sample calls `SendKey`, a procedure that sends a key-down message to that window, in place of the keyboard, so that the table of causes above can be checked: without **AllowUserEditing**, **F2** starts nothing.
+
+```tb check_build hidden projname=editing slot=file
+Module KeySender
+    Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
+
+    Public Sub SendKey(ByVal Grid As VBFLXGRD18.VBFlexGrid, ByVal KeyCode As Long)
+        Const WM_KEYDOWN As Long = &H100
+        SendMessageW Grid.hWnd, WM_KEYDOWN, KeyCode, 0
+    End Sub
+End Module
+```
+
+```tb check_build check_run projname=editing
+Form1.Show
+DoEvents
+With VBFlexGrid1
+    .TextMatrix(1, 1) = "abc"
+    .Row = 1
+    .Col = 1
+    .SetFocus
+    SendKey VBFlexGrid1, vbKeyF2
+    Debug.Print .EditRow                                              ' -1
+    .AllowUserEditing = True
+    SendKey VBFlexGrid1, vbKeyF2
+    Debug.Print .EditRow & " " & .EditReason & " " & .EditSelLength   ' 1 1 3
+    .CancelEdit
+    SendKey VBFlexGrid1, vbKeySpace
+    Debug.Print .EditReason & " " & .EditSelStart                     ' 2 3
+    .CancelEdit
+    SendKey VBFlexGrid1, vbKeyBack
+    Debug.Print .EditReason & " [" & .EditText & "]"                  ' 5 []
+    .CancelEdit
+    SendKey VBFlexGrid1, vbKeyReturn
+    Debug.Print .EditRow                                              ' -1
+    .DirectionAfterReturn = FlexDirectionAfterReturnEdit
+    SendKey VBFlexGrid1, vbKeyReturn
+    Debug.Print .EditReason & " " & .EditSelStart                     ' 6 3
+    .CancelEdit
+End With
+```
+
+## Properties
+
+### AllowUserEditing
+{: .no_toc }
+
+Whether the user can start an edit. **Boolean**. Default **False**.
+
+Syntax: *object*.**AllowUserEditing** [ = *value* ]
+
+**True** also lets a column or a cell show its [combo cue](ComboEditing#combo-cues). [**StartEdit**](#startedit) works whatever the value is.
+
+### EditCloseMode
+{: .no_toc }
+
+How the last edit ended. A [**FlexEditCloseModeConstants**](../Enumerations/EditingAndComboBoxes#flexeditclosemodeconstants) value, read-only. It is -1 while an edit is open. After an edit it keeps the value of that edit until the next edit starts.
+
+Syntax: *object*.**EditCloseMode**
+
+### EditCol
+{: .no_toc }
+
+The column of the cell being edited. **Long**, read-only. -1 when no edit is open.
+
+Syntax: *object*.**EditCol**
+
+### EditLocked
+{: .no_toc }
+
+Whether the box rejects the typing of the user. **Boolean**. Code can still change the text with [**EditText**](#edittext) and the other properties. Raises error 5 when no edit is open. A column in the drop-down list [combo mode](ComboEditing) has the box locked from the start.
+
+Syntax: *object*.**EditLocked** [ = *value* ]
+
+### EditMaxLength
+{: .no_toc }
+
+The most characters that the box takes. **Long**. 0 restores the default limit of a Windows edit control. A negative value raises error 380, and any use with no edit open raises error 5. Assigning a longer text to [**EditText**](#edittext) cuts it to this length.
+
+Syntax: *object*.**EditMaxLength** [ = *value* ]
+
+### EditReason
+{: .no_toc }
+
+How the last edit started. A [**FlexEditReasonConstants**](../Enumerations/EditingAndComboBoxes#flexeditreasonconstants) value, read-only. It is -1 before the first edit, and after an edit that [**BeforeEdit**](#beforeedit) refused.
+
+Syntax: *object*.**EditReason**
+
+### EditRow
+{: .no_toc }
+
+The row of the cell being edited. **Long**, read-only. -1 when no edit is open.
+
+Syntax: *object*.**EditRow**
+
+### EditSelLength
+{: .no_toc }
+
+The number of selected characters in the box. **Long**. Assigning keeps the start of the selection and sets its length. Error 380 for a negative value, error 5 with no edit open.
+
+Syntax: *object*.**EditSelLength** [ = *value* ]
+
+### EditSelStart
+{: .no_toc }
+
+The position of the caret, or of the start of the selection, in the box, counted from 0. **Long**. Assigning a position removes the selection and puts the caret there. Error 380 for a negative value, error 5 with no edit open.
+
+Syntax: *object*.**EditSelStart** [ = *value* ]
+
+### EditSelText
+{: .no_toc }
+
+The selected text of the box. **String**. Assigning replaces the selection with the text, or inserts it at the caret when nothing is selected; an empty string deletes the selection. [**EditChange**](#editchange) is raised, as for typing. Error 5 with no edit open.
+
+Syntax: *object*.**EditSelText** [ = *value* ]
+
+### EditText
+{: .no_toc }
+
+The text in the box. **String**. Assigning replaces the whole text, and raises [**EditChange**](#editchange) when the new text differs from the old. A text longer than [**EditMaxLength**](#editmaxlength) is cut. Error 5 with no edit open.
+
+Syntax: *object*.**EditText** [ = *value* ]
+
+### hWndEdit
+{: .no_toc }
+
+The window handle of the edit box. **LongPtr**, read-only. 0 when no edit is open.
+
+Syntax: *object*.**hWndEdit**
+
+## Methods
+
+### CancelEdit
+{: .no_toc }
+
+Ends the edit and discards the changes.
+
+Syntax: *object*.**CancelEdit**( ) **As Boolean**
+
+Raises [**EditQueryClose**](#editqueryclose) with **FlexEditCloseModeCode**, then [**LeaveEdit**](#leaveedit) and [**AfterEdit**](#afteredit); [**ValidateEdit**](#validateedit) is not raised. A drop-down list or calendar that is open is closed first. Returns **True** when the edit ended, **False** when no edit was open or [**EditQueryClose**](#editqueryclose) refused.
+
+### CommitEdit
+{: .no_toc }
+
+Ends the edit and stores the text in the cell.
+
+Syntax: *object*.**CommitEdit**( ) **As Boolean**
+
+As [**CancelEdit**](#canceledit), but the text is kept: when it has changed, [**ValidateEdit**](#validateedit) is raised, and the cell then receives the text. Returns **False** when no edit was open, or when [**EditQueryClose**](#editqueryclose) or [**ValidateEdit**](#validateedit) refused: the edit then stays open.
+
+### StartEdit
+{: .no_toc }
+
+Starts editing a cell.
+
+Syntax: *object*.**StartEdit**( [ *Row* ], [ *Col* ] ) **As Boolean**
+
+*Row*
+: *optional* A **Long**. The row of the cell. -1, or omitted, is the current row ([**Row**](Selection#row)). Another value below -1 raises error 380, and a row that does not exist raises error 381 (*Subscript out of range*).
+
+*Col*
+: *optional* A **Long**. The column of the cell, with the same rules.
+
+Raises [**BeforeEdit**](#beforeedit) with **FlexEditReasonCode**. Returns **True** when the box has been created. Returns **False** when an edit is already open, when the grid is disabled, or when [**BeforeEdit**](#beforeedit) set *Cancel*.
+
+```tb check_build check_run arch=win32,win64
+Form1.Show
+DoEvents
+On Error Resume Next
+With VBFlexGrid1
+    .StartEdit 9, 0
+    Debug.Print Err.Number          ' 381
+    Err.Clear
+    .StartEdit -2, 0
+    Debug.Print Err.Number          ' 380
+    Err.Clear
+    .Enabled = False
+    Debug.Print .StartEdit()        ' False
+    .Enabled = True
+    Debug.Print .StartEdit(0, 0)    ' True
+    Debug.Print .StartEdit()        ' False
+    .CancelEdit
+End With
+```
+
+## Events
+
+### AfterEdit
+{: .no_toc }
+
+Occurs when an edit has ended.
+
+Syntax: *object*\_**AfterEdit**( *Row* **As Long**, *Col* **As Long**, *Changed* **As Boolean** )
+
+*Row*, *Col*
+: The cell that was edited.
+
+*Changed*
+: **True** when the text was changed during the edit and kept, so that the cell received it. **False** otherwise, also after a discarded edit.
+
+The edit box is gone, [**EditRow**](#editrow) and [**EditCol**](#editcol) are -1, and [**EditCloseMode**](#editclosemode) holds the cause. The handler can start another edit.
+
+### BeforeEdit
+{: .no_toc }
+
+Occurs when an edit is about to start, whatever the cause.
+
+Syntax: *object*\_**BeforeEdit**( *Row* **As Long**, *Col* **As Long**, *Reason* **As FlexEditReasonConstants**, *Cancel* **As Boolean** )
+
+*Row*, *Col*
+: The cell. Both are passed by reference, and a handler can set them to another cell.
+
+*Reason*
+: A [**FlexEditReasonConstants**](../Enumerations/EditingAndComboBoxes#flexeditreasonconstants) value that says what started the edit.
+
+*Cancel*
+: Set to **True** to refuse the edit.
+
+### EditChange
+{: .no_toc }
+
+Occurs when the text in the box changes, by typing, pasting, or by code ([**EditText**](#edittext), [**EditSelText**](#editseltext)).
+
+Syntax: *object*\_**EditChange**( )
+
+### EditContextMenu
+{: .no_toc }
+
+Occurs when the user right-clicks the box, or presses **Shift+F10**.
+
+Syntax: *object*\_**EditContextMenu**( *Handled* **As Boolean**, *X* **As Single**, *Y* **As Single** )
+
+*Handled*
+: Set to **True** to suppress the context menu of the box, for example to show another.
+
+*X*, *Y*
+: The position of the click, in the units of the container. -1 and -1 when the key was used.
+
+### EditKeyDown
+{: .no_toc }
+
+Occurs when a key is pressed in the box.
+
+Syntax: *object*\_**EditKeyDown**( *KeyCode* **As Integer**, *Shift* **As Integer** )
+
+*KeyCode*
+: A key code, such as **vbKeyF4**. It is passed by reference: another value replaces the key, and 0 discards it.
+
+*Shift*
+: A bit mask of **vbShiftMask**, **vbCtrlMask** and **vbAltMask**.
+
+### EditKeyPress
+{: .no_toc }
+
+Occurs when a character key is pressed and released in the box.
+
+Syntax: *object*\_**EditKeyPress**( *KeyChar* **As Integer** )
+
+*KeyChar*
+: The character code. It is passed by reference: another value replaces the character, and 0 discards it, without a beep.
+
+### EditKeyUp
+{: .no_toc }
+
+Occurs when a key is released in the box.
+
+Syntax: *object*\_**EditKeyUp**( *KeyCode* **As Integer**, *Shift* **As Integer** )
+
+The arguments are those of [**EditKeyDown**](#editkeydown).
+
+### EditQueryClose
+{: .no_toc }
+
+Occurs when the edit is about to end, except when the box lost the focus.
+
+Syntax: *object*\_**EditQueryClose**( *CloseMode* **As FlexEditCloseModeConstants**, *Cancel* **As Boolean** )
+
+*CloseMode*
+: A [**FlexEditCloseModeConstants**](../Enumerations/EditingAndComboBoxes#flexeditclosemodeconstants) value, the cause of the end.
+
+*Cancel*
+: Set to **True** to keep the edit open. The text is neither stored nor discarded, and the key that caused the end (**Return**, **Tab**) is not passed on.
+
+### EditSetupStyle
+{: .no_toc }
+
+Occurs before the edit box is created.
+
+Syntax: *object*\_**EditSetupStyle**( *dwStyle* **As Long**, *dwExStyle* **As Long** )
+
+*dwStyle*, *dwExStyle*
+: The window style and the extended window style of the box, which a handler can change. They start with the alignment of the cell, **ES_MULTILINE** when [**WordWrap**](Text#wordwrap) is on or [**SingleLine**](Text#singleline) is off (else **ES_AUTOHSCROLL**), and the right-to-left styles. Afterwards the grid removes the border and edge styles, and sets **ES_READONLY** for a cell with a drop-down [combo mode](ComboEditing), or clears it for an editable one.
+
+### EditSetupWindow
+{: .no_toc }
+
+Occurs after the edit box has been created and before it is shown.
+
+Syntax: *object*\_**EditSetupWindow**( *BackColor* **As OLE_COLOR**, *ForeColor* **As OLE_COLOR** )
+
+*BackColor*, *ForeColor*
+: The colours of the box, taken from the cell. A handler can change them.
+
+The box already holds the text of the cell, so that [**EditText**](#edittext), [**EditSelStart**](#editselstart), [**hWndEdit**](#hwndedit) and the combo properties can be used here.
+
+### EnterEdit
+{: .no_toc }
+
+Occurs when the edit box has been shown.
+
+Syntax: *object*\_**EnterEdit**( )
+
+### LeaveEdit
+{: .no_toc }
+
+Occurs when the edit is ending, after the text was written to the cell and before the box is destroyed.
+
+Syntax: *object*\_**LeaveEdit**( )
+
+[**EditCloseMode**](#editclosemode) already holds the cause.
+
+### ValidateEdit
+{: .no_toc }
+
+Occurs when an edit that changed the text is about to be kept, before the cell receives the text.
+
+Syntax: *object*\_**ValidateEdit**( *Cancel* **As Boolean** )
+
+*Cancel*
+: Set to **True** to refuse the text. The edit stays open, and the user can correct the text, which is [**EditText**](#edittext).
+
+## See Also
+
+- [Drop-Down Lists, Buttons and Calendars](ComboEditing) -- the combo modes of the edit box
+- [Check Boxes](CheckBoxes) -- check boxes in cells, which need no edit
+- [Current Cell and Selection](Selection) -- **DirectionAfterReturn** and **TabBehavior**
+- [FlexEditReasonConstants](../Enumerations/EditingAndComboBoxes#flexeditreasonconstants) enumeration
+- [FlexEditCloseModeConstants](../Enumerations/EditingAndComboBoxes#flexeditclosemodeconstants) enumeration
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_GridLines.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_GridLines.png
new file mode 100644
index 000000000..950aac103
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_GridLines.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_TextStyles.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_TextStyles.png
new file mode 100644
index 000000000..67b76eebd
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_TextStyles.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_WallPaper.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_WallPaper.png
new file mode 100644
index 000000000..14c8291bb
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Appearance_WallPaper.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/CellFormatting_Cells.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/CellFormatting_Cells.png
new file mode 100644
index 000000000..ad8835cff
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/CellFormatting_Cells.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/CheckBoxes_States.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/CheckBoxes_States.png
new file mode 100644
index 000000000..2860fb33a
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/CheckBoxes_States.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_Calendar.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_Calendar.png
new file mode 100644
index 000000000..cd9c0714d
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_Calendar.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_Cues.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_Cues.png
new file mode 100644
index 000000000..0d48430f8
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_Cues.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_DropDown.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_DropDown.png
new file mode 100644
index 000000000..1304fc3ed
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/ComboEditing_DropDown.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Editing_EditBox.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Editing_EditBox.png
new file mode 100644
index 000000000..334d32848
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Editing_EditBox.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Merging_Free.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Merging_Free.png
new file mode 100644
index 000000000..78bc73894
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Merging_Free.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/MouseAndKeyboard_InsertMarks.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/MouseAndKeyboard_InsertMarks.png
new file mode 100644
index 000000000..c5269cb31
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/MouseAndKeyboard_InsertMarks.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Overview.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Overview.png
new file mode 100644
index 000000000..12c4b4813
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Overview.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Selection_Modes.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Selection_Modes.png
new file mode 100644
index 000000000..884ad614a
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Selection_Modes.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Sorting_Arrows.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Sorting_Arrows.png
new file mode 100644
index 000000000..67c579df6
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Sorting_Arrows.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Structure_Zones.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Structure_Zones.png
new file mode 100644
index 000000000..5cf839685
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Structure_Zones.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Text_Wrapping.png b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Text_Wrapping.png
new file mode 100644
index 000000000..ba08b6aab
Binary files /dev/null and b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Images/Text_Wrapping.png differ
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Merging.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Merging.md
new file mode 100644
index 000000000..7995d777a
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Merging.md
@@ -0,0 +1,283 @@
+---
+title: Merging Cells
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Merging
+has_toc: false
+---
+
+# Merging Cells
+{: .no_toc }
+
+Showing neighbouring cells that hold the same text as one larger cell.
+
+Merging changes only how the grid draws and selects cells. Every cell keeps its own text, and [**TextMatrix**](Text#textmatrix) reads and writes the cells one by one as before. Two cells next to each other merge when all of the following hold.
+
+- [**MergeCells**](#mergecells) is not **FlexMergeCellsNever**, which is the default.
+- They hold the same text. A cell with no text never merges, and the comparison is case-sensitive.
+- For two cells in the same row, the row has [**MergeRow**](#mergerow) **True**. For two cells in the same column, the column has [**MergeCol**](#mergecol) **True**.
+
+The cells that merge form a *merged range*, a rectangle of cells that the grid draws as one cell. [**GetMergedRange**](#getmergedrange) returns the range that a cell belongs to.
+
+![A grid with two fixed rows and free merging. In the header, Sales spans the Q1 and Q2 columns below it, and Region spans both header rows. In the Region column, East covers the two rows below it and West the next two, while North, which has one row, stays a single cell.](Images/Merging_Free.png){:width="336" height="189"}
+
+```tb check_build check_run arch=win32,win64
+VBFlexGrid1.FixedRows = 1
+VBFlexGrid1.FixedCols = 0
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.TextMatrix(0, 0) = "Sales"
+VBFlexGrid1.TextMatrix(0, 1) = "Sales"
+VBFlexGrid1.TextMatrix(0, 2) = "Costs"
+VBFlexGrid1.TextMatrix(1, 0) = "East"
+VBFlexGrid1.TextMatrix(2, 0) = "East"
+VBFlexGrid1.TextMatrix(3, 0) = "West"
+VBFlexGrid1.MergeCells = FlexMergeCellsFree
+VBFlexGrid1.MergeRow(0) = True    ' the header row merges across
+VBFlexGrid1.MergeCol(0) = True    ' column 0 merges down
+
+Dim r1 As Long, c1 As Long, r2 As Long, c2 As Long
+VBFlexGrid1.GetMergedRange 0, 1, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 0,0 to 0,1
+VBFlexGrid1.GetMergedRange 2, 0, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 1,0 to 2,0
+VBFlexGrid1.GetMergedRange 3, 0, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 3,0 to 3,0
+```
+
+* TOC
+{:toc}
+
+## The modes of MergeCells
+
+**MergeCells** says whether cells merge freely or only where the cells beside them merge as well. The second way groups the cells in a hierarchy, as an outline does. With two columns, *Country* and *City*, a row of *Paris* in France should not merge with a row of *Paris* in another country, and restricted merging prevents that.
+
+
+**FlexMergeCellsFree**
+: Cells of a row with **MergeRow** merge with equal neighbours in the row, and cells of a column with **MergeCol** merge with equal neighbours in the column, whatever the cells beside them hold.
+
+**FlexMergeCellsRestrictRows**
+: Rows merge freely. Two cells of a column merge only if the cells to the left of them are equal too. The first column is never restricted, and neither is the first column after the fixed columns: a scrollable cell is not compared with the fixed cells beside it.
+
+**FlexMergeCellsRestrictColumns**
+: Columns merge freely. Two cells of a row merge only if the cells above them are equal too. The first row is never restricted, and neither is the first row after the fixed rows: a scrollable cell is not compared with the fixed cells above it.
+
+**FlexMergeCellsRestrictAll**
+: Both restrictions apply.
+
+**FlexMergeCellsFixedOnly**
+: Only the fixed cells merge, freely. The scrollable cells never merge.
+
+
+
+The following sample shows the merged range of one cell in each mode. The first column holds *A*, *A*, *B*, *B* and the second column *x*, *y*, *y*, *y*; both columns have **MergeCol**. The three *y* cells merge in the first and third modes. In the second and fourth the *y* of row 1 stays alone, because the cells to its left, *A* and *B*, differ. The last mode merges nothing, since the grid has no fixed rows or columns.
+
+```tb check_build check_run
+VBFlexGrid1.FixedRows = 0
+VBFlexGrid1.FixedCols = 0
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 2
+VBFlexGrid1.TextMatrix(0, 0) = "A": VBFlexGrid1.TextMatrix(0, 1) = "x"
+VBFlexGrid1.TextMatrix(1, 0) = "A": VBFlexGrid1.TextMatrix(1, 1) = "y"
+VBFlexGrid1.TextMatrix(2, 0) = "B": VBFlexGrid1.TextMatrix(2, 1) = "y"
+VBFlexGrid1.TextMatrix(3, 0) = "B": VBFlexGrid1.TextMatrix(3, 1) = "y"
+VBFlexGrid1.MergeCol(0) = True
+VBFlexGrid1.MergeCol(1) = True
+
+Dim mode As Variant, r1 As Long, c1 As Long, r2 As Long, c2 As Long, s As String
+For Each mode In Array(FlexMergeCellsFree, FlexMergeCellsRestrictRows, FlexMergeCellsRestrictColumns, FlexMergeCellsRestrictAll, FlexMergeCellsFixedOnly)
+    VBFlexGrid1.MergeCells = mode
+    VBFlexGrid1.GetMergedRange 2, 1, r1, c1, r2, c2
+    s = s & mode & ":" & r1 & "-" & r2 & " "
+Next mode
+Debug.Print s ' 1:1-3 2:2-3 3:1-3 4:2-3 5:2-2
+```
+
+The modes decide the merging along a row in the same way, with the roles of row and column exchanged. Below a row of three different texts, a row *x x x* merges in the first two modes, and in the third and fourth it does not, since the cells above it differ.
+
+```tb check_build check_run
+VBFlexGrid1.FixedRows = 0
+VBFlexGrid1.FixedCols = 0
+VBFlexGrid1.Rows = 2
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.TextMatrix(0, 0) = "a": VBFlexGrid1.TextMatrix(0, 1) = "b": VBFlexGrid1.TextMatrix(0, 2) = "c"
+VBFlexGrid1.TextMatrix(1, 0) = "x": VBFlexGrid1.TextMatrix(1, 1) = "x": VBFlexGrid1.TextMatrix(1, 2) = "x"
+VBFlexGrid1.MergeRow(1) = True
+
+Dim mode As Variant, r1 As Long, c1 As Long, r2 As Long, c2 As Long, s As String
+For Each mode In Array(FlexMergeCellsFree, FlexMergeCellsRestrictRows, FlexMergeCellsRestrictColumns, FlexMergeCellsRestrictAll)
+    VBFlexGrid1.MergeCells = mode
+    VBFlexGrid1.GetMergedRange 1, 1, r1, c1, r2, c2
+    s = s & mode & ":" & c1 & "-" & c2 & " "
+Next mode
+Debug.Print s ' 1:0-2 2:0-2 3:1-1 4:1-1
+```
+
+## Fixed rows and columns
+
+A cell of a fixed row or a fixed column merges along its whole row or column. The merging of a fixed header row can therefore span the scrollable columns too, and the merging of a fixed column runs through the fixed rows. A scrollable cell merges only with other scrollable cells, so that a header cell never joins the data below it. The fixed cells follow the modes like the others, and **FlexMergeCellsFixedOnly** merges them and nothing else. The **MergeRow** and **MergeCol** flags are needed for them as well.
+
+```tb check_build check_run
+VBFlexGrid1.FixedRows = 1
+VBFlexGrid1.FixedCols = 1
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 3
+Dim i As Long
+For i = 0 To 3
+    VBFlexGrid1.TextMatrix(i, 0) = "g"   ' the fixed column and its header
+    VBFlexGrid1.TextMatrix(i, 1) = "g"
+Next i
+VBFlexGrid1.MergeCells = FlexMergeCellsFree
+VBFlexGrid1.MergeCol(0) = True
+VBFlexGrid1.MergeCol(1) = True
+
+Dim r1 As Long, c1 As Long, r2 As Long, c2 As Long
+VBFlexGrid1.GetMergedRange 2, 0, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 0,0 to 3,0
+VBFlexGrid1.GetMergedRange 2, 1, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 1,1 to 3,1
+```
+
+
+> [!WARNING] 1.8.69.0
+> With **FlexMergeCellsRestrictColumns** or **FlexMergeCellsRestrictAll**, merging along a fixed row, or along a row of a fixed column, compares with the row above the *current* row ([**Row**](Selection#row)) and not with the row above the cell's own row. When the current row is 0 the restriction is skipped, so that cells merge that the mode should keep apart. When the current row is greater than 0, a cell of row 0 whose neighbour holds the same text makes **GetMergedRange** raise run-time error 9, *Subscript out of range*. Use **FlexMergeCellsFree** or **FlexMergeCellsRestrictRows** for such a row.
+
+## The shape of a range
+
+When a cell merges in its row and in its column, the range is the smallest rectangle that holds both runs. It can include cells with other text. In the next sample the cell at the lower right holds *m*, and it is inside the range of the cell at the upper left.
+
+```tb check_build check_run
+VBFlexGrid1.FixedRows = 0
+VBFlexGrid1.FixedCols = 0
+VBFlexGrid1.Rows = 2
+VBFlexGrid1.Cols = 2
+VBFlexGrid1.TextMatrix(0, 0) = "k": VBFlexGrid1.TextMatrix(0, 1) = "k"
+VBFlexGrid1.TextMatrix(1, 0) = "k": VBFlexGrid1.TextMatrix(1, 1) = "m"
+VBFlexGrid1.MergeCells = FlexMergeCellsFree
+Dim i As Long
+For i = 0 To 1
+    VBFlexGrid1.MergeRow(i) = True
+    VBFlexGrid1.MergeCol(i) = True
+Next i
+
+Dim r1 As Long, c1 As Long, r2 As Long, c2 As Long
+VBFlexGrid1.GetMergedRange 0, 0, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 0,0 to 1,1
+```
+
+A range that extends over several rows is not extended over several columns through a row that has **MergeRow** **False**: **MergeCol** takes precedence over **MergeRow**.
+
+```tb check_build check_run
+VBFlexGrid1.FixedRows = 0
+VBFlexGrid1.FixedCols = 0
+VBFlexGrid1.Rows = 3
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.TextMatrix(0, 0) = "z": VBFlexGrid1.TextMatrix(0, 1) = "z"
+VBFlexGrid1.TextMatrix(1, 0) = "z": VBFlexGrid1.TextMatrix(1, 1) = "z"
+VBFlexGrid1.MergeCells = FlexMergeCellsFree
+VBFlexGrid1.MergeRow(0) = True    ' row 1 has no MergeRow
+VBFlexGrid1.MergeCol(0) = True
+VBFlexGrid1.MergeCol(1) = True
+
+Dim r1 As Long, c1 As Long, r2 As Long, c2 As Long
+VBFlexGrid1.GetMergedRange 0, 0, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 0,0 to 1,0
+VBFlexGrid1.GetMergedRange 1, 1, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 0,1 to 1,1
+```
+
+
+> [!WARNING] 1.8.69.0
+> In that situation **GetMergedRange** gives the cell in row 0 and column 1 the range 0,0 to 1,0, which does not contain it, while the cell below it gets 0,1 to 1,1. To avoid it, give **MergeRow** **True** to every row that has cells of a merged column, or to none.
+
+The text of the cells that merge is compared exactly, so that *k* and *K* do not merge.
+
+```tb check_build check_run
+VBFlexGrid1.FixedRows = 0
+VBFlexGrid1.FixedCols = 0
+VBFlexGrid1.Cols = 2
+VBFlexGrid1.TextMatrix(0, 0) = "k": VBFlexGrid1.TextMatrix(0, 1) = "K"
+VBFlexGrid1.TextMatrix(1, 0) = "k": VBFlexGrid1.TextMatrix(1, 1) = "k"
+VBFlexGrid1.MergeCells = FlexMergeCellsFree
+VBFlexGrid1.MergeRow(0) = True
+VBFlexGrid1.MergeRow(1) = True
+Dim r1 As Long, c1 As Long, r2 As Long, c2 As Long
+VBFlexGrid1.GetMergedRange 0, 0, r1, c1, r2, c2
+Debug.Print c1 & " to " & c2   ' 0 to 0
+VBFlexGrid1.GetMergedRange 1, 0, r1, c1, r2, c2
+Debug.Print c1 & " to " & c2   ' 0 to 1
+```
+
+For drawing, a merged range is one cell. Give the formatting to every cell of the range, for example with [**Cell**](Text#cell) and its *RowSel* and *ColSel* parameters. The grid draws the range with the formatting of its first cell, except that the current cell's formatting is used while the current cell is inside the range.
+
+## Properties
+
+### MergeCells
+{: .no_toc }
+
+Whether and how cells with the same text are merged.
+
+Syntax: *object*.**MergeCells** [ = *value* ]
+
+A [**FlexMergeCellsConstants**](../Enumerations/CellsAndAppearance#flexmergecellsconstants) member. Default: **FlexMergeCellsNever**. Raises 380 for another value. Changing it redraws the grid and changes no text.
+
+### MergeCol
+{: .no_toc }
+
+Whether the cells of a column merge with the equal cells above and below them.
+
+Syntax: *object*.**MergeCol**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. Unlike most column properties, -1 is not accepted: set each column.
+
+A **Boolean**. Default: **False**. It has an effect only while [**MergeCells**](#mergecells) is not **FlexMergeCellsNever**. Raises 30010 when *Index* is not a column.
+
+### MergeRow
+{: .no_toc }
+
+Whether the cells of a row merge with the equal cells to their left and right.
+
+Syntax: *object*.**MergeRow**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The row, as a **Long**. -1 is not accepted: set each row.
+
+A **Boolean**. Default: **False**. It has an effect only while [**MergeCells**](#mergecells) is not **FlexMergeCellsNever**. Raises 30009 when *Index* is not a row.
+
+## Methods
+
+### GetMergedRange
+{: .no_toc }
+
+Returns the range of merged cells that includes a cell.
+
+Syntax: *object*.**GetMergedRange** *Row*, *Col*, *Row1*, *Col1*, *Row2*, *Col2*
+
+*Row*, *Col*
+: *required* The cell, as **Long** values counted from 0.
+
+*Row1*, *Col1*
+: *required* **ByRef** **Long**. Receive the row and column of the top-left cell of the range.
+
+*Row2*, *Col2*
+: *required* **ByRef** **Long**. Receive the row and column of the bottom-right cell of the range.
+
+For a cell that is not merged, the range is the cell itself. Raises 381 when *Row* or *Col* is outside the grid.
+
+```tb check_build check_run
+VBFlexGrid1.Rows = 3
+VBFlexGrid1.Cols = 3
+Dim r1 As Long, c1 As Long, r2 As Long, c2 As Long
+VBFlexGrid1.GetMergedRange 2, 1, r1, c1, r2, c2
+Debug.Print r1 & "," & c1 & " to " & r2 & "," & c2   ' 2,1 to 2,1
+On Error Resume Next
+VBFlexGrid1.GetMergedRange 9, 9, r1, c1, r2, c2
+Debug.Print Err.Number                                ' 381
+```
+
+## See Also
+
+- [Cell Text](Text) -- the text that decides what merges
+- [Current Cell and Selection](Selection) -- selecting a merged range
+- [**FlexMergeCellsConstants**](../Enumerations/CellsAndAppearance#flexmergecellsconstants)
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/MouseAndKeyboard.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/MouseAndKeyboard.md
new file mode 100644
index 000000000..7f96ae5ec
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/MouseAndKeyboard.md
@@ -0,0 +1,985 @@
+---
+title: Mouse, Keyboard and Drag and Drop
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/MouseAndKeyboard
+---
+
+# Mouse, Keyboard and Drag and Drop
+
+Finding what lies under a point, the mouse and keyboard events, the mouse pointer, and the members that let the grid act as the source or the target of a drag and drop.
+
+The grid divides what is under the mouse into cells, dividers between rows or columns, check boxes and drop-down buttons. [**HitTest**](#hittest) takes a point and stores the answer in five read-only properties, [**HitRow**](#hitrow), [**HitCol**](#hitcol), [**HitResult**](#hitresult), [**HitRowDivider**](#hitrowdivider) and [**HitColDivider**](#hitcoldivider). [**MouseRow**](#mouserow) and [**MouseCol**](#mousecol) give the row and column at the current position of the mouse pointer, without a point to pass. The click events report the cell, so a handler seldom needs either.
+
+Dragging comes in three forms. The grid can be the source or the target of an OLE drag and drop, which carries data between controls and between programs; it can accept files dropped from the shell; and it can draw the two marks that show where a drop will land, the insert mark and the drop highlight. The drag members that every control has, [**Drag**](.#drag), [**DragIcon**](.#dragicon) and [**DragMode**](.#dragmode), are on the control's own page.
+
+* TOC
+{:toc}
+
+## Hit testing
+
+[**HitTest**](#hittest) takes a point in the unit of the container, which is twips on a form with the default scale. The point is measured from the top-left corner of the grid, so it is the *X* and *Y* that a mouse event or a cell position gives. [**HitResult**](#hitresult) says what is there:
+
+| [**HitResult**](../Enumerations/SelectionAndInput#flexhitresultconstants) | What is at the point | [**HitRow**](#hitrow), [**HitCol**](#hitcol) | [**HitRowDivider**](#hitrowdivider), [**HitColDivider**](#hitcoldivider) |
+|---|---|---|---|
+| **FlexHitResultNoWhere** | Nothing: the point is outside the cells, for instance beyond the last row or column, or above or to the left of the grid. | -1 | -1 |
+| **FlexHitResultCell** | A cell, a fixed one too. | The cell. | -1 |
+| **FlexHitResultCheckBox**, **FlexHitResultCheckBoxDisabled** | The check box of a cell. | The cell. | -1 |
+| **FlexHitResultComboCue**, **FlexHitResultComboCueDisabled** | The drop-down button or the button of a cell. | The cell. | -1 |
+| **FlexHitResultDividerRowTop**, **FlexHitResultDividerRowBottom** | The edge between two rows in a fixed column, when [**AllowUserResizing**](Sizing#allowuserresizing) allows rows to be resized. The row to be resized is **HitRowDivider**: the divider is its bottom edge. | The cell the point is in. | The row, or -1. |
+| **FlexHitResultDividerColumnLeft**, **FlexHitResultDividerColumnRight** | The edge between two columns in a fixed row, when columns can be resized. The column to be resized is **HitColDivider**. | The cell the point is in. | The column, or -1. |
+| **FlexHitResultDividerFrozenRowTop**, **FlexHitResultDividerFrozenRowBottom**, **FlexHitResultDividerFrozenColumnLeft**, **FlexHitResultDividerFrozenColumnRight** | The place where the user can drag to freeze or unfreeze rows or columns, when [**AllowUserFreezing**](Structure#allowuserfreezing) allows it. | The cell the point is in. | The row or column. |
+
+A check box or a drop-down button exists only for a cell that has one: see [**CellChecked**](CheckBoxes#cellchecked) and [**AlwaysAllowComboCues**](ComboEditing#alwaysallowcombocues). The five properties keep what the last call of **HitTest** found; the grid also calls the same test for its own events, but does not store those results. Before the first call, **HitRow**, **HitCol**, **HitRowDivider** and **HitColDivider** are -1 and **HitResult** is **FlexHitResultNoWhere**.
+
+```tb check_build check_run slot=sub id=mouse-hittest arch=win32,win64
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 8: g.Cols = 6
+
+Debug.Print "before any test: " & g.HitRow & "," & g.HitCol & " result " & g.HitResult
+
+g.HitTest g.ColPos(2) + 20, g.RowPos(3) + 20          ' inside a cell
+Debug.Print "cell: " & g.HitRow & "," & g.HitCol & " result " & g.HitResult
+
+g.HitTest g.ColPos(2) + 20, 5                          ' in the fixed row
+Debug.Print "heading: " & g.HitRow & "," & g.HitCol & " result " & g.HitResult
+
+g.HitTest 5, g.RowPos(3) + 20                          ' in the fixed column
+Debug.Print "row heading: " & g.HitRow & "," & g.HitCol & " result " & g.HitResult
+
+g.HitTest 30000, 30000                                 ' far outside
+Debug.Print "outside: " & g.HitRow & "," & g.HitCol & " result " & g.HitResult
+' Output:
+' before any test: -1,-1 result 0
+' cell: 3,2 result 1
+' heading: 0,2 result 1
+' row heading: 3,0 result 1
+' outside: -1,-1 result 0
+```
+
+A divider is found only when resizing is allowed, and only within a few pixels of the edge:
+
+```tb check_build check_run slot=sub id=mouse-hittest-dividers
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 8: g.Cols = 6
+Dim OnePixel As Long
+OnePixel = Screen.TwipsPerPixelX
+
+g.HitTest g.ColPos(3) - OnePixel, 100                  ' just left of column 3 in the heading
+Debug.Print "no resizing: result " & g.HitResult
+
+g.AllowUserResizing = FlexAllowUserResizingBoth
+g.HitTest g.ColPos(3) - OnePixel, 100
+Debug.Print "right edge of column 2: result " & g.HitResult & ", divider " & g.HitColDivider & "," & g.HitRowDivider
+g.HitTest g.ColPos(3) + OnePixel, 100
+Debug.Print "left edge of column 3: result " & g.HitResult & ", divider " & g.HitColDivider & "," & g.HitRowDivider
+' Output:
+' no resizing: result 1
+' right edge of column 2: result 5, divider 2,-1
+' left edge of column 3: result 4, divider 2,-1
+```
+
+[**MouseRow**](#mouserow) and [**MouseCol**](#mousecol) do not say whether the pointer is over a cell: they give the row and column whose area the pointer's position falls in, and the last row or column when the pointer is beyond the grid's cells. When the pointer is above the grid **MouseRow** is 0, and when it is to the left **MouseCol** is 0.
+
+## The mouse events
+
+A click raises the events in this order:
+
+| # | Event | Notes |
+|---|---|---|
+| 1 | [**BeforeMouseDown**](#beforemousedown) | For every button. Set *Cancel* to stop the grid from handling the press. |
+| 2 | The events of a change of the current cell and the selection | See [Current Cell and Selection](Selection#the-order-of-the-events). Only for the left button, and not when **BeforeMouseDown** was cancelled. |
+| 3 | [**MouseDown**](#mousedown) | |
+| 4 | [**CellClick**](#cellclick) | On release, when the button is released over the cell it was pressed in, and the point is a cell. |
+| 5 | [**MouseUp**](#mouseup) | |
+| 6 | [**Click**](#click) | On release, when the pointer is still over the grid. |
+
+When **BeforeMouseDown** is cancelled, the grid raises none of the events 2, 3, 4 and 6, but **MouseUp** still follows. A double click raises [**DblClick**](#dblclick), and [**CellDblClick**](#celldblclick) when it is on a cell, after the **Click** of its first press. A click on a heading selects its column or row ([**AllowBigSelection**](Selection#allowbigselection)) and still raises **CellClick** for the fixed cell.
+
+The class below prints each of them. A program can also send the mouse and key messages that Windows sends to a window, which makes it possible to run a sample without a mouse:
+
+```tb check_build projname=mouse-trace slot=file
+Class MouseTrace
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+
+    Public CancelMouseDown As Boolean
+    Public SwallowKeys As Boolean
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    Private Sub Grid_BeforeMouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single, Cancel As Boolean)
+        Debug.Print "BeforeMouseDown " & Button
+        Cancel = CancelMouseDown
+    End Sub
+
+    Private Sub Grid_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
+        Debug.Print "MouseDown " & Button & " (current row " & Grid.Row & ")"
+    End Sub
+
+    Private Sub Grid_CellClick(ByVal Row As Long, ByVal Col As Long, ByVal Button As Integer)
+        Debug.Print "CellClick " & Row & "," & Col
+    End Sub
+
+    Private Sub Grid_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
+        Debug.Print "MouseUp " & Button
+    End Sub
+
+    Private Sub Grid_Click()
+        Debug.Print "Click"
+    End Sub
+
+    Private Sub Grid_RowColChange()
+        Debug.Print "RowColChange " & Grid.Row & "," & Grid.Col
+    End Sub
+
+    Private Sub Grid_MouseEnter()
+        Debug.Print "MouseEnter"
+    End Sub
+
+    Private Sub Grid_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
+        Debug.Print "MouseMove"
+    End Sub
+
+    Private Sub Grid_MouseLeave()
+        Debug.Print "MouseLeave"
+    End Sub
+
+    Private Sub Grid_ContextMenu(ByVal X As Single, ByVal Y As Single)
+        Debug.Print "ContextMenu " & X & "," & Y
+    End Sub
+
+    Private Sub Grid_KeyDown(KeyCode As Integer, Shift As Integer)
+        Debug.Print "KeyDown " & KeyCode
+        If SwallowKeys Then KeyCode = 0
+    End Sub
+
+    Private Sub Grid_KeyPress(KeyChar As Integer)
+        Debug.Print "KeyPress " & KeyChar
+        If SwallowKeys Then KeyChar = 0
+    End Sub
+
+    Private Sub Grid_KeyUp(KeyCode As Integer, Shift As Integer)
+        Debug.Print "KeyUp " & KeyCode
+    End Sub
+End Class
+```
+
+```tb check_build projname=mouse-trace slot=file
+Module MouseInput
+    Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
+
+    Private Const WM_KEYDOWN As Long = &H100
+    Private Const WM_KEYUP As Long = &H101
+    Private Const WM_CHAR As Long = &H102
+    Private Const WM_MOUSEMOVE As Long = &H200
+    Private Const WM_LBUTTONDOWN As Long = &H201
+    Private Const WM_LBUTTONUP As Long = &H202
+    Private Const WM_MOUSELEAVE As Long = &H2A3
+    Private Const WM_CONTEXTMENU As Long = &H7B
+
+    ' Press and release the left button in the middle of a cell.
+    Public Sub ClickCell(ByVal G As VBFLXGRD18.VBFlexGrid, ByVal Row As Long, ByVal Col As Long)
+        Dim X As Long, Y As Long, lParam As LongPtr
+        X = (G.ColPos(Col) + G.ColWidth(Col) \ 2) \ Screen.TwipsPerPixelX
+        Y = (G.RowPos(Row) + G.RowHeight(Row) \ 2) \ Screen.TwipsPerPixelY
+        lParam = (CLngPtr(Y) * &H10000) Or CLngPtr(X)
+        SendMessageW G.hWnd, WM_LBUTTONDOWN, 1, lParam
+        SendMessageW G.hWnd, WM_LBUTTONUP, 0, lParam
+    End Sub
+
+    Public Sub MoveMouse(ByVal G As VBFLXGRD18.VBFlexGrid)
+        SendMessageW G.hWnd, WM_MOUSEMOVE, 0, 0
+    End Sub
+
+    Public Sub LeaveMouse(ByVal G As VBFLXGRD18.VBFlexGrid)
+        SendMessageW G.hWnd, WM_MOUSELEAVE, 0, 0
+    End Sub
+
+    ' The menu key or Shift+F10: the position is -1,-1.
+    Public Sub ContextMenuKey(ByVal G As VBFLXGRD18.VBFlexGrid)
+        SendMessageW G.hWndUserControl, WM_CONTEXTMENU, G.hWnd, -1
+    End Sub
+
+    Public Sub PressKey(ByVal G As VBFLXGRD18.VBFlexGrid, ByVal KeyCode As Long)
+        SendMessageW G.hWnd, WM_KEYDOWN, KeyCode, 0
+        SendMessageW G.hWnd, WM_KEYUP, KeyCode, 0
+    End Sub
+
+    Public Sub TypeChar(ByVal G As VBFLXGRD18.VBFlexGrid, ByVal Ch As Long)
+        SendMessageW G.hWnd, WM_KEYDOWN, Ch, 0
+        SendMessageW G.hWnd, WM_CHAR, Ch, 0
+        SendMessageW G.hWnd, WM_KEYUP, Ch, 0
+    End Sub
+End Module
+```
+
+```tb check_build check_run projname=mouse-trace slot=sub id=mouse-click
+VBFlexGrid1.Rows = 6: VBFlexGrid1.Cols = 5
+Dim t As New MouseTrace
+t.Attach VBFlexGrid1
+
+Debug.Print "-- click on cell 3,2"
+ClickCell VBFlexGrid1, 3, 2
+Debug.Print "-- click on the same cell"
+ClickCell VBFlexGrid1, 3, 2
+Debug.Print "-- click on the heading of column 2"
+ClickCell VBFlexGrid1, 0, 2
+Debug.Print "range now " & VBFlexGrid1.RowSel & "," & VBFlexGrid1.ColSel
+Debug.Print "-- click on cell 4,4, cancelled"
+t.CancelMouseDown = True
+ClickCell VBFlexGrid1, 4, 4
+Debug.Print "current cell " & VBFlexGrid1.Row & "," & VBFlexGrid1.Col
+' Output:
+' -- click on cell 3,2
+' BeforeMouseDown 1
+' RowColChange 3,2
+' MouseDown 1 (current row 3)
+' CellClick 3,2
+' MouseUp 1
+' Click
+' -- click on the same cell
+' BeforeMouseDown 1
+' MouseDown 1 (current row 3)
+' CellClick 3,2
+' MouseUp 1
+' Click
+' -- click on the heading of column 2
+' BeforeMouseDown 1
+' RowColChange 1,2
+' MouseDown 1 (current row 1)
+' CellClick 0,2
+' MouseUp 1
+' Click
+' range now 5,2
+' -- click on cell 4,4, cancelled
+' BeforeMouseDown 1
+' MouseUp 1
+' current cell 1,2
+```
+
+The mouse events report the position in twips, measured from the top-left corner of the grid: *X* and *Y* of **BeforeMouseDown**, **MouseDown**, **MouseMove** and **MouseUp**. **ContextMenu** and the drag and drop events give it in the unit of the container, as **HitTest** takes it. [**MouseTrack**](#mousetrack) switches on **MouseEnter** and **MouseLeave**:
+
+```tb check_build check_run projname=mouse-trace slot=sub id=mouse-track
+Dim t As New MouseTrace
+t.Attach VBFlexGrid1
+
+Debug.Print "-- MouseTrack = False"
+MoveMouse VBFlexGrid1
+LeaveMouse VBFlexGrid1
+VBFlexGrid1.MouseTrack = True
+Debug.Print "-- MouseTrack = True"
+MoveMouse VBFlexGrid1
+MoveMouse VBFlexGrid1
+LeaveMouse VBFlexGrid1
+Debug.Print "-- the menu key"
+ContextMenuKey VBFlexGrid1
+' Output:
+' -- MouseTrack = False
+' MouseMove
+' -- MouseTrack = True
+' MouseEnter
+' MouseMove
+' MouseMove
+' MouseLeave
+' -- the menu key
+' ContextMenu -1,-1
+```
+
+## The keyboard events
+
+The key events carry a key code, as for every control: **KeyDown** and **KeyUp** for each key, and **KeyPress** between them for a key that produces a character. **KeyDown** is raised before the grid acts on the key, so a handler can stop the grid by setting *KeyCode* to 0; **KeyPress** works the same way with *KeyChar*. [**PreviewKeyDown**](#previewkeydown) and [**PreviewKeyUp**](#previewkeyup) come earlier still, before Windows hands the key to the form, and decide whether the grid gets keys that a form would otherwise use, such as Enter for a default button or Esc for a cancel button. The key codes are the [**KeyCodeConstants**](../../../VBRUN/Constants/KeyCodeConstants), and *Shift* is made of the [**ShiftConstants**](../../../VBRUN/Constants/ShiftConstants).
+
+```tb check_build check_run projname=mouse-trace slot=sub id=mouse-keys
+VBFlexGrid1.Rows = 6: VBFlexGrid1.Cols = 5
+VBFlexGrid1.Row = 1: VBFlexGrid1.Col = 1
+Dim t As New MouseTrace
+t.Attach VBFlexGrid1
+
+Debug.Print "-- Down"
+PressKey VBFlexGrid1, vbKeyDown
+Debug.Print "-- the letter A"
+TypeChar VBFlexGrid1, 65
+Debug.Print "-- Down, swallowed by KeyDown"
+t.SwallowKeys = True
+PressKey VBFlexGrid1, vbKeyDown
+Debug.Print "current cell " & VBFlexGrid1.Row & "," & VBFlexGrid1.Col
+' Output:
+' -- Down
+' KeyDown 40
+' RowColChange 2,1
+' KeyUp 40
+' -- the letter A
+' KeyDown 65
+' KeyPress 65
+' KeyUp 65
+' -- Down, swallowed by KeyDown
+' KeyDown 40
+' KeyUp 40
+' current cell 2,1
+```
+
+The properties that decide where Tab, Enter and the arrow keys take the current cell are on the [Current Cell and Selection](Selection#keyboard-navigation) page. This sample shows them:
+
+```tb check_build check_run projname=mouse-trace slot=sub id=mouse-navigation
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 4: g.Cols = 4
+g.Row = 1: g.Col = 1
+
+PressKey g, vbKeyTab
+Debug.Print "Tab, TabBehavior = FlexTabControls: " & g.Row & "," & g.Col
+
+g.TabBehavior = FlexTabCells
+PressKey g, vbKeyTab
+Debug.Print "Tab, FlexTabCells: " & g.Row & "," & g.Col
+PressKey g, vbKeyTab
+PressKey g, vbKeyTab
+Debug.Print "Tab twice more, at the last column: " & g.Row & "," & g.Col
+
+g.WrapCellBehavior = FlexWrapRow
+g.Row = 1: g.Col = 3
+PressKey g, vbKeyTab
+Debug.Print "Tab, FlexWrapRow: " & g.Row & "," & g.Col
+
+g.WrapCellBehavior = FlexWrapGrid
+g.Row = 3: g.Col = 3
+PressKey g, vbKeyTab
+Debug.Print "Tab at the last cell, FlexWrapGrid: " & g.Row & "," & g.Col
+
+g.WrapCellBehavior = FlexWrapNone
+g.Row = 1: g.Col = 1
+PressKey g, vbKeyReturn
+Debug.Print "Enter, DirectionAfterReturn = None: " & g.Row & "," & g.Col
+g.DirectionAfterReturn = FlexDirectionAfterReturnDown
+PressKey g, vbKeyReturn
+Debug.Print "Enter, Down: " & g.Row & "," & g.Col
+g.DirectionAfterReturn = FlexDirectionAfterReturnRight
+PressKey g, vbKeyReturn
+Debug.Print "Enter, Right: " & g.Row & "," & g.Col
+
+PressKey g, vbKeyEnd
+Debug.Print "End: " & g.Row & "," & g.Col
+PressKey g, vbKeyHome
+Debug.Print "Home: " & g.Row & "," & g.Col
+' Output:
+' Tab, TabBehavior = FlexTabControls: 1,1
+' Tab, FlexTabCells: 1,2
+' Tab twice more, at the last column: 1,3
+' Tab, FlexWrapRow: 2,1
+' Tab at the last cell, FlexWrapGrid: 1,1
+' Enter, DirectionAfterReturn = None: 1,1
+' Enter, Down: 2,1
+' Enter, Right: 2,2
+' End: 2,3
+' Home: 2,1
+```
+
+[**IMEMode**](#imemode) sets the state of the Input Method Editor while the grid has the focus.
+
+## Drag and drop
+
+**The grid as a source.** [**OLEDrag**](#oledrag) starts an OLE drag from code, usually from a **MouseDown** or **MouseMove** handler. The grid raises [**OLEStartDrag**](#olestartdrag), where the handler puts the data into the *Data* object and sets the effects it allows, then [**OLEGiveFeedback**](#olegivefeedback) while the pointer moves, so that it can choose the cursor, and [**OLESetData**](#olesetdata) when the target asks for a format that has not been supplied yet. [**OLECompleteDrag**](#olecompletedrag) comes last, with the effect that was carried out.
+
+**The grid as a target.** With [**OLEDropMode**](#oledropmode) set to **FlexOLEDropModeManual**, the grid raises [**OLEDragOver**](#oledragover) while data is moved over it and [**OLEDragDrop**](#oledragdrop) when it is dropped. There is no automatic mode. While the data is over the grid, [**OLEDragDropScroll**](#oledragdropscroll) lets the grid scroll when the pointer is near an edge, in the directions that [**OLEDragDropScrollOrientation**](#oledragdropscrollorientation) allows. The *Data* object is a [**DataObject**](../../../VBRUN/DataObject/), and *Effect* is made of the [**OLEDropEffectConstants**](../../../VBRUN/Constants/OLEDropEffectConstants).
+
+**Files.** With [**AllowDropFiles**](#allowdropfiles) set, files dropped from the shell raise [**DropFiles**](#dropfiles). This works only while **OLEDropMode** is **FlexOLEDropModeNone**: a grid that is an OLE drop target receives the files through **OLEDragDrop**.
+
+**Showing the target.** [**InsertMark**](#insertmark) draws a line between two rows or two columns, to show where dropped data will be inserted, and [**DropHighlight**](#drophighlight) draws a row or column in the highlight colours, to show what dropped data will go onto. [**InsertMarkMode**](#insertmarkmode) and [**DropHighlightMode**](#drophighlightmode) choose whether they work on rows or columns, and each is independent of the other. [**HitTestInsertMark**](#hittestinsertmark) turns the position of the pointer into the row or column for the mark, and tells which side of it the pointer is on. The handler for **OLEDragOver** sets the mark and the handler for **OLEDragDrop** removes it:
+
+```tb check_build
+Private Sub Form_Load()
+    VBFlexGrid1.OLEDropMode = FlexOLEDropModeManual
+    VBFlexGrid1.InsertMarkMode = FlexDropTargetModeByRow
+End Sub
+
+Private Sub VBFlexGrid1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
+    If Button = vbLeftButton Then
+        VBFlexGrid1.HitTest X, Y
+        If VBFlexGrid1.HitResult = FlexHitResultCell And VBFlexGrid1.HitCol = 0 Then VBFlexGrid1.OLEDrag
+    End If
+End Sub
+
+Private Sub VBFlexGrid1_OLEStartDrag(Data As DataObject, AllowedEffects As Long)
+    Data.SetData VBFlexGrid1.TextMatrix(VBFlexGrid1.Row, 1), vbCFText
+    AllowedEffects = vbDropEffectCopy
+End Sub
+
+Private Sub VBFlexGrid1_OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)
+    Dim After As Boolean, Row As Long
+    If State = vbLeave Then
+        VBFlexGrid1.InsertMark = -1
+    ElseIf Data.GetFormat(vbCFText) Then
+        Row = VBFlexGrid1.HitTestInsertMark(X, Y, After)
+        VBFlexGrid1.InsertMark(After) = Row
+        Effect = vbDropEffectCopy
+    Else
+        Effect = vbDropEffectNone
+    End If
+End Sub
+
+Private Sub VBFlexGrid1_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)
+    Dim After As Boolean, Row As Long
+    Row = VBFlexGrid1.HitTestInsertMark(X, Y, After)
+    VBFlexGrid1.InsertMark = -1
+    If After Then Row = Row + 1
+    VBFlexGrid1.AddItem Data.GetData(vbCFText), Row
+End Sub
+
+Private Sub VBFlexGrid1_DropFiles(FileList As Variant, ByVal X As Single, ByVal Y As Single)
+    Dim i As Long
+    For i = LBound(FileList) To UBound(FileList)
+        Debug.Print FileList(i)
+    Next i
+End Sub
+```
+
+The marks are drawn with [**InsertMarkColor**](#insertmarkcolor) and with the selection colours, and they stay until the code sets them back to -1.
+
+![Three grids with columns A to C and rows 1 to 6. The first has an insert mark by row, a black line between rows 3 and 4. The second has an insert mark by column, a black line between columns A and B. The third has a drop highlight on row 4, drawn in the selection colours, its header cell in black.](Images/MouseAndKeyboard_InsertMarks.png){:width="609" height="189"}
+
+```tb check_build check_run slot=sub id=mouse-insertmark arch=win32,win64
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 8: g.Cols = 6
+Dim After As Boolean, Row As Long
+
+Debug.Print "no mark: " & g.InsertMark(After) & " " & After
+
+Row = g.HitTestInsertMark(5, g.RowPos(3) + 5, After)           ' the upper half of row 3
+Debug.Print "upper half: row " & Row & ", after " & After
+Row = g.HitTestInsertMark(5, g.RowPos(3) + g.RowHeight(3) - 5, After)   ' the lower half
+Debug.Print "lower half: row " & Row & ", after " & After
+
+g.InsertMark(True) = 2                                         ' below row 2
+Debug.Print "mark: row " & g.InsertMark(After) & ", after " & After
+g.InsertMark = -1
+Debug.Print "removed: " & g.InsertMark
+
+g.DropHighlight = 4
+Debug.Print "highlight: " & g.DropHighlight
+g.DropHighlightMode = FlexDropTargetModeByColumn               ' changing the mode removes it
+Debug.Print "after the mode change: " & g.DropHighlight
+
+On Error Resume Next
+Err.Clear: g.InsertMark = 99
+Debug.Print "InsertMark 99: " & Err.Number & " " & Err.Description
+Err.Clear: g.DropHighlight = 99
+Debug.Print "DropHighlight 99, by column: " & Err.Number & " " & Err.Description
+g.DropHighlightMode = FlexDropTargetModeByRow
+g.InsertMarkMode = FlexDropTargetModeByColumn
+Err.Clear: g.InsertMark = 99
+Debug.Print "InsertMark 99, by column: " & Err.Number & " " & g.InsertMark
+' Output:
+' no mark: -1 False
+' upper half: row 3, after False
+' lower half: row 3, after True
+' mark: row 2, after True
+' removed: -1
+' highlight: 4
+' after the mode change: -1
+' InsertMark 99: 30009 Invalid Row value
+' DropHighlight 99, by column: 30010 Invalid Col value
+' InsertMark 99, by column: 0 99
+```
+
+## Properties
+
+### HitRow
+{: .no_toc }
+
+Returns the row found by the last call of [**HitTest**](#hittest). **Long**, read-only.
+
+Syntax: *object*.**HitRow**
+
+-1 when nothing was found, and before the first call.
+
+### HitCol
+{: .no_toc }
+
+Returns the column found by the last call of [**HitTest**](#hittest). **Long**, read-only.
+
+Syntax: *object*.**HitCol**
+
+### HitResult
+{: .no_toc }
+
+Returns what the last call of [**HitTest**](#hittest) found. A [**FlexHitResultConstants**](../Enumerations/SelectionAndInput#flexhitresultconstants) member, read-only.
+
+Syntax: *object*.**HitResult**
+
+See the table under [Hit testing](#hit-testing).
+
+### HitRowDivider
+{: .no_toc }
+
+Returns the row whose bottom edge the last call of [**HitTest**](#hittest) found. **Long**, read-only.
+
+Syntax: *object*.**HitRowDivider**
+
+-1 unless **HitResult** is one of the row divider results.
+
+### HitColDivider
+{: .no_toc }
+
+Returns the column whose right edge the last call of [**HitTest**](#hittest) found. **Long**, read-only.
+
+Syntax: *object*.**HitColDivider**
+
+-1 unless **HitResult** is one of the column divider results.
+
+### MouseRow
+{: .no_toc }
+
+Returns the row at the current position of the mouse pointer. **Long**, read-only.
+
+Syntax: *object*.**MouseRow**
+
+See [Hit testing](#hit-testing) for what it returns when the pointer is not over a row.
+
+### MouseCol
+{: .no_toc }
+
+Returns the column at the current position of the mouse pointer. **Long**, read-only.
+
+Syntax: *object*.**MouseCol**
+
+### MouseTrack
+{: .no_toc }
+
+Returns or sets whether the grid raises [**MouseEnter**](#mouseenter) and [**MouseLeave**](#mouseleave). **Boolean**. Default: **False**.
+
+Syntax: *object*.**MouseTrack** [ **=** *value* ]
+
+With **True** the grid also draws check boxes and drop-down buttons in their hot state while the pointer is over them.
+
+### MousePointer
+{: .no_toc }
+
+Returns or sets the shape of the mouse pointer over the grid. A [**FlexMousePointerConstants**](../Enumerations/SelectionAndInput#flexmousepointerconstants) member. Default: **FlexMousePointerDefault**.
+
+Syntax: *object*.**MousePointer** [ **=** *value* ]
+
+A value other than 0 to 30 and 99 raises error 380. **FlexMousePointerCustom** (99) shows [**MouseIcon**](#mouseicon). The standard shapes are those of [**MousePointerConstants**](../../../VBRUN/Constants/MousePointerConstants), up to 15; the others are new.
+
+### MouseIcon
+{: .no_toc }
+
+Returns or sets the picture of the custom mouse pointer. **IPictureDisp**.
+
+Syntax: *object*.**MouseIcon** [ **=** *value* ]
+
+Used when **MousePointer** is 99. It must be an icon or a cursor, or **Nothing**; any other kind of picture raises error 380. A **Set** statement and an assignment both work.
+
+### IMEMode
+{: .no_toc }
+
+Returns or sets the Input Method Editor mode of the grid. A [**FlexIMEModeConstants**](../Enumerations/SelectionAndInput#fleximemodeconstants) member. Default: **FlexIMEModeNoControl**.
+
+Syntax: *object*.**IMEMode** [ **=** *value* ]
+
+Applied when the grid or its edit box gets the focus. Any other value raises error 380.
+
+### OLEDropMode
+{: .no_toc }
+
+Returns or sets whether the grid is an OLE drop target. A [**FlexOLEDropModeConstants**](../Enumerations/SelectionAndInput#flexoledropmodeconstants) member. Default: **FlexOLEDropModeNone**.
+
+Syntax: *object*.**OLEDropMode** [ **=** *value* ]
+
+**FlexOLEDropModeManual** makes the grid raise [**OLEDragOver**](#oledragover) and [**OLEDragDrop**](#oledragdrop). Any other value raises error 380.
+
+### OLEDragDropScroll
+{: .no_toc }
+
+Returns or sets whether the grid scrolls while data is dragged near its edge. **Boolean**. Default: **True**.
+
+Syntax: *object*.**OLEDragDropScroll** [ **=** *value* ]
+
+The grid scrolls one line, row or column, for each **OLEDragOver** with the pointer within 16 device-independent pixels of an edge. The edge of a side that has no scroll bar does not scroll, and neither does a pointer outside the grid.
+
+### OLEDragDropScrollOrientation
+{: .no_toc }
+
+Returns or sets in which directions the grid scrolls during a drag. A [**FlexScrollOrientationConstants**](../Enumerations/SelectionAndInput#flexscrollorientationconstants) member. Default: **FlexScrollOrientationBoth**.
+
+Syntax: *object*.**OLEDragDropScrollOrientation** [ **=** *value* ]
+
+Any other value raises error 380.
+
+### AllowDropFiles
+{: .no_toc }
+
+Returns or sets whether the grid accepts files dropped from the shell. **Boolean**. Default: **False**.
+
+Syntax: *object*.**AllowDropFiles** [ **=** *value* ]
+
+The files are reported by [**DropFiles**](#dropfiles). It has no effect while **OLEDropMode** is **FlexOLEDropModeManual**.
+
+### InsertMark
+{: .no_toc }
+
+Returns or sets the row or column that has the insert mark.
+
+Syntax: *object*.**InsertMark** [ ( *After* ) ] [ **=** *value* ]
+
+*After*
+: *optional* A **Boolean**, by reference. A read stores in it whether the mark is after the row or column, below it or to its right. An assignment uses it to place the mark: **False** puts it before the row or column.
+
+*value*
+: A **Long**, the row or column number, or -1 for no mark. The mark is a line between two rows when **InsertMarkMode** is **FlexDropTargetModeByRow**, and between two columns when it is **FlexDropTargetModeByColumn**.
+
+A row outside the grid raises error 30009. See the note below for columns.
+
+
+> [!NOTE] 1.8.69.0
+> The column number is checked only when **DropHighlightMode** is **FlexDropTargetModeByColumn**: with **InsertMarkMode** set to by column and **DropHighlightMode** left at by row, any column number, 99 in a grid of six, is accepted and stored, and nothing is drawn.
+
+### InsertMarkColor
+{: .no_toc }
+
+Returns or sets the colour of the insert mark. **OLE_COLOR**. Default: **vbBlack**.
+
+Syntax: *object*.**InsertMarkColor** [ **=** *value* ]
+
+### InsertMarkMode
+{: .no_toc }
+
+Returns or sets whether the insert mark works on rows or on columns. A [**FlexDropTargetModeConstants**](../Enumerations/SelectionAndInput#flexdroptargetmodeconstants) member. Default: **FlexDropTargetModeByRow**.
+
+Syntax: *object*.**InsertMarkMode** [ **=** *value* ]
+
+Changing it removes the mark, setting **InsertMark** to -1. Any other value raises error 380.
+
+### DropHighlight
+{: .no_toc }
+
+Returns or sets the row or column that is drawn as the target of a drop.
+
+Syntax: *object*.**DropHighlight** [ **=** *value* ]
+
+*value*
+: A **Long**, the row or column number, or -1 for none. An invalid row raises error 30009, and an invalid column raises error 30010.
+
+### DropHighlightMode
+{: .no_toc }
+
+Returns or sets whether the drop highlight works on rows or on columns. A [**FlexDropTargetModeConstants**](../Enumerations/SelectionAndInput#flexdroptargetmodeconstants) member. Default: **FlexDropTargetModeByRow**.
+
+Syntax: *object*.**DropHighlightMode** [ **=** *value* ]
+
+Changing it removes the highlight. Any other value raises error 380.
+
+## Methods
+
+### HitTest
+{: .no_toc }
+
+Finds what is at a point and stores the result in the **Hit** properties.
+
+Syntax: *object*.**HitTest** ( *X*, *Y* )
+
+*X*, *Y*
+: *required* **Single** The point, in the unit of the container, from the top-left corner of the grid.
+
+It raises no error for a point outside the grid; **HitResult** is then **FlexHitResultNoWhere**. See [Hit testing](#hit-testing).
+
+### HitTestInsertMark
+{: .no_toc }
+
+Returns the row or column at a point, for the insert mark.
+
+Syntax: *object*.**HitTestInsertMark** ( *X*, *Y* [, *After* ] ) **As Long**
+
+*X*, *Y*
+: *required* **Single** The point, in the unit of the container.
+
+*After*
+: *optional* A **Boolean**, by reference. Set to **True** when the point is in the second half of the row or column, and to **False** when it is in the first half.
+
+Returns a row when **InsertMarkMode** is by row, and a column when it is by column. Below the last row, or to the right of the last column, it returns the last one. It returns 0 for a point above and to the left of the grid.
+
+### OLEDrag
+{: .no_toc }
+
+Starts an OLE drag with the grid as the source.
+
+Syntax: *object*.**OLEDrag**
+
+The grid raises [**OLEStartDrag**](#olestartdrag). The call returns when the drag ends.
+
+## Events
+
+### BeforeMouseDown
+{: .no_toc }
+
+Occurs before the grid processes a mouse button press.
+
+Syntax: **Private Sub** *object*\_**BeforeMouseDown** ( **ByVal** *Button* **As Integer**, **ByVal** *Shift* **As Integer**, **ByVal** *X* **As Single**, **ByVal** *Y* **As Single**, *Cancel* **As Boolean** )
+
+*Button*
+: A [**MouseButtonConstants**](../../../VBRUN/Constants/MouseButtonConstants) value: left, right or middle.
+
+*Shift*
+: The state of Shift, Ctrl and Alt, as [**ShiftConstants**](../../../VBRUN/Constants/ShiftConstants).
+
+*X*, *Y*
+: The position in twips.
+
+*Cancel*
+: Set to **True** to keep the grid from processing the press: the current cell, the selection and the check boxes are left alone, and neither **MouseDown**, **CellClick** nor **Click** is raised for it.
+
+### MouseDown
+{: .no_toc }
+
+Occurs when the user presses a mouse button over the grid.
+
+Syntax: **Private Sub** *object*\_**MouseDown** ( *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single** )
+
+Raised after the grid has moved the current cell and the selection, so **Row** already has the cell that was pressed. The arguments are those of [**BeforeMouseDown**](#beforemousedown).
+
+### MouseUp
+{: .no_toc }
+
+Occurs when the user releases a mouse button.
+
+Syntax: **Private Sub** *object*\_**MouseUp** ( *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single** )
+
+### MouseMove
+{: .no_toc }
+
+Occurs when the user moves the mouse over the grid.
+
+Syntax: **Private Sub** *object*\_**MouseMove** ( *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single** )
+
+*Button*
+: The buttons that are down, as a combination.
+
+### MouseEnter
+{: .no_toc }
+
+Occurs when the pointer moves into the grid.
+
+Syntax: **Private Sub** *object*\_**MouseEnter** ( )
+
+Raised only when [**MouseTrack**](#mousetrack) is **True**, before the **MouseMove** that follows the entry.
+
+### MouseLeave
+{: .no_toc }
+
+Occurs when the pointer moves out of the grid.
+
+Syntax: **Private Sub** *object*\_**MouseLeave** ( )
+
+Raised only when **MouseTrack** is **True**.
+
+### Click
+{: .no_toc }
+
+Occurs when the user presses and releases a mouse button over the grid.
+
+Syntax: **Private Sub** *object*\_**Click** ( )
+
+Raised on release, after **MouseUp**, if the pointer is still over the grid. It is raised for a click anywhere, headings and the empty area included; use [**CellClick**](#cellclick) to react to a cell.
+
+### DblClick
+{: .no_toc }
+
+Occurs when the user double-clicks.
+
+Syntax: **Private Sub** *object*\_**DblClick** ( )
+
+Raised after [**CellDblClick**](#celldblclick), when there is one.
+
+### CellClick
+{: .no_toc }
+
+Occurs when a cell is clicked.
+
+Syntax: **Private Sub** *object*\_**CellClick** ( **ByVal** *Row* **As Long**, **ByVal** *Col* **As Long**, **ByVal** *Button* **As Integer** )
+
+*Row*, *Col*
+: The cell. Headings are cells too.
+
+*Button*
+: The button, as for [**BeforeMouseDown**](#beforemousedown).
+
+Raised on release, before **MouseUp**, only when the button is released over the cell where it was pressed and the point is a cell: not a divider, a check box or a drop-down button.
+
+### CellDblClick
+{: .no_toc }
+
+Occurs when a cell is double-clicked.
+
+Syntax: **Private Sub** *object*\_**CellDblClick** ( **ByVal** *Row* **As Long**, **ByVal** *Col* **As Long**, **ByVal** *Button* **As Integer** )
+
+The arguments are those of [**CellClick**](#cellclick). It is raised only when the double click is on a cell.
+
+### ContextMenu
+{: .no_toc }
+
+Occurs when the user clicks the right mouse button or presses the menu key or Shift+F10.
+
+Syntax: **Private Sub** *object*\_**ContextMenu** ( **ByVal** *X* **As Single**, **ByVal** *Y* **As Single** )
+
+*X*, *Y*
+: The position of the pointer, in the unit of the container. -1 and -1 when the key started the menu, because the pointer is not involved.
+
+### KeyDown
+{: .no_toc }
+
+Occurs when the user presses a key.
+
+Syntax: **Private Sub** *object*\_**KeyDown** ( *KeyCode* **As Integer**, *Shift* **As Integer** )
+
+*KeyCode*
+: The key. Set it to 0 to keep the grid from acting on the key.
+
+*Shift*
+: The state of Shift, Ctrl and Alt.
+
+### KeyPress
+{: .no_toc }
+
+Occurs when a key that produces a character is pressed and released.
+
+Syntax: **Private Sub** *object*\_**KeyPress** ( *KeyChar* **As Integer** )
+
+*KeyChar*
+: The character code. Set it to 0 to discard the character, which keeps it from starting an edit or an incremental search.
+
+### KeyUp
+{: .no_toc }
+
+Occurs when the user releases a key.
+
+Syntax: **Private Sub** *object*\_**KeyUp** ( *KeyCode* **As Integer**, *Shift* **As Integer** )
+
+### PreviewKeyDown
+{: .no_toc }
+
+Occurs before **KeyDown**, while Windows still decides who gets the key.
+
+Syntax: **Private Sub** *object*\_**PreviewKeyDown** ( **ByVal** *KeyCode* **As Integer**, *IsInputKey* **As Boolean** )
+
+*KeyCode*
+: The key.
+
+*IsInputKey*
+: Set to **True** so that the grid receives the key. The arrow keys, Home, End, Page Up and Page Down always go to the grid. For Tab, [**TabBehavior**](Selection#tabbehavior) decides, and for Enter and Esc this argument does: without it a default button or a cancel button on the form gets them, unless [**WantReturn**](Selection#wantreturn) is **True**.
+
+Raised for keys that go through the message loop of the form, so it is not raised for a key posted straight to the grid's window.
+
+### PreviewKeyUp
+{: .no_toc }
+
+Occurs before **KeyUp**.
+
+Syntax: **Private Sub** *object*\_**PreviewKeyUp** ( **ByVal** *KeyCode* **As Integer**, *IsInputKey* **As Boolean** )
+
+The arguments are those of [**PreviewKeyDown**](#previewkeydown).
+
+### OLEStartDrag
+{: .no_toc }
+
+Occurs when an OLE drag starts.
+
+Syntax: **Private Sub** *object*\_**OLEStartDrag** ( *Data* **As DataObject**, *AllowedEffects* **As Long** )
+
+*Data*
+: The [**DataObject**](../../../VBRUN/DataObject/) to fill with the data that is being dragged.
+
+*AllowedEffects*
+: The effects the source allows, as [**OLEDropEffectConstants**](../../../VBRUN/Constants/OLEDropEffectConstants).
+
+### OLEGiveFeedback
+{: .no_toc }
+
+Occurs at the source while the pointer moves, so that it can change the cursor.
+
+Syntax: **Private Sub** *object*\_**OLEGiveFeedback** ( *Effect* **As Long**, *DefaultCursors* **As Boolean** )
+
+*Effect*
+: The effect the target would carry out.
+
+*DefaultCursors*
+: Set to **False** to use a cursor of your own.
+
+### OLESetData
+{: .no_toc }
+
+Occurs at the source when the target asks for a format that **OLEStartDrag** did not supply.
+
+Syntax: **Private Sub** *object*\_**OLESetData** ( *Data* **As DataObject**, *DataFormat* **As Integer** )
+
+*DataFormat*
+: The format that is asked for. Supply it with **Data.SetData**.
+
+### OLECompleteDrag
+{: .no_toc }
+
+Occurs at the source when the drag has finished or was cancelled.
+
+Syntax: **Private Sub** *object*\_**OLECompleteDrag** ( *Effect* **As Long** )
+
+*Effect*
+: The effect that was carried out, 0 for a cancelled drag.
+
+### OLEDragOver
+{: .no_toc }
+
+Occurs at the target while data is dragged over the grid.
+
+Syntax: **Private Sub** *object*\_**OLEDragOver** ( *Data* **As DataObject**, *Effect* **As Long**, *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single**, *State* **As Integer** )
+
+*Data*
+: The dragged data.
+
+*Effect*
+: The effect to allow. Set it to say what a drop here would do.
+
+*Button*, *Shift*
+: The buttons and the Shift, Ctrl and Alt keys.
+
+*X*, *Y*
+: The position, in the unit of the container.
+
+*State*
+: Whether the pointer has entered, left or is moving over the grid: a [**DragOverConstants**](../../../VBRUN/Constants/DragOverConstants) value.
+
+Raised only when **OLEDropMode** is **FlexOLEDropModeManual**. Afterwards the grid scrolls if [**OLEDragDropScroll**](#oledragdropscroll) is **True** and the effect is not none.
+
+### OLEDragDrop
+{: .no_toc }
+
+Occurs at the target when data is dropped on the grid.
+
+Syntax: **Private Sub** *object*\_**OLEDragDrop** ( *Data* **As DataObject**, *Effect* **As Long**, *Button* **As Integer**, *Shift* **As Integer**, *X* **As Single**, *Y* **As Single** )
+
+The arguments are those of [**OLEDragOver**](#oledragover), without *State*. Raised only when **OLEDropMode** is **FlexOLEDropModeManual**.
+
+### DropFiles
+{: .no_toc }
+
+Occurs when the user drops files from the shell on the grid.
+
+Syntax: **Private Sub** *object*\_**DropFiles** ( *FileList* **As Variant**, **ByVal** *X* **As Single**, **ByVal** *Y* **As Single** )
+
+*FileList*
+: A zero-based array of **String**, one element for each file. It holds full paths.
+
+*X*, *Y*
+: The position of the drop, in the unit of the container.
+
+Raised only when **AllowDropFiles** is **True** and **OLEDropMode** is **FlexOLEDropModeNone**.
+
+## See Also
+
+- [VBFlexGrid](.) -- the control, with **Drag**, **DragIcon** and **DragMode**
+- [Current Cell and Selection](Selection) -- what a click selects, and the keys that move the current cell
+- [Sizes and Positions](Sizing) -- **RowPos**, **ColPos** and the resizing of rows and columns
+- [Check Boxes](CheckBoxes) and [Drop-Down Lists, Buttons and Calendars](ComboEditing) -- the cells that hit testing finds inside a cell
+- [FlexHitResultConstants](../Enumerations/SelectionAndInput#flexhitresultconstants), [FlexDropTargetModeConstants](../Enumerations/SelectionAndInput#flexdroptargetmodeconstants), [FlexOLEDropModeConstants](../Enumerations/SelectionAndInput#flexoledropmodeconstants), [FlexScrollOrientationConstants](../Enumerations/SelectionAndInput#flexscrollorientationconstants), [FlexMousePointerConstants](../Enumerations/SelectionAndInput#flexmousepointerconstants), [FlexIMEModeConstants](../Enumerations/SelectionAndInput#fleximemodeconstants)
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Scrolling.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Scrolling.md
new file mode 100644
index 000000000..7936ca37d
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Scrolling.md
@@ -0,0 +1,458 @@
+---
+title: Scrolling
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Scrolling
+---
+
+# Scrolling
+
+The scroll bars, the part of the grid that is in view, the scroll tips and the other ways the user can scroll, and the members that move or read the view from code.
+
+The grid shows the **fixed** and **frozen** rows and columns all the time. Below and to the right of them it shows a window of the other rows and columns, and scrolling moves that window. Two properties name its first row and first column: [**TopRow**](#toprow) and [**LeftCol**](#leftcol). Assigning them scrolls the grid. [**BottomRow**](#bottomrow) and [**RightCol**](#rightcol) read the other end of the window, and [**RowIsVisible**](#rowisvisible), [**ColIsVisible**](#colisvisible), [**RowsVisible**](#rowsvisible), [**ColsVisible**](#colsvisible), [**RowsPerPage**](#rowsperpage) and [**ColsPerPage**](#colsperpage) say how much is in view.
+
+* TOC
+{:toc}
+
+## The part that is in view
+
+A row can be fully in view, partly in view, or out of view. Most of the members that read the view take a *Visibility* argument, a [**FlexVisibilityConstants**](../Enumerations/SelectionAndInput#flexvisibilityconstants) member, that decides whether a row or column that is only partly in view counts: **FlexVisibilityPartialOK** (0) counts it and **FlexVisibilityCompleteOnly** (1) does not. The default is not the same for all members:
+
+| Member | Default for *Visibility* |
+|---|---|
+| [**BottomRow**](#bottomrow), [**RightCol**](#rightcol), [**RowIsVisible**](#rowisvisible), [**ColIsVisible**](#colisvisible) | **FlexVisibilityPartialOK** |
+| [**RowsVisible**](#rowsvisible), [**ColsVisible**](#colsvisible), [**CellEnsureVisible**](#cellensurevisible) | **FlexVisibilityCompleteOnly** |
+
+What is in view depends on the size of the control, so the sample below prints comparisons and not sizes.
+
+```tb check_build check_run slot=sub id=scrolling-view arch=win32,win64
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 100: g.Cols = 30
+g.FixedRows = 2
+
+Debug.Print "first scrollable row " & g.TopRow & ", column " & g.LeftCol
+
+g.TopRow = 50
+g.LeftCol = 10
+Debug.Print "view starts at " & g.TopRow & "," & g.LeftCol
+Debug.Print "rows 0, 1, 2, 50, 99: " & g.RowIsVisible(0) & " " & g.RowIsVisible(1) & " " & g.RowIsVisible(2) & " " & g.RowIsVisible(50) & " " & g.RowIsVisible(99)
+Debug.Print "columns 0, 5, 10, 29: " & g.ColIsVisible(0) & " " & g.ColIsVisible(5) & " " & g.ColIsVisible(10) & " " & g.ColIsVisible(29)
+Debug.Print "the view reaches below row 50: " & (g.BottomRow > 50)
+
+g.TopRow = 0                        ' a fixed row cannot be the first scrollable one
+Debug.Print "after TopRow = 0: " & g.TopRow
+
+g.TopRow = g.Rows - 1               ' the last rows fill the window instead
+Debug.Print "after TopRow = Rows - 1: " & (g.TopRow < g.Rows - 1) & ", the last row is in view: " & (g.BottomRow = g.Rows - 1)
+' Output:
+' first scrollable row 2, column 1
+' view starts at 50,10
+' rows 0, 1, 2, 50, 99: True True False True False
+' columns 0, 5, 10, 29: True False True False
+' the view reaches below row 50: True
+' after TopRow = 0: 2
+' after TopRow = Rows - 1: True, the last row is in view: True
+```
+
+Assigning **TopRow** or **LeftCol** moves the view as far as the request allows: a value below the first scrollable row or column is raised to it, and a value so far down or to the right that part of the window would stay empty is lowered until the last rows or columns fill it. A row or column number outside the grid raises an error.
+
+## The Scroll event
+
+[**Scroll**](#scroll) is raised after every change of the view: a drag of a scroll bar, a click on a bar, the mouse wheel, the keyboard, an assignment to **TopRow** or **LeftCol**, [**CellEnsureVisible**](#cellensurevisible), and anything else that moves the first row or column, such as a change of [**FixedRows**](Structure#fixedrows). A change in both directions raises it twice, once for each. An assignment that changes nothing raises nothing.
+
+```tb check_build projname=scrolling-trace slot=file
+Class ScrollTrace
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    Private Sub Grid_Scroll()
+        Debug.Print "Scroll: view starts at " & Grid.TopRow & "," & Grid.LeftCol
+    End Sub
+End Class
+```
+
+```tb check_build check_run projname=scrolling-trace slot=sub id=scrolling-event
+VBFlexGrid1.Rows = 100: VBFlexGrid1.Cols = 30
+Dim t As New ScrollTrace
+t.Attach VBFlexGrid1
+
+VBFlexGrid1.TopRow = 50
+VBFlexGrid1.TopRow = 50             ' no change, no event
+VBFlexGrid1.LeftCol = 10
+VBFlexGrid1.TopRow = 0
+' Output:
+' Scroll: view starts at 50,1
+' Scroll: view starts at 50,10
+' Scroll: view starts at 1,10
+```
+
+## Scroll bars
+
+[**ScrollBars**](#scrollbars) chooses which bars the grid has, and it decides more than that: in a direction that has no bar, the grid does not scroll by itself, and [**CellEnsureVisible**](#cellensurevisible) does not scroll either. Assigning **TopRow** or **LeftCol** still works. A bar is shown only when it is needed, unless [**DisableNoScroll**](#disablenoscroll) is **True** and it is drawn disabled instead. With [**ScrollTrack**](#scrolltrack) the contents follow the thumb while the user drags it; without it they move when the thumb is released.
+
+
+> [!WARNING] 1.8.69.0
+> **CellEnsureVisible** does nothing in a direction where **ScrollBars** has no bar: the cell stays out of view, and no error is raised. In a grid with **ScrollBars** set to **vbSBNone**, assign **TopRow** and **LeftCol** instead.
+
+```tb check_build check_run slot=sub id=scrolling-ensure-no-bars
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 100: g.Cols = 5
+g.ScrollBars = vbSBNone
+
+g.Row = 90
+g.CellEnsureVisible
+Debug.Print "CellEnsureVisible: row 90 in view " & g.RowIsVisible(90)
+
+g.TopRow = 90
+Debug.Print "TopRow = 90: row 90 in view " & g.RowIsVisible(90)
+' Output:
+' CellEnsureVisible: row 90 in view False
+' TopRow = 90: row 90 in view True
+```
+
+## Scroll tips
+
+With [**ShowScrollTips**](#showscrolltips) set to **True** a small tip window appears while the user drags a scroll thumb. The control puts no text into it: the [**ScrollTip**](#scrolltip) event is raised for each position of the thumb, and its handler sets [**ScrollTipText**](#scrolltiptext). The tip stays where the drag started, and follows the thumb when [**ScrollTipFollowThumb**](#scrolltipfollowthumb) is **True**. The tip window itself is available as [**hWndScrollTip**](#hwndscrolltip).
+
+## Other ways to scroll
+
+The mouse wheel scrolls [**WheelScrollLines**](#wheelscrolllines) lines for each notch, and a horizontal wheel scrolls one column for each notch. With [**AllowReaderMode**](#allowreadermode) set, the middle mouse button starts the system's auto-scrolling and panning: the user moves the mouse away from the point where the button was pressed and the grid scrolls in that direction. With [**AllowScrollLock**](#allowscrolllock) set, the arrow keys scroll the grid instead of moving the current cell while Scroll Lock is on, as in a spreadsheet program.
+
+## Properties
+
+### ScrollBars
+{: .no_toc }
+
+Returns or sets which scroll bars the grid has. A [**ScrollBarConstants**](../../../VBRUN/Constants/ScrollBarConstants) member. Default: **vbBoth**.
+
+Syntax: *object*.**ScrollBars** [ **=** *value* ]
+
+*value*
+: **vbSBNone** (0), **vbHorizontal** (1), **vbVertical** (2) or **vbBoth** (3). Any other value raises error 380.
+
+See [Scroll bars](#scroll-bars) for what a missing bar means.
+
+### ScrollTrack
+{: .no_toc }
+
+Returns or sets whether the contents scroll while the user drags a scroll thumb. **Boolean**. Default: **False**.
+
+Syntax: *object*.**ScrollTrack** [ **=** *value* ]
+
+With **False** the grid scrolls when the thumb is released. MSFlexGrid has a property of the same name.
+
+### DisableNoScroll
+{: .no_toc }
+
+Returns or sets whether a scroll bar that is not needed is disabled instead of hidden. **Boolean**. Default: **False**.
+
+Syntax: *object*.**DisableNoScroll** [ **=** *value* ]
+
+### WheelScrollLines
+{: .no_toc }
+
+Returns or sets the number of lines the mouse wheel scrolls for each notch. **Long**. Default: the system setting.
+
+Syntax: *object*.**WheelScrollLines** [ **=** *value* ]
+
+*value*
+: A **Long** from 0 to 100, or -1 for the system setting, which is read when the control starts and again when Windows reports a change of settings. Any other value raises error 380.
+
+Reading the property returns the number of lines in use: after -1 has been assigned, it returns the system's number and not -1.
+
+### ShowScrollTips
+{: .no_toc }
+
+Returns or sets whether a scroll tip appears while the user drags a scroll thumb. **Boolean**. Default: **False**.
+
+Syntax: *object*.**ShowScrollTips** [ **=** *value* ]
+
+Setting it to **True** creates the tip window, and setting it to **False** destroys it. See [Scroll tips](#scroll-tips).
+
+### ScrollTipFollowThumb
+{: .no_toc }
+
+Returns or sets whether the scroll tip moves with the thumb. **Boolean**. Default: **False**, the tip stays at the place where the thumb was when the drag began.
+
+Syntax: *object*.**ScrollTipFollowThumb** [ **=** *value* ]
+
+### ScrollTipText
+{: .no_toc }
+
+Returns or sets the text of the scroll tip. **String**.
+
+Syntax: *object*.**ScrollTipText** [ **=** *value* ]
+
+Both the read and the assignment raise error 5 while the grid has no scroll tip, which is the case until [**ShowScrollTips**](#showscrolltips) is set to **True**. The text is empty at first. The handler of [**ScrollTip**](#scrolltip) sets it for the position that the event reports.
+
+### hWndScrollTip
+{: .no_toc }
+
+Returns the window handle of the scroll tip. **LongPtr**, read-only.
+
+Syntax: *object*.**hWndScrollTip**
+
+The handle is 0 while **ShowScrollTips** is **False**.
+
+### AllowReaderMode
+{: .no_toc }
+
+Returns or sets whether the middle mouse button starts reader mode, the system's auto-scrolling and panning. **Boolean**. Default: **False**.
+
+Syntax: *object*.**AllowReaderMode** [ **=** *value* ]
+
+It has an effect only when the grid has rows and columns and **ScrollBars** is not **vbSBNone**.
+
+### AllowScrollLock
+{: .no_toc }
+
+Returns or sets whether the arrow keys scroll the grid while Scroll Lock is on. **Boolean**. Default: **False**.
+
+Syntax: *object*.**AllowScrollLock** [ **=** *value* ]
+
+### TopRow
+{: .no_toc }
+
+Returns or sets the first row of the window, after the fixed and frozen rows.
+
+Syntax: *object*.**TopRow** [ **=** *value* ]
+
+*value*
+: A **Long** from 0 to [**Rows**](Structure#rows) - 1. A value outside the grid raises error 30009, *Invalid Row value*.
+
+Assigning it scrolls the grid vertically, and raises [**Scroll**](#scroll) when the view changes. The request is adjusted as [described above](#the-part-that-is-in-view). It works whatever **ScrollBars** is.
+
+### BottomRow
+{: .no_toc }
+
+Returns the last row of the window. **Long**, read-only.
+
+Syntax: *object*.**BottomRow** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* A [**FlexVisibilityConstants**](../Enumerations/SelectionAndInput#flexvisibilityconstants) member. Default: **FlexVisibilityPartialOK**, which includes a last row that is cut off by the bottom edge. Any other value raises error 380.
+
+### LeftCol
+{: .no_toc }
+
+Returns or sets the first column of the window, after the fixed and frozen columns.
+
+Syntax: *object*.**LeftCol** [ **=** *value* ]
+
+*value*
+: A **Long** from 0 to [**Cols**](Structure#cols) - 1. A value outside the grid raises error 30010, *Invalid Col value*.
+
+Works as [**TopRow**](#toprow) does, horizontally.
+
+### RightCol
+{: .no_toc }
+
+Returns the last column of the window. **Long**, read-only.
+
+Syntax: *object*.**RightCol** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* As for [**BottomRow**](#bottomrow). Default: **FlexVisibilityPartialOK**.
+
+### RowIsVisible
+{: .no_toc }
+
+Returns whether a row is in view. **Boolean**, read-only.
+
+Syntax: *object*.**RowIsVisible** ( *Index* [, *Visibility* ] )
+
+*Index*
+: *required* A **Long**, the row number. A row outside the grid raises error 30009.
+
+*Visibility*
+: *optional* As for [**BottomRow**](#bottomrow). Default: **FlexVisibilityPartialOK**.
+
+A fixed or frozen row is in view when it fits in the control. Any other row is in view when it lies in the window.
+
+### ColIsVisible
+{: .no_toc }
+
+Returns whether a column is in view. **Boolean**, read-only.
+
+Syntax: *object*.**ColIsVisible** ( *Index* [, *Visibility* ] )
+
+Works as [**RowIsVisible**](#rowisvisible) does, for a column. A column outside the grid raises error 30010.
+
+### RowsVisible
+{: .no_toc }
+
+Returns the number of rows in view, fixed and frozen rows included. **Long**, read-only.
+
+Syntax: *object*.**RowsVisible** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* As for [**BottomRow**](#bottomrow). Default: **FlexVisibilityCompleteOnly**.
+
+### ColsVisible
+{: .no_toc }
+
+Returns the number of columns in view, fixed and frozen columns included. **Long**, read-only.
+
+Syntax: *object*.**ColsVisible** [ ( *Visibility* ) ]
+
+Works as [**RowsVisible**](#rowsvisible) does. Default: **FlexVisibilityCompleteOnly**.
+
+### RowsPerPage
+{: .no_toc }
+
+Returns how many rows of the window fit in the control when [**TopRow**](#toprow) is the first of them, not counting the fixed and frozen rows. **Long**, read-only.
+
+Syntax: *object*.**RowsPerPage**
+
+At least 1 when the grid has a window.
+
+### ColsPerPage
+{: .no_toc }
+
+Returns how many columns of the window fit in the control when [**LeftCol**](#leftcol) is the first of them, not counting the fixed and frozen columns. **Long**, read-only.
+
+Syntax: *object*.**ColsPerPage**
+
+## Methods
+
+### CellEnsureVisible
+{: .no_toc }
+
+Scrolls the grid so that a cell is in view.
+
+Syntax: *object*.**CellEnsureVisible** [ *Visibility* [, *Row* [, *Col* ]] ]
+
+*Visibility*
+: *optional* A [**FlexVisibilityConstants**](../Enumerations/SelectionAndInput#flexvisibilityconstants) member. Default: **FlexVisibilityCompleteOnly**. With **FlexVisibilityPartialOK** a cell that is partly in view is left where it is. Any other value raises error 380.
+
+*Row*, *Col*
+: *optional* **Long** The cell. When omitted, or -1, the current cell. A value below -1 raises error 380, and a cell outside the grid raises error 381, *Subscript out of range*.
+
+The grid scrolls by the least amount that brings the whole cell into view, and not at all when it is in view already. A cell in a fixed or frozen row or column needs no scrolling in that direction. [**CellLeft**](Sizing#cellleft), [**CellTop**](Sizing#celltop), [**CellWidth**](Sizing#cellwidth) and [**CellHeight**](Sizing#cellheight) call this method first, so they describe a current cell that is in view. See [Scroll bars](#scroll-bars) for the case in which it does nothing.
+
+```tb check_build check_run slot=sub id=scrolling-ensure
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 100: g.Cols = 30
+
+g.Row = 90: g.Col = 25
+g.CellEnsureVisible                 ' the current cell
+Debug.Print "current cell in view: " & g.RowIsVisible(90, FlexVisibilityCompleteOnly) & " " & g.ColIsVisible(25, FlexVisibilityCompleteOnly)
+
+g.CellEnsureVisible , 3, 2          ' another cell, with the default Visibility
+Debug.Print "row 3 in view: " & g.RowIsVisible(3, FlexVisibilityCompleteOnly) & ", the current cell is still " & g.Row & "," & g.Col
+' Output:
+' current cell in view: True True
+' row 3 in view: True, the current cell is still 90,25
+```
+
+## Events
+
+### Scroll
+{: .no_toc }
+
+Occurs when the view has scrolled.
+
+Syntax: **Private Sub** *object*\_**Scroll** ( )
+
+**TopRow** and **LeftCol** have their new values. See [The Scroll event](#the-scroll-event).
+
+### ScrollTip
+{: .no_toc }
+
+Occurs when the control is about to show the scroll tip.
+
+Syntax: **Private Sub** *object*\_**ScrollTip** ( **ByVal** *Row* **As Long**, **ByVal** *Col* **As Long** )
+
+*Row*, *Col*
+: While the user drags the vertical thumb, *Row* is the row that the view would start with and *Col* is -1. While the user drags the horizontal thumb, *Col* is the column and *Row* is -1.
+
+Set [**ScrollTipText**](#scrolltiptext) in the handler. The event is raised only when **ShowScrollTips** is **True**.
+
+```tb check_build
+Private Sub Form_Load()
+    VBFlexGrid1.ShowScrollTips = True
+End Sub
+
+Private Sub VBFlexGrid1_ScrollTip(ByVal Row As Long, ByVal Col As Long)
+    If Row > -1 Then
+        VBFlexGrid1.ScrollTipText = "Row " & Row
+    Else
+        VBFlexGrid1.ScrollTipText = "Column " & Col
+    End If
+End Sub
+```
+
+## Errors
+
+An index outside the grid raises error 30009 for a row and 30010 for a column. A bad *Visibility*, or an argument below -1 to **CellEnsureVisible**, raises 380.
+
+```tb check_build check_run slot=sub id=scrolling-errors
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 100: g.Cols = 30
+On Error Resume Next
+
+Err.Clear: g.TopRow = 100
+Debug.Print "TopRow 100: " & Err.Number & " " & Err.Description
+Err.Clear: g.LeftCol = 30
+Debug.Print "LeftCol 30: " & Err.Number & " " & Err.Description
+Err.Clear: Debug.Print g.RowIsVisible(100)
+Debug.Print "RowIsVisible 100: " & Err.Number
+Err.Clear: g.CellEnsureVisible 5
+Debug.Print "CellEnsureVisible 5: " & Err.Number
+Err.Clear: g.CellEnsureVisible , -2
+Debug.Print "CellEnsureVisible , -2: " & Err.Number
+Err.Clear: g.CellEnsureVisible , 100, 1
+Debug.Print "CellEnsureVisible , 100, 1: " & Err.Number & " " & Err.Description
+Err.Clear: g.ScrollBars = 7
+Debug.Print "ScrollBars 7: " & Err.Number
+Err.Clear: g.WheelScrollLines = 101
+Debug.Print "WheelScrollLines 101: " & Err.Number
+Err.Clear: Debug.Print g.ScrollTipText
+Debug.Print "ScrollTipText: " & Err.Number
+' Output:
+' TopRow 100: 30009 Invalid Row value
+' LeftCol 30: 30010 Invalid Col value
+' RowIsVisible 100: 30009
+' CellEnsureVisible 5: 380
+' CellEnsureVisible , -2: 380
+' CellEnsureVisible , 100, 1: 381 Subscript out of range
+' ScrollBars 7: 380
+' WheelScrollLines 101: 380
+' ScrollTipText: 5
+```
+
+The defaults of this page's properties, read back:
+
+```tb check_build check_run slot=sub id=scrolling-defaults arch=win32,win64
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+Debug.Print "ScrollBars " & g.ScrollBars & ", ScrollTrack " & g.ScrollTrack & ", DisableNoScroll " & g.DisableNoScroll
+Debug.Print "ShowScrollTips " & g.ShowScrollTips & ", ScrollTipFollowThumb " & g.ScrollTipFollowThumb
+Debug.Print "AllowReaderMode " & g.AllowReaderMode & ", AllowScrollLock " & g.AllowScrollLock
+Debug.Print "hWndScrollTip " & g.hWndScrollTip
+
+g.ShowScrollTips = True
+Debug.Print "after ShowScrollTips: " & (g.hWndScrollTip <> 0)
+' Output:
+' ScrollBars 3, ScrollTrack False, DisableNoScroll False
+' ShowScrollTips False, ScrollTipFollowThumb False
+' AllowReaderMode False, AllowScrollLock False
+' hWndScrollTip 0
+' after ShowScrollTips: True
+```
+
+## See Also
+
+- [VBFlexGrid](.) -- the control
+- [Current Cell and Selection](Selection) -- the current cell, which the keyboard scrolls to
+- [Rows and Columns](Structure) -- fixed and frozen rows and columns
+- [Sizes and Positions](Sizing) -- row heights and column widths
+- [FlexVisibilityConstants](../Enumerations/SelectionAndInput#flexvisibilityconstants), [ScrollBarConstants](../../../VBRUN/Constants/ScrollBarConstants)
+
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Selection.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Selection.md
new file mode 100644
index 000000000..f1d28b332
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Selection.md
@@ -0,0 +1,653 @@
+---
+title: Current Cell and Selection
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Selection
+---
+
+# Current Cell and Selection
+
+The current cell, the range of selected cells around it, the selection modes, multiple selection, and the events raised when the current cell or the selection changes.
+
+A grid has one **current cell**, given by [**Row**](#row) and [**Col**](#col). It has the focus rectangle, the keyboard acts on it, and an edit starts in it. The **selected range** is the rectangle of cells that has the current cell at one corner and the cell at [**RowSel**](#rowsel) and [**ColSel**](#colsel) at the opposite corner. The opposite corner can lie above or to the left of the current cell, so [**GetSelRange**](#getselrange) returns the four edges in order: the top row, the left column, the bottom row and the right column.
+
+* TOC
+{:toc}
+
+## The current cell and the selected range
+
+Assigning **Row** or **Col** moves the current cell and collapses the range to that one cell. Assigning **RowSel** or **ColSel** moves only the opposite corner, so it grows or shrinks the range and leaves the current cell where it is. [**SelectRange**](#selectrange) sets all four values in one call, which raises the events once instead of once for each property. A fixed cell can be the current cell: `Row = 0` is legal.
+
+```tb check_build check_run slot=sub id=selection-corners arch=win32,win64
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 8: g.Cols = 6
+
+g.Row = 2: g.Col = 3
+Debug.Print g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.RowSel = 5                        ' grow the range downwards
+Debug.Print g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.ColSel = 1                        ' and to the left of the current cell
+Debug.Print g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+Dim Row1 As Long, Col1 As Long, Row2 As Long, Col2 As Long
+g.GetSelRange Row1, Col1, Row2, Col2
+Debug.Print "rows " & Row1 & " to " & Row2 & ", columns " & Col1 & " to " & Col2
+
+g.Row = 4                           ' moving the current cell drops the range
+Debug.Print g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.SelectRange 1, 1, 3, 2
+Debug.Print g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.SelectAll                         ' every cell that is not fixed
+Debug.Print g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+' Output:
+' 2,3 range 2,3
+' 2,3 range 5,3
+' 2,3 range 5,1
+' rows 2 to 5, columns 1 to 3
+' 4,3 range 4,3
+' 1,1 range 3,2
+' 1,1 range 7,5
+```
+
+With **AllowSelection** set to **False** the range cannot grow: the user cannot drag out a range, and in the modes that select single cells an assignment to **RowSel** or **ColSel** is ignored, so the range always stays the current cell. By-row mode does not restrict **ColSel**, and by-column mode does not restrict **RowSel**. **AllowBigSelection** controls the other end of the scale: when it is **True**, a click on a fixed row or column heading selects the whole column or row.
+
+## Selection modes
+
+[**SelectionMode**](#selectionmode) decides what a click or a key selects and which cells are drawn as selected. The mode does not limit what code can assign: **RowSel** and **ColSel** accept any cell in every mode. It does decide what [**SelectRange**](#selectrange) uses when its last two arguments are left out.
+
+| Mode | A click selects | Cells drawn selected |
+|---|---|---|
+| [**FlexSelectionModeFree**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) | The cell clicked. Shift+click or a drag extends the range to a rectangle. A fixed heading selects its whole column or row when **AllowBigSelection** is **True**. | The cells of the range. |
+| [**FlexSelectionModeByRow**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) | The whole row: the current cell goes to the first column that is not fixed and the opposite corner to the last column. | The cells of the range. |
+| [**FlexSelectionModeByColumn**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) | The whole column, in the same way. | The cells of the range. |
+| [**FlexSelectionModeFreeByRow**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) | The cell clicked, as in free mode. A click on a column heading selects no column: the current column changes and the selected rows stay. | Every cell of every row that the range touches. |
+| [**FlexSelectionModeFreeByColumn**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) | The cell clicked. A click on a row heading selects no row. | Every cell of every column that the range touches. |
+
+The first three modes are those of the MSFlexGrid control; the last two are new.
+
+The default is free selection. Switching to any mode except by-row or free-by-row turns [**AllowMultiSelection**](#allowmultiselection) off.
+
+![Three grids, each with columns A to C and rows 1 to 6. The first, in free mode, has rows 2 to 4 of columns A and B selected, all highlighted except the current cell in row 2, column A. The second, by row, has row 3 selected, highlighted except for its current cell in column A. The third, by row with AllowMultiSelection, has rows 2, 3 and 5 flagged and highlighted, and row 1, the current row, highlighted except for its current cell.](Images/Selection_Modes.png){:width="609" height="189"}
+
+```tb check_build check_run slot=sub id=selection-modes
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 8: g.Cols = 5
+
+g.SelectionMode = FlexSelectionModeByRow
+g.SelectRange 2, 1                  ' the last two arguments follow the mode
+Debug.Print "by row: " & g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.SelectionMode = FlexSelectionModeByColumn
+g.SelectRange 2, 1
+Debug.Print "by column: " & g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.SelectionMode = FlexSelectionModeFreeByRow
+g.SelectRange 2, 1
+Debug.Print "free by row: " & g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+
+g.SelectionMode = FlexSelectionModeFree
+g.SelectRange 3, 2
+g.AllowSelection = False
+g.RowSel = 6                        ' ignored
+Debug.Print "no selection: " & g.Row & "," & g.Col & " range " & g.RowSel & "," & g.ColSel
+' Output:
+' by row: 2,1 range 2,4
+' by column: 2,1 range 7,1
+' free by row: 2,1 range 2,1
+' no selection: 3,2 range 3,2
+```
+
+## Highlighting and the focus rectangle
+
+[**HighLight**](#highlight) chooses when selected cells are drawn in the selection colours: never, always, or only while the grid has the focus. [**FocusRect**](#focusrect) chooses how the current cell is outlined. The colours are [**BackColorSel**](Appearance#backcolorsel) and [**ForeColorSel**](Appearance#forecolorsel). Rows flagged by [**RowSelected**](#rowselected) are drawn selected as well.
+
+## Multiple selection
+
+With **AllowMultiSelection** set to **True** the user can select several rows that are not next to each other. Ctrl+click toggles one row, and Ctrl+Shift+click adds the rows from the current row to the one clicked. Every other click, and every assignment to **Row** or **RowSel**, discards the extra rows and selects only the new range.
+
+Each row carries a selected flag, and three properties read and write them:
+
+- [**RowSelected**](#rowselected) reads or sets the flag of one row, or of every row when the index is -1.
+- [**SelectedRows**](#selectedrows) counts the flagged rows.
+- [**SelectedRow**](#selectedrow) returns the number of the *n*-th flagged row, counting from 0 in row order.
+
+Multiple selection exists only in [**FlexSelectionModeByRow**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) and [**FlexSelectionModeFreeByRow**](../Enumerations/SelectionAndInput#flexselectionmodeconstants); in any other mode, setting **AllowMultiSelection** to **True** raises error 383. The flags work without **AllowMultiSelection** too: code can set them in any mode, and the rows are drawn selected. The [**MultiSelChange**](#multiselchange) event reports a change of the set of rows.
+
+```tb check_build check_run slot=sub id=selection-multi
+Dim g As VBFLXGRD18.VBFlexGrid
+Set g = VBFlexGrid1
+g.Rows = 8: g.Cols = 3
+g.SelectionMode = FlexSelectionModeByRow
+g.AllowMultiSelection = True         ' flags the current row, 1
+
+g.RowSelected(5) = True
+g.RowSelected(2) = True
+g.RowSelected(3) = True
+Debug.Print g.SelectedRows & " rows: " & g.SelectedRow(0) & " " & g.SelectedRow(1) & " " & g.SelectedRow(2) & " " & g.SelectedRow(3)
+Debug.Print "after the last: " & g.SelectedRow(4)
+
+g.RowSelected(3) = False
+Debug.Print g.SelectedRows & " rows, row 2 selected: " & g.RowSelected(2)
+
+g.RowSelected(-1) = True            ' every row, the fixed one included
+Debug.Print g.SelectedRows & " rows"
+g.RowSelected(-1) = False
+Debug.Print g.SelectedRows & " rows"
+
+g.RowSelected(4) = True
+g.Row = 6                           ' a move of the current cell starts over
+Debug.Print g.SelectedRows & " row: " & g.SelectedRow(0)
+
+g.SelectionMode = FlexSelectionModeFree
+Debug.Print "multi selection after the mode change: " & g.AllowMultiSelection
+' Output:
+' 4 rows: 1 2 3 5
+' after the last: -1
+' 3 rows, row 2 selected: True
+' 8 rows
+' 0 rows
+' 1 row: 6
+' multi selection after the mode change: False
+```
+
+## The order of the events
+
+A change of the current cell and a change of the selected range raise six events, and one assignment can raise several. The order is fixed:
+
+| # | Event | Raised | What a handler sees |
+|---|---|---|---|
+| 1 | [**BeforeRowColChange**](#beforerowcolchange) | Only when the current cell would move. | **Row** and **Col** still have the old cell. |
+| 2 | [**BeforeSelChange**](#beforeselchange) | Whenever the range would change. A move of the current cell always changes it. | **RowSel** and **ColSel** still have the old corner. |
+| 3 | [**LeaveCell**](#leavecell) | Only when the current cell moves. | Everything is still old. |
+| 4 | [**SelChange**](#selchange) | When the range has changed. | **Row**, **Col**, **RowSel** and **ColSel** are all new. |
+| 5 | [**MultiSelChange**](#multiselchange) | When **AllowMultiSelection** is **True** and the set of selected rows has changed. | The new state. |
+| 6 | [**EnterCell**](#entercell) | Only when the current cell has moved. | The new cell is current. |
+| 7 | [**RowColChange**](#rowcolchange) | After **EnterCell**. | The same as **EnterCell**. |
+
+The two *Before* events can be cancelled and the others cannot. The class below prints the state at each event; the samples that follow use it.
+
+```tb check_build projname=selection-trace slot=file
+Class SelectionTrace
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+
+    Public CancelRowCol As Boolean
+    Public CancelSel As Boolean
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    Private Function Where() As String
+        Where = "cell " & Grid.Row & "," & Grid.Col & " range " & Grid.RowSel & "," & Grid.ColSel
+    End Function
+
+    Private Sub Grid_BeforeRowColChange(ByVal NewRow As Long, ByVal NewCol As Long, Cancel As Boolean)
+        Debug.Print "BeforeRowColChange " & NewRow & "," & NewCol & " | " & Where()
+        Cancel = CancelRowCol
+    End Sub
+
+    Private Sub Grid_BeforeSelChange(ByVal NewRowSel As Long, ByVal NewColSel As Long, Cancel As Boolean)
+        Debug.Print "BeforeSelChange " & NewRowSel & "," & NewColSel & " | " & Where()
+        Cancel = CancelSel
+    End Sub
+
+    Private Sub Grid_LeaveCell()
+        Debug.Print "LeaveCell | " & Where()
+    End Sub
+
+    Private Sub Grid_SelChange()
+        Debug.Print "SelChange | " & Where()
+    End Sub
+
+    Private Sub Grid_MultiSelChange()
+        Debug.Print "MultiSelChange | " & Where()
+    End Sub
+
+    Private Sub Grid_EnterCell()
+        Debug.Print "EnterCell | " & Where()
+    End Sub
+
+    Private Sub Grid_RowColChange()
+        Debug.Print "RowColChange | " & Where()
+    End Sub
+End Class
+```
+
+Moving the current cell raises all of them; moving only the opposite corner raises **BeforeSelChange** and **SelChange**:
+
+```tb check_build check_run projname=selection-trace slot=sub id=selection-events
+VBFlexGrid1.Rows = 6: VBFlexGrid1.Cols = 4
+Dim t As New SelectionTrace
+t.Attach VBFlexGrid1
+
+Debug.Print "-- Row = 3"
+VBFlexGrid1.Row = 3
+Debug.Print "-- RowSel = 5"
+VBFlexGrid1.RowSel = 5
+' Output:
+' -- Row = 3
+' BeforeRowColChange 3,1 | cell 1,1 range 1,1
+' BeforeSelChange 3,1 | cell 1,1 range 1,1
+' LeaveCell | cell 1,1 range 1,1
+' SelChange | cell 3,1 range 3,1
+' EnterCell | cell 3,1 range 3,1
+' RowColChange | cell 3,1 range 3,1
+' -- RowSel = 5
+' BeforeSelChange 5,1 | cell 3,1 range 3,1
+' SelChange | cell 3,1 range 5,1
+```
+
+A move of the current cell always raises **BeforeSelChange** and **SelChange** as well, because the range moves with it. With **AllowMultiSelection** set, **MultiSelChange** comes between **SelChange** and **EnterCell**:
+
+```tb check_build check_run projname=selection-trace slot=sub id=selection-multi-events
+VBFlexGrid1.Rows = 6: VBFlexGrid1.Cols = 4
+VBFlexGrid1.SelectionMode = FlexSelectionModeByRow
+VBFlexGrid1.AllowMultiSelection = True
+Dim t As New SelectionTrace
+t.Attach VBFlexGrid1
+
+VBFlexGrid1.Row = 2
+Debug.Print "-- RowSelected(4) = True"
+VBFlexGrid1.RowSelected(4) = True   ' sets the flag and raises no event
+Debug.Print VBFlexGrid1.SelectedRows & " rows"
+' Output:
+' BeforeRowColChange 2,1 | cell 1,1 range 1,1
+' BeforeSelChange 2,1 | cell 1,1 range 1,1
+' LeaveCell | cell 1,1 range 1,1
+' SelChange | cell 2,1 range 2,1
+' MultiSelChange | cell 2,1 range 2,1
+' EnterCell | cell 2,1 range 2,1
+' RowColChange | cell 2,1 range 2,1
+' -- RowSelected(4) = True
+' 2 rows
+```
+
+### Cancelling a change
+
+**Cancel** in **BeforeRowColChange** keeps **Row** and **Col** where they are. **Cancel** in **BeforeSelChange** keeps **RowSel** and **ColSel**. Each cancels only its own pair: a move that one event refuses and the other allows leaves the current cell and the opposite corner apart, and the range between them is selected. To refuse a move completely, cancel both, as the second sample below does.
+
+
+> [!WARNING] 1.8.69.0
+> Cancelling **BeforeRowColChange** does not stop the selection. The current cell stays, but **BeforeSelChange** follows and **SelChange** is raised, and **RowSel** and **ColSel** move to the cell that was refused, so the range then runs from the old cell to it. A click on a cell that the handler refuses selects the same range. Cancel **BeforeSelChange** as well, when the new cell is also refused.
+
+```tb check_build check_run projname=selection-trace slot=sub id=selection-cancel-rowcol
+VBFlexGrid1.Rows = 6: VBFlexGrid1.Cols = 4
+Dim t As New SelectionTrace
+t.Attach VBFlexGrid1
+
+t.CancelRowCol = True
+VBFlexGrid1.Row = 4
+Debug.Print "now: cell " & VBFlexGrid1.Row & "," & VBFlexGrid1.Col & " range " & VBFlexGrid1.RowSel & "," & VBFlexGrid1.ColSel
+' Output:
+' BeforeRowColChange 4,1 | cell 1,1 range 1,1
+' BeforeSelChange 4,1 | cell 1,1 range 1,1
+' SelChange | cell 1,1 range 4,1
+' now: cell 1,1 range 4,1
+```
+
+```tb check_build check_run projname=selection-trace slot=sub id=selection-cancel-both
+VBFlexGrid1.Rows = 6: VBFlexGrid1.Cols = 4
+Dim t As New SelectionTrace
+t.Attach VBFlexGrid1
+
+t.CancelRowCol = True
+t.CancelSel = True
+VBFlexGrid1.Row = 4
+Debug.Print "now: cell " & VBFlexGrid1.Row & "," & VBFlexGrid1.Col & " range " & VBFlexGrid1.RowSel & "," & VBFlexGrid1.ColSel
+
+t.CancelRowCol = False
+t.CancelSel = True
+VBFlexGrid1.Row = 4
+Debug.Print "now: cell " & VBFlexGrid1.Row & "," & VBFlexGrid1.Col & " range " & VBFlexGrid1.RowSel & "," & VBFlexGrid1.ColSel
+' Output:
+' BeforeRowColChange 4,1 | cell 1,1 range 1,1
+' BeforeSelChange 4,1 | cell 1,1 range 1,1
+' now: cell 1,1 range 1,1
+' BeforeRowColChange 4,1 | cell 1,1 range 1,1
+' BeforeSelChange 4,1 | cell 1,1 range 1,1
+' LeaveCell | cell 1,1 range 1,1
+' EnterCell | cell 4,1 range 1,1
+' RowColChange | cell 4,1 range 1,1
+' now: cell 4,1 range 1,1
+```
+
+## Keyboard navigation
+
+[**TabBehavior**](#tabbehavior), [**WrapCellBehavior**](#wrapcellbehavior) and [**DirectionAfterReturn**](#directionafterreturn) decide where the Tab and Enter keys take the current cell. By default Tab leaves the grid for the next control and Enter does nothing. With the arrow keys, Home, End, Page Up and Page Down the current cell moves inside the grid; Shift extends the range, unless **AllowSelection** is **False**. The keys raise the same events as an assignment. Keyboard events and key codes are on the [Mouse, Keyboard and Drag and Drop](MouseAndKeyboard#the-keyboard-events) page.
+
+## Properties
+
+### Row
+{: .no_toc }
+
+Returns or sets the row of the current cell.
+
+Syntax: *object*.**Row** [ **=** *value* ]
+
+*value*
+: A **Long**, from 0 to [**Rows**](Structure#rows) - 1. Fixed rows are allowed.
+
+Assigning a value moves the current cell to that row of the current column, collapses the range to the cell, and raises the events in [the order above](#the-order-of-the-events). Assigning a row outside the grid raises error 30009, *Invalid Row value*, and so does assigning any value to a grid that has no rows. In a grid with no rows **Row** reads -1.
+
+### Col
+{: .no_toc }
+
+Returns or sets the column of the current cell.
+
+Syntax: *object*.**Col** [ **=** *value* ]
+
+*value*
+: A **Long**, from 0 to [**Cols**](Structure#cols) - 1. Fixed columns are allowed.
+
+Works as [**Row**](#row) does, for the column. An invalid column raises error 30010, *Invalid Col value*.
+
+### RowSel
+{: .no_toc }
+
+Returns or sets the row of the corner of the range that is opposite the current cell.
+
+Syntax: *object*.**RowSel** [ **=** *value* ]
+
+*value*
+: A **Long**, from 0 to **Rows** - 1.
+
+The current cell does not move. A value outside the grid raises error 30009. See [**AllowSelection**](#allowselection) for when the assignment has no effect.
+
+### ColSel
+{: .no_toc }
+
+Returns or sets the column of the corner of the range that is opposite the current cell.
+
+Syntax: *object*.**ColSel** [ **=** *value* ]
+
+*value*
+: A **Long**, from 0 to **Cols** - 1.
+
+A value outside the grid raises error 30010.
+
+### SelectionMode
+{: .no_toc }
+
+Returns or sets what a click or a key selects. A [**FlexSelectionModeConstants**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) member. Default: **FlexSelectionModeFree**.
+
+Syntax: *object*.**SelectionMode** [ **=** *value* ]
+
+Any other value raises error 380. The modes are described under [Selection modes](#selection-modes). Switching to a mode other than **FlexSelectionModeByRow** or **FlexSelectionModeFreeByRow** sets **AllowMultiSelection** to **False** and clears the selected flags of the rows.
+
+### AllowSelection
+{: .no_toc }
+
+Returns or sets whether the user can select a range of more than one cell. **Boolean**. Default: **True**.
+
+Syntax: *object*.**AllowSelection** [ **=** *value* ]
+
+When **False**, a click selects its cell only and Shift+click moves the current cell. In the modes that select single cells, an assignment to **RowSel** or **ColSel** has no effect, as a range of one cell is all that exists. By-row mode does not restrict **ColSel** and by-column mode does not restrict **RowSel**. Changing the value does not change the range that is already selected.
+
+With **AllowMultiSelection** set and **AllowSelection** **False**, [**AllowBigSelection**](#allowbigselection) decides whether Ctrl+click and Ctrl+Shift+click can add rows.
+
+### AllowBigSelection
+{: .no_toc }
+
+Returns or sets whether a click on a column heading or a row heading selects the whole column or row. **Boolean**. Default: **True**.
+
+Syntax: *object*.**AllowBigSelection** [ **=** *value* ]
+
+The headings are the fixed rows and columns. Clicking the corner cell, where a fixed row and a fixed column cross, selects every cell that is not fixed. With **AllowMultiSelection** set and **AllowSelection** **False**, setting this to **False** makes selection strictly single: [**SelectedRows**](#selectedrows) then returns 0 or 1.
+
+### AllowMultiSelection
+{: .no_toc }
+
+Returns or sets whether the user can select several rows that are not next to each other. **Boolean**. Default: **False**.
+
+Syntax: *object*.**AllowMultiSelection** [ **=** *value* ]
+
+Setting it to **True** in a mode other than **FlexSelectionModeByRow** or **FlexSelectionModeFreeByRow** raises error 383. Setting it to **True** flags the current range as selected; setting it to **False** clears all the flags. See [Multiple selection](#multiple-selection).
+
+### SelectedRow
+{: .no_toc }
+
+Returns the number of one of the selected rows.
+
+Syntax: *object*.**SelectedRow** ( *Index* ) **As Long**
+
+*Index*
+: *required* A **Long** from 0 to [**SelectedRows**](#selectedrows) - 1. The selected rows are in order, from the top.
+
+Returns -1 for an index that is outside that range. While the user drags the mouse, the rows covered so far are counted as selected, or as not selected when the drag started on a selected row.
+
+### SelectedRows
+{: .no_toc }
+
+Returns the number of selected rows. **Long**, read-only.
+
+Syntax: *object*.**SelectedRows**
+
+It counts the rows whose flag is set, so it can be used without **AllowMultiSelection**. With multiple selection off and no flag set it returns 0, even though a range is selected.
+
+### RowSelected
+{: .no_toc }
+
+Returns or sets the selected flag of a row.
+
+Syntax: *object*.**RowSelected** ( *Index* ) [ **=** *value* ]
+
+*Index*
+: *required* A **Long**, the row number. A *Let* also accepts -1 for every row, the fixed rows included.
+
+*value*
+: A **Boolean**.
+
+An index outside the grid raises error 30009, and so does reading with -1. Assigning the flag raises no event, but it redraws the grid and makes [**SelectedRows**](#selectedrows) count again. A later change of the selection, by the user or by code, replaces the flags when **AllowMultiSelection** is **True**.
+
+### MultiSelChangeTime
+{: .no_toc }
+
+Returns or sets how long, in milliseconds, the control waits before it raises [**MultiSelChange**](#multiselchange) after the user changed the set of selected rows with the mouse or the keyboard. **Long**. Default: 0.
+
+Syntax: *object*.**MultiSelChangeTime** [ **=** *value* ]
+
+*value*
+: A **Long** from 0 to 65535. With 0 the event is raised at once. Another value raises error 380.
+
+A change made by code is reported at once, whatever this value is.
+
+### HighLight
+{: .no_toc }
+
+Returns or sets when selected cells are drawn in the selection colours. A [**FlexHighLightConstants**](../Enumerations/SelectionAndInput#flexhighlightconstants) member. Default: **FlexHighLightAlways**.
+
+Syntax: *object*.**HighLight** [ **=** *value* ]
+
+**FlexHighLightNever** never draws the selection. **FlexHighLightAlways** draws it even when the grid does not have the focus. **FlexHighLightWithFocus** draws it only while the grid has the focus. **FlexHighLightAlwaysFocusRect** differs from **FlexHighLightAlways** only while the grid does not have the focus: the current cell is then drawn highlighted like the rest of the range. The first three have the values of MSFlexGrid's constants. Any other value raises error 380.
+
+### FocusRect
+{: .no_toc }
+
+Returns or sets how the current cell is outlined. A [**FlexFocusRectConstants**](../Enumerations/SelectionAndInput#flexfocusrectconstants) member. Default: **FlexFocusRectLight**.
+
+Syntax: *object*.**FocusRect** [ **=** *value* ]
+
+**FlexFocusRectNone** draws nothing. **FlexFocusRectLight** draws one dotted focus rectangle, **FlexFocusRectHeavy** draws a second one inside the first, and **FlexFocusRectFlat** draws a solid rectangle of [**FocusRectWidth**](#focusrectwidth) pixels in the colour **BackColorSel**. Any other value raises error 380.
+
+### FocusRectWidth
+{: .no_toc }
+
+Returns or sets the width in pixels of the solid focus rectangle. **Integer**. Default: -1, the width of the system's focus border.
+
+Syntax: *object*.**FocusRectWidth** [ **=** *value* ]
+
+It affects only **FlexFocusRectFlat**. Reading it returns the width in use, not -1. A value below 1 other than -1 raises error 380.
+
+### DirectionAfterReturn
+{: .no_toc }
+
+Returns or sets where the current cell goes when the user presses Enter. A [**FlexDirectionAfterReturnConstants**](../Enumerations/SelectionAndInput#flexdirectionafterreturnconstants) member. Default: **FlexDirectionAfterReturnNone**.
+
+Syntax: *object*.**DirectionAfterReturn** [ **=** *value* ]
+
+With **FlexDirectionAfterReturnNone** the key does nothing; **Up**, **Down**, **Left** and **Right** move the current cell one step. **FlexDirectionAfterReturnEdit** starts an edit instead (see [**AllowUserEditing**](Editing#allowuserediting)). The grid also moves the current cell in this direction after an edit that was closed with Enter. [**WrapCellBehavior**](#wrapcellbehavior) decides what happens at the edge. Any other value raises error 380.
+
+### TabBehavior
+{: .no_toc }
+
+Returns or sets what the Tab key does. A [**FlexTabBehaviorConstants**](../Enumerations/SelectionAndInput#flextabbehaviorconstants) member. Default: **FlexTabControls**.
+
+Syntax: *object*.**TabBehavior** [ **=** *value* ]
+
+**FlexTabControls** leaves the grid for the next control on the form, as for any control. **FlexTabCells** keeps the focus in the grid and moves the current cell to the next cell, or to the previous one with Shift. **FlexTabNext** moves the current cell as long as there is a cell to move to, and then leaves for the next control. Any other value raises error 380.
+
+### WrapCellBehavior
+{: .no_toc }
+
+Returns or sets what the grid does when the Tab or Enter key moves past the last or first cell of a row. A [**FlexWrapCellBehaviorConstants**](../Enumerations/SelectionAndInput#flexwrapcellbehaviorconstants) member. Default: **FlexWrapNone**.
+
+Syntax: *object*.**WrapCellBehavior** [ **=** *value* ]
+
+With **FlexWrapNone** the current cell stays at the edge. **FlexWrapRow** continues in the next row, or the previous one, and stops at the first and last cells of the grid. **FlexWrapGrid** also wraps from the last cell of the grid to the first and back. Any other value raises error 380.
+
+### WantReturn
+{: .no_toc }
+
+Returns or sets whether the grid receives the Enter key when the form has a default button. **Boolean**. Default: **False**.
+
+Syntax: *object*.**WantReturn** [ **=** *value* ]
+
+With **False**, Enter presses the form's default button. With **True** the grid handles the key, and the button is not pressed. It makes a difference only when the form has a default button.
+
+## Methods
+
+### SelectRange
+{: .no_toc }
+
+Selects a range of cells, or one cell, with one call and one set of events.
+
+Syntax: *object*.**SelectRange** ( *Row*, *Col* [, *RowSel* [, *ColSel*]] )
+
+*Row*, *Col*
+: *required* **Long** The current cell.
+
+*RowSel*, *ColSel*
+: *optional* **Long** The opposite corner. When omitted (or -1), *RowSel* is *Row* and *ColSel* is *Col*, except that in [**FlexSelectionModeByRow**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) *ColSel* is the last column and in [**FlexSelectionModeByColumn**](../Enumerations/SelectionAndInput#flexselectionmodeconstants) *RowSel* is the last row.
+
+A value outside the grid raises error 381, *Subscript out of range*.
+
+### SelectAll
+{: .no_toc }
+
+Selects every cell that is not fixed.
+
+Syntax: *object*.**SelectAll**
+
+The current cell is the first cell after the fixed rows and columns, and the opposite corner is the last cell of the grid. A grid with no rows or no columns is left alone. A key handler can call it to give Ctrl+A its usual meaning.
+
+### GetSelRange
+{: .no_toc }
+
+Returns the edges of the selected range, ordered.
+
+Syntax: *object*.**GetSelRange** ( *Row1*, *Col1*, *Row2*, *Col2* )
+
+*Row1*, *Col1*, *Row2*, *Col2*
+: *required* **Long** variables passed by reference. They receive the top row, the left column, the bottom row and the right column, so *Row1* <= *Row2* and *Col1* <= *Col2*, whichever corner is the current cell.
+
+## Events
+
+### BeforeRowColChange
+{: .no_toc }
+
+Occurs before the current cell changes.
+
+Syntax: **Private Sub** *object*\_**BeforeRowColChange** ( **ByVal** *NewRow* **As Long**, **ByVal** *NewCol* **As Long**, *Cancel* **As Boolean** )
+
+*NewRow*, *NewCol*
+: The cell that is about to become current.
+
+*Cancel*
+: Set to **True** to keep the current cell where it is.
+
+**Row** and **Col** still have the old values in the handler. The event is raised only when the cell really changes. For what a cancel leaves behind, see [Cancelling a change](#cancelling-a-change).
+
+### RowColChange
+{: .no_toc }
+
+Occurs when the current cell has changed.
+
+Syntax: **Private Sub** *object*\_**RowColChange** ( )
+
+The last event of a change of the current cell. The edit of a cell and the hit test of a click are available as usual.
+
+### BeforeSelChange
+{: .no_toc }
+
+Occurs before the selected range changes.
+
+Syntax: **Private Sub** *object*\_**BeforeSelChange** ( **ByVal** *NewRowSel* **As Long**, **ByVal** *NewColSel* **As Long**, *Cancel* **As Boolean** )
+
+*NewRowSel*, *NewColSel*
+: The corner that is about to become the opposite one.
+
+*Cancel*
+: Set to **True** to keep **RowSel** and **ColSel** where they are.
+
+### SelChange
+{: .no_toc }
+
+Occurs when the selected range has changed.
+
+Syntax: **Private Sub** *object*\_**SelChange** ( )
+
+**Row**, **Col**, **RowSel** and **ColSel** have their new values. Use [**GetSelRange**](#getselrange) to read the range in order.
+
+### EnterCell
+{: .no_toc }
+
+Occurs when the current cell has moved, before [**RowColChange**](#rowcolchange).
+
+Syntax: **Private Sub** *object*\_**EnterCell** ( )
+
+### LeaveCell
+{: .no_toc }
+
+Occurs when the current cell moves, while **Row** and **Col** still have the old cell.
+
+Syntax: **Private Sub** *object*\_**LeaveCell** ( )
+
+It is raised after the *Before* events have allowed the move and before the new cell is stored, so it is the place to read the old cell.
+
+### MultiSelChange
+{: .no_toc }
+
+Occurs when the set of selected rows changes.
+
+Syntax: **Private Sub** *object*\_**MultiSelChange** ( )
+
+Raised only with [**AllowMultiSelection**](#allowmultiselection). A change that the user makes with the mouse is reported after [**MultiSelChangeTime**](#multiselchangetime) milliseconds; every other change is reported at once. Setting [**RowSelected**](#rowselected) raises no event.
+
+```tb check_build
+Private Sub VBFlexGrid1_BeforeRowColChange(ByVal NewRow As Long, ByVal NewCol As Long, Cancel As Boolean)
+    ' Refuse a move to a cell that cannot be used, and keep the selection too.
+    If NewCol = 3 Then Cancel = True
+End Sub
+
+Private Sub VBFlexGrid1_BeforeSelChange(ByVal NewRowSel As Long, ByVal NewColSel As Long, Cancel As Boolean)
+    If NewColSel = 3 Then Cancel = True
+End Sub
+
+Private Sub VBFlexGrid1_MultiSelChange()
+    Debug.Print VBFlexGrid1.SelectedRows & " rows selected"
+End Sub
+```
+
+## See Also
+
+- [VBFlexGrid](.) -- the control
+- [Scrolling](Scrolling) -- the visible part of the grid
+- [Mouse, Keyboard and Drag and Drop](MouseAndKeyboard) -- clicks, keys and hit testing
+- [Editing Cells](Editing) -- an edit starts in the current cell
+- [FlexSelectionModeConstants](../Enumerations/SelectionAndInput#flexselectionmodeconstants), [FlexHighLightConstants](../Enumerations/SelectionAndInput#flexhighlightconstants), [FlexFocusRectConstants](../Enumerations/SelectionAndInput#flexfocusrectconstants), [FlexTabBehaviorConstants](../Enumerations/SelectionAndInput#flextabbehaviorconstants), [FlexDirectionAfterReturnConstants](../Enumerations/SelectionAndInput#flexdirectionafterreturnconstants), [FlexWrapCellBehaviorConstants](../Enumerations/SelectionAndInput#flexwrapcellbehaviorconstants)
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Sizing.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Sizing.md
new file mode 100644
index 000000000..04fba518d
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Sizing.md
@@ -0,0 +1,553 @@
+---
+title: Sizes and Positions
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Sizing
+has_toc: false
+---
+
+# Sizes and Positions
+{: .no_toc }
+
+The members that set the heights of the rows and the widths of the columns of a **VBFlexGrid**, let the user resize them, fit them to their contents, and report where cells and the client area are.
+
+All sizes and positions here are in twips. The control keeps them in pixels, so a value that is read back can differ from the one assigned by the rounding to whole pixels.
+
+A row or a column that has no size of its own has the default size. The default height of a row is the height of one line of the font plus a small spacing, and the default width of a column is four times that height. When [**FontFixed**](Appearance#fontfixed) is set, the fixed rows and columns have the default size of that font. Setting a row height or a column width to -1 gives the row or the column the default size again.
+
+The size of a row or a column is found in this order:
+
+1. A hidden row or column has the size 0.
+2. A row has the height that was set for it with [**RowHeight**](#rowheight). When none was set, it has [**RowHeightUniform**](#rowheightuniform) if that is not -1, and otherwise the default height. A column has the width set with [**ColWidth**](#colwidth), or else the default width.
+3. A size that is not 0 is raised to [**RowHeightMin**](#rowheightmin) or [**ColWidthMin**](#colwidthmin) when it is smaller, and lowered to [**RowHeightMax**](#rowheightmax) or [**ColWidthMax**](#colwidthmax) when it is larger, when these are not 0.
+
+[**RowHeight**](#rowheight) and [**ColWidth**](#colwidth) return the result of this order, not the number that was assigned. The last column can be widened to fill the control by [**ExtendLastCol**](#extendlastcol), which changes what is drawn and not what **ColWidth** returns.
+
+The user resizes a column by dragging the divider at its right edge in a fixed row, and a row by dragging the divider at its bottom edge in a fixed column, when [**AllowUserResizing**](#allowuserresizing) permits. [**RowResizable**](#rowresizable) and [**ColResizable**](#colresizable) exclude single rows and columns, and the events [**BeforeUserResize**](#beforeuserresize), [**AfterUserResize**](#afteruserresize) and [**AfterUserResizeEnd**](#afteruserresizeend) report the drag. A double click on a divider raises [**DividerDblClick**](#dividerdblclick); the grid does not resize anything then, but a handler can call [**AutoSize**](#autosize) to fit the row or the column.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 4
+    .Cols = 3
+    .TextMatrix(1, 1) = "ab"
+    .TextMatrix(2, 1) = "a much longer piece of text"
+    Dim before As Long
+    before = .ColWidth(1)
+    .AutoSize 1                                  ' fit column 1 to its longest text
+    Debug.Print "Widened: " & (.ColWidth(1) > before)
+    .RowHeight(2) = 900
+    Debug.Print "Taller: " & (.RowHeight(2) > .RowHeight(1))
+    .RowHeight(-1) = -1                          ' every row back to the default
+    Debug.Print "Equal: " & (.RowHeight(2) = .RowHeight(1))
+    .RowHidden(3) = True
+    Debug.Print "Hidden: " & .RowHeight(3)
+End With
+' Output:
+' Widened: True
+' Taller: True
+' Equal: True
+' Hidden: 0
+```
+
+The position of a cell on the screen is given by [**RowPos**](#rowpos) and [**ColPos**](#colpos) for any row and column, and by [**CellLeft**](#cellleft), [**CellTop**](#celltop), [**CellWidth**](#cellwidth) and [**CellHeight**](#cellheight) for the current cell. [**ClientLeft**](#clientleft), [**ClientTop**](#clienttop), [**ClientWidth**](#clientwidth) and [**ClientHeight**](#clientheight) give the area inside the border and the scroll bars. The grid line of a cell lies inside the cell's rectangle, on its right and bottom side; [**GetGridLineOffsets**](#getgridlineoffsets) tells how much of the cell it takes. [**TextWidth**](#textwidth) and [**TextHeight**](#textheight) measure a text in the font of a cell, and [**GetMetrics**](#getmetrics) returns the fixed sizes that the control adds.
+
+* TOC
+{:toc}
+
+## Properties
+
+### AllowUserResizing
+{: .no_toc }
+
+Returns or sets whether the user can resize rows and columns with the mouse. A [**FlexAllowUserResizingConstants**](../Enumerations/CellsAndAppearance#flexallowuserresizingconstants) member. Default: **FlexAllowUserResizingNone**.
+
+Syntax: *object*.**AllowUserResizing** [ = *value* ]
+
+With **FlexAllowUserResizingColumns**, **FlexAllowUserResizingRows** or **FlexAllowUserResizingBoth** the user can drag the right edge of a column in a fixed row, and the bottom edge of a row in a fixed column. A row or column whose **RowResizable** or **ColResizable** is **False** cannot be dragged. A value that is not a member of the enumeration raises run-time error 380.
+
+### BestFitMode
+{: .no_toc }
+
+Returns or sets which parts of a cell [**AutoSize**](#autosize) and [**FormatString**](Structure#formatstring) take into account for the best fit. A [**FlexBestFitModeConstants**](../Enumerations/CellsAndAppearance#flexbestfitmodeconstants) member. Default: **FlexBestFitModeTextOnly**.
+
+Syntax: *object*.**BestFitMode** [ = *value* ]
+
+With **FlexBestFitModeTextOnly** the best fit is the width of the text. The other modes add what shares the cell with the text:
+
+| Value | Adds to the text |
+|-------|------------------|
+| **FlexBestFitModeFull** | the room of a combo button, of a check box beside the text and of a picture that does not overlap the text, and of a sort arrow |
+| **FlexBestFitModeSortArrowText** | the room of a sort arrow |
+| **FlexBestFitModeOtherText** | the room of a combo button, a check box and a picture, but not of a sort arrow |
+
+The sort arrow counts only in the fixed row named by [**RowSortArrows**](SortingAndSearching#rowsortarrows). The text of a cell that shows a picture from the column's image list, or a check box in place of the text (**FlexTextAsCheckBox**), does not count. A column whose [**ColTextIndent**](Text#coltextindent) is **True** gets the indentation from the **CellTextIndent** event added in every mode. A value that is not a member of the enumeration raises run-time error 380.
+
+### CellHeight
+{: .no_toc }
+
+Returns the height of the current cell. A **Long**, in twips. Read-only.
+
+Syntax: *object*.**CellHeight**
+
+The height is that of the row less the grid line, so it is [**RowHeight**](#rowheight) of the current row less the top and bottom offsets of [**GetGridLineOffsets**](#getgridlineoffsets). Reading it first scrolls the grid so that the current cell is visible. When the grid has no current cell, that is when it has no rows or columns, it raises run-time error 30009 or 30010.
+
+### CellLeft
+{: .no_toc }
+
+Returns the distance between the left edge of the control and the left edge of the current cell, in twips. A **Long**. Read-only.
+
+Syntax: *object*.**CellLeft**
+
+The distance is measured from the edge of the control, so the border of the control is included. Reading it first scrolls the grid so that the current cell is visible. The errors are those of [**CellHeight**](#cellheight).
+
+### CellTop
+{: .no_toc }
+
+Returns the distance between the top edge of the control and the top edge of the current cell, in twips. A **Long**. Read-only.
+
+Syntax: *object*.**CellTop**
+
+It is measured as [**CellLeft**](#cellleft) is, with the border included, and has the same side effect and the same errors. Together **CellLeft** and **CellTop** place a control, such as a text box or a combo box of your own, over the current cell.
+
+### CellWidth
+{: .no_toc }
+
+Returns the width of the current cell. A **Long**, in twips. Read-only.
+
+Syntax: *object*.**CellWidth**
+
+The width is that of the column less the grid line: the result is [**ColWidth**](#colwidth) of the current column less the left and right offsets of [**GetGridLineOffsets**](#getgridlineoffsets). It has the same side effect and the same errors as [**CellHeight**](#cellheight).
+
+### ClientHeight
+{: .no_toc }
+
+Returns the height of the client area of the control, the part inside the border and the horizontal scroll bar. A **Long**, in twips. Read-only.
+
+Syntax: *object*.**ClientHeight**
+
+### ClientLeft
+{: .no_toc }
+
+Returns the distance between the left edge of the control and the left edge of its client area, in twips. A **Long**. Read-only.
+
+Syntax: *object*.**ClientLeft**
+
+The distance is the width of the border of the control on the left.
+
+### ClientTop
+{: .no_toc }
+
+Returns the distance between the top edge of the control and the top edge of its client area, in twips. A **Long**. Read-only.
+
+Syntax: *object*.**ClientTop**
+
+### ClientWidth
+{: .no_toc }
+
+Returns the width of the client area of the control, the part inside the border and the vertical scroll bar. A **Long**, in twips. Read-only.
+
+Syntax: *object*.**ClientWidth**
+
+### ColPos
+{: .no_toc }
+
+Returns the distance between the left edge of the client area and the left edge of a column, in twips. A **Long**. Read-only.
+
+Syntax: *object*.**ColPos**(*Index*)
+
+*Index*
+: *required* A **Long**: the column. A column the grid does not have raises run-time error 30010.
+
+The position is the one the column has now: a column that is scrolled out to the left of the first visible column has a negative position, and one that is scrolled out to the right a position beyond the client area. The fixed and frozen columns are always at the left.
+
+### ColResizable
+{: .no_toc }
+
+Returns or sets whether the user can resize a column with the mouse. **Boolean**. Default: **True**.
+
+Syntax: *object*.**ColResizable**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the column. For the assignment, -1 sets every column. A column the grid does not have raises run-time error 30010.
+
+It has no effect on [**ColWidth**](#colwidth) and on the program, only on the mouse, and only when [**AllowUserResizing**](#allowuserresizing) allows the resizing of columns.
+
+### ColWidth
+{: .no_toc }
+
+Returns or sets the width of a column, in twips. A **Long**.
+
+Syntax: *object*.**ColWidth**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the column. For the assignment, -1 sets every column. A column the grid does not have raises run-time error 30010.
+
+*value*
+: A **Long**: the width, or -1 for the default width. A smaller value raises run-time error 30014 (*Invalid Col Width value*). 0 gives the column no width without hiding it: [**ColHidden**](Structure#colhidden) stays **False**.
+
+The result is the width that the column has, as the introduction of this page lists. It is 0 for a hidden column, it is limited by [**ColWidthMin**](#colwidthmin) and [**ColWidthMax**](#colwidthmax), and it does not include what [**ExtendLastCol**](#extendlastcol) adds to the last column.
+
+### ColWidthMax
+{: .no_toc }
+
+Returns or sets the largest width that a column has, in twips. A **Long**. Default: 0, which means no limit.
+
+Syntax: *object*.**ColWidthMax** [ = *value* ]
+
+A column that is wider is shown at this width, and a column whose width is 0 is not changed. A negative *value* raises run-time error 30014.
+
+### ColWidthMin
+{: .no_toc }
+
+Returns or sets the smallest width that a column has, in twips. A **Long**. Default: 0, which means no limit.
+
+Syntax: *object*.**ColWidthMin** [ = *value* ]
+
+A column that is narrower is shown at this width, and a column whose width is 0 is not changed. A negative *value* raises run-time error 30014.
+
+### ExtendLastCol
+{: .no_toc }
+
+Returns or sets whether the last column is widened to fill the client area. **Boolean**. Default: **False**.
+
+Syntax: *object*.**ExtendLastCol** [ = *value* ]
+
+When the columns together are narrower than the client area, the last column that is not hidden and has a width is drawn wider by the difference, so that no empty space is left on the right. The width that [**ColWidth**](#colwidth) returns for the column does not change, and the user cannot drag the divider on the right of the extended column.
+
+### FixGridLineOffsets
+{: .no_toc }
+
+Returns or sets whether the grid line offsets follow the grid line style. **Boolean**. Default: **False**.
+
+Syntax: *object*.**FixGridLineOffsets** [ = *value* ]
+
+With **False** the offsets of every cell are those of the Microsoft FlexGrid control: 0 on the left and on the top and one pixel on the right and at the bottom, whatever [**GridLines**](Appearance#gridlines) is. That keeps the cells the same size and position as they have in that control. With **True** they follow the style of the cell's grid lines: none for **FlexGridLineNone**, one pixel on the right and at the bottom for the flat, inset, dashed and dotted lines, one pixel on the left and on the top for the raised lines, and in the same way for the styles that draw horizontal or vertical lines only. The border at the end of the sheet ([**SheetBorder**](Appearance#sheetborder)) and the lines of the frozen area add what they need.
+
+### RowHeight
+{: .no_toc }
+
+Returns or sets the height of a row, in twips. A **Long**.
+
+Syntax: *object*.**RowHeight**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the row. For the assignment, -1 sets every row. A row the grid does not have raises run-time error 30009.
+
+*value*
+: A **Long**: the height, or -1 for the default height. A smaller value raises run-time error 30013 (*Invalid Row Height value*). 0 gives the row no height without hiding it: [**RowHidden**](Structure#rowhidden) stays **False**.
+
+The result is the height that the row has, as the introduction of this page lists. It is 0 for a hidden row, and it is limited by [**RowHeightMin**](#rowheightmin) and [**RowHeightMax**](#rowheightmax).
+
+### RowHeightMax
+{: .no_toc }
+
+Returns or sets the largest height that a row has, in twips. A **Long**. Default: 0, which means no limit.
+
+Syntax: *object*.**RowHeightMax** [ = *value* ]
+
+A row that is taller is shown at this height, and a row whose height is 0 is not changed. A negative *value* raises run-time error 30013.
+
+### RowHeightMin
+{: .no_toc }
+
+Returns or sets the smallest height that a row has, in twips. A **Long**. Default: 0, which means no limit.
+
+Syntax: *object*.**RowHeightMin** [ = *value* ]
+
+A row that is lower is shown at this height, and a row whose height is 0 is not changed. A negative *value* raises run-time error 30013.
+
+### RowHeightUniform
+{: .no_toc }
+
+Returns or sets the height of all rows that have no height of their own, in twips. A **Long**. Default: -1, which means no uniform height.
+
+Syntax: *object*.**RowHeightUniform** [ = *value* ]
+
+A row whose height was set with [**RowHeight**](#rowheight) keeps it. Rows without one have this height instead of the default. With [**RowSizingMode**](#rowsizingmode) set to **FlexRowSizingModeUniform**, resizing one row with the mouse sets this property and makes all the rows equal. A *value* below -1 raises run-time error 30013.
+
+### RowPos
+{: .no_toc }
+
+Returns the distance between the top edge of the client area and the top edge of a row, in twips. A **Long**. Read-only.
+
+Syntax: *object*.**RowPos**(*Index*)
+
+*Index*
+: *required* A **Long**: the row. A row the grid does not have raises run-time error 30009.
+
+The position is the one the row has now, as for [**ColPos**](#colpos): the fixed and frozen rows are always at the top, and a row scrolled out above the first visible row has a negative position.
+
+### RowResizable
+{: .no_toc }
+
+Returns or sets whether the user can resize a row with the mouse. **Boolean**. Default: **True**.
+
+Syntax: *object*.**RowResizable**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the row. For the assignment, -1 sets every row. A row the grid does not have raises run-time error 30009.
+
+It has no effect on [**RowHeight**](#rowheight) and on the program, only on the mouse, and only when [**AllowUserResizing**](#allowuserresizing) allows the resizing of rows.
+
+### RowSizingMode
+{: .no_toc }
+
+Returns or sets what happens to the other rows when the user resizes one. A [**FlexRowSizingModeConstants**](../Enumerations/CellsAndAppearance#flexrowsizingmodeconstants) member. Default: **FlexRowSizingModeIndividual**.
+
+Syntax: *object*.**RowSizingMode** [ = *value* ]
+
+| Value | The user resizes a row |
+|-------|------------------------|
+| **FlexRowSizingModeIndividual** | and only that row changes its height |
+| **FlexRowSizingModeAll** | and every row gets that height |
+| **FlexRowSizingModeUniform** | and [**RowHeightUniform**](#rowheightuniform) is set to that height, while the row itself goes back to using it |
+
+The property concerns the mouse only; assigning [**RowHeight**](#rowheight) works as always. A value that is not a member of the enumeration raises run-time error 380.
+
+## Methods
+
+### AutoSize
+{: .no_toc }
+
+Sets the widths of columns or the heights of rows to fit their contents.
+
+Syntax: *object*.**AutoSize** *RowOrCol1* [ , *RowOrCol2* [ , *Mode* [ , *Scope* [ , *Equal* [ , *ExtraSpace* [ , *ExcludeHidden* ] ] ] ] ] ]
+
+*RowOrCol1*
+: *required* A **Long**: the first column (or row, for the mode **FlexAutoSizeModeRowHeight**) to fit.
+
+*RowOrCol2*
+: *optional* A **Long**: the last column or row. The default, -1, is the same as *RowOrCol1*. A range can run backward. A value below -1 raises run-time error 380.
+
+*Mode*
+: *optional* A [**FlexAutoSizeModeConstants**](../Enumerations/CellsAndAppearance#flexautosizemodeconstants) member: **FlexAutoSizeModeColWidth** (the default) fits column widths, **FlexAutoSizeModeRowHeight** row heights.
+
+*Scope*
+: *optional* A [**FlexAutoSizeScopeConstants**](../Enumerations/CellsAndAppearance#flexautosizescopeconstants) member: the cells of each column (or row) that are measured. **FlexAutoSizeScopeAll** (the default) is all of them, **FlexAutoSizeScopeFixed** the fixed cells, **FlexAutoSizeScopeScrollable** the cells that are neither fixed nor frozen, **FlexAutoSizeScopeMovable** all cells that are not fixed, and **FlexAutoSizeScopeFrozen** the frozen ones.
+
+*Equal*
+: *optional* A **Boolean**: **True** gives all the columns or rows the same size, that of the biggest. The default is **False**.
+
+*ExtraSpace*
+: *optional* A **Long**: twips added to each size, on top of the cell spacing. The default is 0.
+
+*ExcludeHidden*
+: *optional* A **Boolean**: **True** leaves hidden columns and rows out, both as the ones to fit and as the cells to measure. The default is **False**, so that a hidden row still counts.
+
+A column or row that was fitted has the size of the biggest cell in its scope, but never less than the default size: the size of the column is first reset to the default, and then raised. The cell text is measured in the font of the cell, in what [**BestFitMode**](#bestfitmode) says, and as the cell displays it. **AutoSize** does nothing for a grid without rows or columns. A column or row that the grid does not have raises run-time error 381, and a mode or scope that is not a member of its enumeration raises 380.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 3
+    .TextMatrix(1, 1) = "ab"
+    .TextMatrix(2, 1) = "a much longer piece of text"
+    .TextMatrix(1, 2) = "x"
+    .AutoSize 1, 2, , , True                    ' columns 1 and 2, all of the same width
+    Debug.Print .ColWidth(1) = .ColWidth(2)
+    .RowHeight(1) = 3000
+    .AutoSize 1, 2, FlexAutoSizeModeRowHeight   ' rows 1 and 2 fit their text
+    Debug.Print .RowHeight(1) < 3000
+End With
+' Output:
+' True
+' True
+```
+
+### GetGridLineOffsets
+{: .no_toc }
+
+Returns how much of a cell's rectangle its grid lines take on each side.
+
+Syntax: *object*.**GetGridLineOffsets** *Left*, *Top*, *Right*, *Bottom* [ , *Row* [ , *Col* ] ]
+
+*Left*, *Top*, *Right*, *Bottom*
+: *required* **Long** variables that receive the offsets in twips.
+
+*Row*, *Col*
+: *optional* **Long**: the cell. -1 (the default) is the current row or column. A cell the grid does not have raises run-time error 381; a value below -1 raises 380.
+
+The offsets depend on [**FixGridLineOffsets**](#fixgridlineoffsets). With the default of **False** they are 0, 0, one pixel, one pixel for every cell. With **True** the last row and the last column have a pixel on the bottom and on the right in any case, for the line of [**SheetBorder**](Appearance#sheetborder). The cell's content is drawn inside the rectangle less the offsets, as [**CellWidth**](#cellwidth) and [**CellHeight**](#cellheight) show.
+
+```tb check_build check_run slot=sub
+Dim l As Long, t As Long, r As Long, b As Long
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 3
+    .GetGridLineOffsets l, t, r, b
+    Debug.Print l & " " & t & " " & (r > 0) & " " & (b > 0)
+    .FixGridLineOffsets = True
+    .GridLines = FlexGridLineRaised
+    .GetGridLineOffsets l, t, r, b, 1, 1
+    Debug.Print (l > 0) & " " & (t > 0) & " " & r & " " & b
+    .GridLines = FlexGridLineNone
+    .GetGridLineOffsets l, t, r, b, 1, 1
+    Debug.Print l & " " & t & " " & r & " " & b
+End With
+' Output:
+' 0 0 True True
+' True True 0 0
+' 0 0 0 0
+```
+
+### GetMetrics
+{: .no_toc }
+
+Returns one of the fixed sizes that the control uses.
+
+Syntax: *object*.**GetMetrics** *Metric*, *CX*, *CY*
+
+*Metric*
+: *required* A [**FlexMetricConstants**](../Enumerations/CellsAndAppearance#flexmetricconstants) member. Another value raises run-time error 380.
+
+*CX*, *CY*
+: *required* **Long** variables that receive the width and the height, in twips.
+
+The metrics are:
+
+| Metric | Size |
+|--------|------|
+| **FlexMetricDividerSpacing** | the margin on each side of a divider in which the mouse pointer counts as being on the divider |
+| **FlexMetricTextPadding** | the space between the border of a cell and its text |
+| **FlexMetricCellSpacing** | the size that is added to the size of the text for the default size of rows and columns and for the best fit |
+| **FlexMetricScrollBarSize** | the width of the vertical and the height of the horizontal scroll bar |
+| **FlexMetricCheckBoxSize** | the size of a check box |
+
+The sizes scale with the display's resolution.
+
+### TextHeight
+{: .no_toc }
+
+Returns the height that a text needs in the font of a cell, in twips. A **Long**.
+
+Syntax: *object*.**TextHeight**(*Text* [ , *Row* [ , *Col* ] ])
+
+*Text*
+: *required* A **String**. Line breaks start new lines, and every line adds its height, unless [**SingleLine**](Text#singleline) is **True**, which ignores them. An empty text gives the height of one line.
+
+*Row*, *Col*
+: *optional* **Long**: the cell whose font is used, which can be a fixed cell, a cell with a font of its own, or one of the normal cells. -1 (the default) is the current row or column. A cell the grid does not have raises run-time error 381; a value below -1 raises 380.
+
+### TextWidth
+{: .no_toc }
+
+Returns the width that a text needs in the font of a cell, in twips. A **Long**.
+
+Syntax: *object*.**TextWidth**(*Text* [ , *Row* [ , *Col* ] ])
+
+*Text*
+: *required* A **String**. For a text of several lines, the result is that of the widest line. An empty text has the width 0.
+
+*Row*, *Col*
+: *optional* As for [**TextHeight**](#textheight).
+
+The padding of the cell is not included: it is [**GetMetrics**](#getmetrics)'s **FlexMetricTextPadding** on each side.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    Debug.Print (.TextWidth("abcdefgh") > .TextWidth("ab")) & " " & .TextWidth("")
+    Debug.Print .TextHeight("a" & vbCr & "b") > .TextHeight("a")
+End With
+' Output:
+' True 0
+' True
+```
+
+## Events
+
+### AfterUserResize
+{: .no_toc }
+
+Occurs when the user lets go of a divider after dragging it, before the new size is applied.
+
+Syntax: *object*\_**AfterUserResize**( *Row* **As Long**, *Col* **As Long**, *NewSize* **As Long** )
+
+*Row*
+: The row that is resized, or -1 when a column is.
+
+*Col*
+: The column that is resized, or -1 when a row is.
+
+*NewSize*
+: The new height of the row or width of the column, in twips. It can be changed: the grid uses the value that the handler leaves. A value of 0 or less gives the row or column the size 0.
+
+The size is always at least one pixel as the user drags it. Only a drag that moved the divider raises the event. After it the grid applies the size as [**RowSizingMode**](#rowsizingmode) says for rows, and raises [**AfterUserResizeEnd**](#afteruserresizeend).
+
+```tb check_build
+Private Sub VBFlexGrid1_AfterUserResize(ByVal Row As Long, ByVal Col As Long, ByRef NewSize As Long)
+    If Col > -1 And NewSize > 3000 Then NewSize = 3000   ' no column wider than 3000 twips
+End Sub
+```
+
+### AfterUserResizeEnd
+{: .no_toc }
+
+Occurs after the grid has applied the size that the user gave a row or a column.
+
+Syntax: *object*\_**AfterUserResizeEnd**( *Row* **As Long**, *Col* **As Long** )
+
+*Row*
+: The row that was resized, or -1 when a column was.
+
+*Col*
+: The column that was resized, or -1 when a row was.
+
+### BeforeUserResize
+{: .no_toc }
+
+Occurs when the user presses the mouse button on a divider of a row or a column, before the drag starts.
+
+Syntax: *object*\_**BeforeUserResize**( *Row* **As Long**, *Col* **As Long**, *Cancel* **As Boolean** )
+
+*Row*
+: The row that would be resized, or -1 when it is a column.
+
+*Col*
+: The column that would be resized, or -1 when it is a row.
+
+*Cancel*
+: Set to **True** to stop the resizing. The default is **False**.
+
+```tb check_build
+Private Sub VBFlexGrid1_BeforeUserResize(ByVal Row As Long, ByVal Col As Long, ByRef Cancel As Boolean)
+    If Col = 0 Then Cancel = True   ' the first column keeps its width
+End Sub
+```
+
+### DividerDblClick
+{: .no_toc }
+
+Occurs when the user double-clicks a divider of a row or a column.
+
+Syntax: *object*\_**DividerDblClick**( *Row* **As Long**, *Col* **As Long** )
+
+*Row*
+: The row whose divider was clicked, or -1 when it is a column's.
+
+*Col*
+: The column whose divider was clicked, or -1 when it is a row's.
+
+The grid does nothing in response. The usual handler fits the row or the column to its contents:
+
+```tb check_build
+Private Sub VBFlexGrid1_DividerDblClick(ByVal Row As Long, ByVal Col As Long)
+    If Col > -1 Then
+        VBFlexGrid1.AutoSize Col
+    Else
+        VBFlexGrid1.AutoSize Row, , FlexAutoSizeModeRowHeight
+    End If
+End Sub
+```
+
+## See Also
+
+- [Rows and Columns](Structure) -- hidden rows and columns, and moving them
+- [Cell Text](Text) -- word wrap and ellipsis change the size a text needs
+- [Scrolling](Scrolling) -- the part of the grid that is visible
+- [Appearance](Appearance) -- grid lines and borders
+- [FlexAllowUserResizingConstants](../Enumerations/CellsAndAppearance#flexallowuserresizingconstants) -- the resizing modes
+- [FlexAutoSizeModeConstants](../Enumerations/CellsAndAppearance#flexautosizemodeconstants) -- widths or heights for **AutoSize**
+- [FlexAutoSizeScopeConstants](../Enumerations/CellsAndAppearance#flexautosizescopeconstants) -- the cells that **AutoSize** measures
+- [FlexBestFitModeConstants](../Enumerations/CellsAndAppearance#flexbestfitmodeconstants) -- the parts of a cell that the best fit counts
+- [FlexMetricConstants](../Enumerations/CellsAndAppearance#flexmetricconstants) -- the sizes of **GetMetrics**
+- [FlexRowSizingModeConstants](../Enumerations/CellsAndAppearance#flexrowsizingmodeconstants) -- what resizing a row does to the others
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/SortingAndSearching.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/SortingAndSearching.md
new file mode 100644
index 000000000..3b15c77f7
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/SortingAndSearching.md
@@ -0,0 +1,739 @@
+---
+title: Sorting and Searching
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/SortingAndSearching
+---
+
+# Sorting and Searching
+{: .no_toc }
+
+Sorting the rows of a grid by code, drawing sort arrows in the column headers, comparing rows with a handler of your own, finding a cell by its text or its tag, and the search that the user starts by typing.
+
+* TOC
+{:toc}
+
+## Sorting rows
+
+The control sorts when the program asks it to, by setting [**Sort**](#sort). It never sorts because the user clicked a header: a program that wants that handles the click ([**CellClick**](MouseAndKeyboard#cellclick)), sorts the rows and sets the sort arrow of the column itself.
+
+**Sort** works on the current selection:
+
+- The **rows** to sort are those from [**Row**](Selection#row) to [**RowSel**](Selection#rowsel). When both are the same row, which is the case after any assignment to **Row**, the sort covers all rows that are not fixed rows.
+- The **keys** are the columns from [**Col**](Selection#col) to [**ColSel**](Selection#colsel). The leftmost column is the primary key; rows that are equal in it are ordered by the next column, and so on.
+- The sort is stable: rows that are equal in every key column keep their order, also in a descending sort.
+- A row moves with everything it holds: its text, its cell formatting, its tags, its [**RowData**](Structure#rowdata) value, its height and whether it is hidden.
+
+An assignment to **Row** also sets **RowSel**, and an assignment to **Col** also sets **ColSel**. To sort a range of rows, assign **Row** and **Col** first and **RowSel** and **ColSel** after them, or use [**SelectRange**](Selection#selectrange), which sets all four.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 5: .Cols = 2
+    .TextMatrix(0, 0) = "Name": .TextMatrix(0, 1) = "Qty"
+    .TextMatrix(1, 0) = "bolt": .TextMatrix(1, 1) = "10"
+    .TextMatrix(2, 0) = "washer": .TextMatrix(2, 1) = "9"
+    .TextMatrix(3, 0) = "gear": .TextMatrix(3, 1) = "100"
+    .TextMatrix(4, 0) = "nut": .TextMatrix(4, 1) = "2"
+
+    .SelectRange 1, 1, 1, 1             ' one row, so all rows that are not fixed
+    .Sort = FlexSortNumericAscending     ' the key is column 1
+
+    Dim Row As Long
+    For Row = 1 To 4
+        Debug.Print .TextMatrix(Row, 0) & " " & .TextMatrix(Row, 1)
+    Next
+End With
+' Output:
+' nut 2
+' washer 9
+' bolt 10
+' gear 100
+```
+
+The table lists the sort modes. **Ascending** and **Descending** modes are pairs of values of [**FlexSortConstants**](../Enumerations/SelectionAndInput#flexsortconstants).
+
+| Mode | The cells are compared as |
+|:-----|:--------------------------|
+| **FlexSortGenericAscending**, **FlexSortGenericDescending** | Numbers when both cells of a pair are numeric, otherwise text by character code, so that uppercase letters come before lowercase ones. |
+| **FlexSortNumericAscending**, **FlexSortNumericDescending** | Numbers. A cell that is not a number counts as 0. |
+| **FlexSortStringAscending**, **FlexSortStringDescending** | Text, by the Windows rules for the language of the user, with case taken into account (so that **a** comes before **A**). |
+| **FlexSortStringNoCaseAscending**, **FlexSortStringNoCaseDescending** | Text, by the same rules, with case ignored. |
+| **FlexSortCurrencyAscending**, **FlexSortCurrencyDescending** | **Currency** values. A cell that is not a number counts as 0. |
+| **FlexSortDateAscending**, **FlexSortDateDescending** | Dates. A cell that is not a date counts as 0, which is the earliest. |
+| **FlexSortCustom** | The [**Compare**](#compare) event decides, for two rows. |
+| **FlexSortCustomText** | The [**CompareText**](#comparetext) event decides, for the text of two cells. |
+| **FlexSortUseColSort** | The mode that [**ColSort**](#colsort) gives each key column. |
+
+Numbers are read with the decimal separator of the user, so a decimal number in a cell can be 0 on a computer with another language setting. The same applies to dates written in a form other than year-month-day.
+
+```tb check_build check_run slot=sub arch=win32,win64
+Dim Modes As Variant, Names As Variant, i As Long, Row As Long, Line As String
+Modes = Array(FlexSortGenericAscending, FlexSortStringAscending, FlexSortNumericDescending, FlexSortDateAscending)
+Names = Array("generic", "string", "numeric desc", "date")
+
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 4: .Cols = 1
+    For i = 0 To 3
+        ' Numbers that look like dates: the text "2026-11-12" is a date, "100" a number
+        If i < 3 Then
+            .TextMatrix(0, 0) = "10": .TextMatrix(1, 0) = "9": .TextMatrix(2, 0) = "100": .TextMatrix(3, 0) = "2"
+        Else
+            .TextMatrix(0, 0) = "2026-11-12": .TextMatrix(1, 0) = "2025-03-01": .TextMatrix(2, 0) = "2026-01-30": .TextMatrix(3, 0) = "n/a"
+        End If
+        .SelectRange 0, 0, 0, 0
+        .Sort = Modes(i)
+        Line = ""
+        For Row = 0 To 3: Line = Line & .TextMatrix(Row, 0) & " ": Next
+        Debug.Print Names(i) & ": " & Line
+    Next
+End With
+' Output:
+' generic: 2 9 10 100 
+' string: 10 100 2 9 
+' numeric desc: 100 10 9 2 
+' date: n/a 2025-03-01 2026-01-30 2026-11-12 
+```
+
+
+> [!NOTE] 1.8.69.0
+> **FlexSortGenericAscending** and **FlexSortGenericDescending** compare strings and numbers only. Dates are compared as text, which MSFlexGrid does not do; use **FlexSortDateAscending** or **FlexSortDateDescending** for a column of dates. A column that mixes numbers and text has no reliable order in a generic sort, since a number is compared with a number as a number and with text as text.
+
+### Sorting by several columns
+
+With more than one key column, the leftmost is the primary key.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 4: .Cols = 2
+    .TextMatrix(0, 0) = "b": .TextMatrix(0, 1) = "1"
+    .TextMatrix(1, 0) = "a": .TextMatrix(1, 1) = "2"
+    .TextMatrix(2, 0) = "a": .TextMatrix(2, 1) = "1"
+    .TextMatrix(3, 0) = "b": .TextMatrix(3, 1) = "2"
+
+    .SelectRange 0, 0, 3, 1                  ' all rows, key columns 0 and 1
+    .Sort = FlexSortStringAscending
+
+    Dim Row As Long
+    For Row = 0 To 3
+        Debug.Print .TextMatrix(Row, 0) & .TextMatrix(Row, 1)
+    Next
+End With
+' Output:
+' a1
+' a2
+' b1
+' b2
+```
+
+To sort only some rows, select them. The rows outside the selection stay where they are.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 5: .Cols = 1
+    .TextMatrix(0, 0) = "e": .TextMatrix(1, 0) = "d": .TextMatrix(2, 0) = "c": .TextMatrix(3, 0) = "b": .TextMatrix(4, 0) = "a"
+
+    .SelectRange 1, 0, 3, 0                  ' rows 1 to 3
+    .Sort = FlexSortStringAscending
+
+    Dim Row As Long, Line As String
+    For Row = 0 To 4: Line = Line & .TextMatrix(Row, 0): Next
+    Debug.Print Line
+End With
+' Output:
+' ebcda
+```
+
+### Sorting each column in its own way
+
+A different mode for each key column is set with [**ColSort**](#colsort), and **FlexSortUseColSort** makes **Sort** use it.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 4: .Cols = 2
+    .TextMatrix(0, 0) = "b": .TextMatrix(0, 1) = "1"
+    .TextMatrix(1, 0) = "a": .TextMatrix(1, 1) = "2"
+    .TextMatrix(2, 0) = "a": .TextMatrix(2, 1) = "1"
+    .TextMatrix(3, 0) = "b": .TextMatrix(3, 1) = "2"
+
+    .ColSort(0) = FlexSortStringAscending     ' column 0 up
+    .ColSort(1) = FlexSortNumericDescending   ' column 1 down
+
+    .SelectRange 0, 0, 3, 1
+    .Sort = FlexSortUseColSort
+
+    Dim Row As Long
+    For Row = 0 To 3
+        Debug.Print .TextMatrix(Row, 0) & .TextMatrix(Row, 1)
+    Next
+End With
+' Output:
+' a2
+' a1
+' b2
+' b1
+```
+
+### Sorting what the user sees
+
+A column can hold values that its [**ColLookup**](Text#collookup) or [**ColFormat**](Text#colformat) shows as other text. The sort compares the stored text, unless the column's [**ColSortMode**](#colsortmode) is **FlexSortModeTextDisplay**, which compares the displayed text.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 3: .Cols = 1
+    .ColLookup(0) = "1;zebra|2;ant|3;mule"     ' the cells hold 1, 2 and 3
+    .TextMatrix(0, 0) = "1": .TextMatrix(1, 0) = "2": .TextMatrix(2, 0) = "3"
+
+    .SelectRange 0, 0, 0, 0
+    .Sort = FlexSortStringAscending             ' by stored text: 1 2 3
+    Debug.Print .TextMatrix(0, 0) & .TextMatrix(1, 0) & .TextMatrix(2, 0)
+
+    .ColSortMode(0) = FlexSortModeTextDisplay
+    .Sort = FlexSortStringAscending             ' by displayed text: ant, mule, zebra
+    Debug.Print .TextMatrix(0, 0) & .TextMatrix(1, 0) & .TextMatrix(2, 0)
+End With
+' Output:
+' 123
+' 231
+```
+
+### Sorting with a handler of your own
+
+**FlexSortCustom** raises [**Compare**](#compare) for pairs of rows, and **FlexSortCustomText** raises [**CompareText**](#comparetext) for the text of two cells. The handler sets *Cmp*: a negative number puts the first of the two before the second, a positive number puts it after, and 0 means they are equal. The sort is a merge sort that makes about *n* times log *n* comparisons, and it does not change the grid until it has finished, so a **Compare** handler can read the text of both rows with [**TextMatrix**](Text#textmatrix).
+
+```tb check_build slot=file projname=sort-custom
+Class LengthSorter
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    ' Short text first; text of the same length in alphabetical order.
+    Private Sub Grid_Compare(ByVal Row1 As Long, ByVal Row2 As Long, ByVal Col As Long, Cmp As Long)
+        Dim A As String, B As String
+        A = Grid.TextMatrix(Row1, Col)
+        B = Grid.TextMatrix(Row2, Col)
+        If Len(A) <> Len(B) Then
+            Cmp = Len(A) - Len(B)
+        Else
+            Cmp = StrComp(A, B, vbTextCompare)
+        End If
+    End Sub
+
+    ' Used by FlexSortCustomText: long text first.
+    Private Sub Grid_CompareText(ByVal Text1 As String, ByVal Text2 As String, ByVal Col As Long, Cmp As Long)
+        Cmp = Len(Text2) - Len(Text1)
+    End Sub
+End Class
+```
+
+```tb check_build check_run slot=sub projname=sort-custom
+Dim Sorter As New LengthSorter
+Sorter.Attach VBFlexGrid1
+
+With VBFlexGrid1
+    .FixedRows = 0: .FixedCols = 0
+    .Rows = 5: .Cols = 1
+    .TextMatrix(0, 0) = "ccc": .TextMatrix(1, 0) = "a": .TextMatrix(2, 0) = "bb": .TextMatrix(3, 0) = "dddd": .TextMatrix(4, 0) = "aa"
+    .SelectRange 0, 0, 0, 0
+
+    Dim Row As Long, Line As String
+    .Sort = FlexSortCustom
+    For Row = 0 To 4: Line = Line & .TextMatrix(Row, 0) & " ": Next
+    Debug.Print Line
+
+    Line = ""
+    .Sort = FlexSortCustomText
+    For Row = 0 To 4: Line = Line & .TextMatrix(Row, 0) & " ": Next
+    Debug.Print Line
+End With
+' Output:
+' a aa bb ccc dddd 
+' dddd ccc aa bb a 
+```
+
+The second line shows that the sort is stable: after the first sort **aa** stood before **bb**, and the two have the same length, so **CompareText** leaves them in that order.
+
+In the form of a program, the handler belongs to the grid on the form:
+
+```tb check_build
+Private Sub VBFlexGrid1_Compare(ByVal Row1 As Long, ByVal Row2 As Long, ByVal Col As Long, Cmp As Long)
+    Cmp = StrComp(VBFlexGrid1.TextMatrix(Row1, Col), VBFlexGrid1.TextMatrix(Row2, Col), vbTextCompare)
+End Sub
+```
+
+### Sort arrows
+
+A sort arrow is a small triangle in a column header that shows the direction in which the column is sorted. The control draws it where the program asks and never sets it by itself: [**ColSortArrow**](#colsortarrow) chooses the arrow of a column and [**RowSortArrows**](#rowsortarrows) the fixed row that holds the arrows (row 0 unless it is changed). [**ColSortArrowAlignment**](#colsortarrowalignment) puts it at the right or at the left of the text, and [**SortArrowColor**](#sortarrowcolor) and [**ColSortArrowColor**](#colsortarrowcolor) set its color.
+
+![A grid of products sorted by Stock, highest first: the Stock header has an arrow pointing down. The Price header has an arrow pointing up although the rows are not in order of price, since an arrow is only what the program sets.](Images/Sorting_Arrows.png){:width="317" height="189"}
+
+```tb check_build slot=sub
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 5: .Cols = 3
+    .TextMatrix(0, 0) = "Name": .TextMatrix(0, 1) = "Qty": .TextMatrix(0, 2) = "Price"
+
+    .SelectRange 1, 1, 1, 1
+    .Sort = FlexSortNumericDescending          ' sorts by column 1
+
+    .ColSortArrow(-1) = FlexSortArrowNone      ' -1 is every column
+    .ColSortArrow(1) = FlexSortArrowDescending
+    .SortArrowColor = vbBlue
+End With
+```
+
+### Sort errors
+
+[**Sort**](#sort) raises error 380 for a value that is not in **FlexSortConstants**, and error 5 when the grid shows a [**FlexDataSource**](DataBinding#flexdatasource). It does nothing, and raises no error, when the grid has no cells.
+
+## Finding cells
+
+[**FindItem**](#finditem) finds a cell by its text and [**FindTag**](#findtag) by its tag. Each searches along one column (down or up, from a row) or along one row (right or left, from a column) and returns the row or column number of the first match, or -1. They do not move the selection or scroll the grid.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 6: .Cols = 2
+    .TextMatrix(1, 0) = "Apple": .TextMatrix(2, 0) = "pear": .TextMatrix(3, 0) = "APPLE": .TextMatrix(4, 0) = "plum": .TextMatrix(5, 0) = "apple"
+
+    Debug.Print .FindItem("apple")                                  ' not case sensitive
+    Debug.Print .FindItem("apple", , , , True)                      ' case sensitive
+    Debug.Print .FindItem("pl", , , FlexFindMatchStartsWith)
+    Debug.Print .FindItem("pear", 3)                                ' from row 3 down: not there
+    Debug.Print .FindItem("pear", 3, , , , , True)                  ' with wrap, it starts again at the top
+    Debug.Print .FindItem("apple", 5, , , , , , FlexFindDirectionUp) ' up from row 5
+End With
+' Output:
+' 1
+' 5
+' 4
+' -1
+' 2
+' 5
+```
+
+Tags are stored with [**CellTag**](Text#celltag). A tag of a number type is found by a number, so that **FindTag** can find the row of a record by its key.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 4: .Cols = 1
+    .Cell(FlexCellTag, 1, 0) = 1001
+    .Cell(FlexCellTag, 2, 0) = 1002
+    .Cell(FlexCellTag, 3, 0) = "invoice"
+
+    Debug.Print .FindTag(1002)
+    Debug.Print .FindTag("invoice")
+    Debug.Print .FindTag(1002.5)
+End With
+' Output:
+' 2
+' 3
+' -1
+```
+
+## Searching by typing
+
+When [**AllowIncrementalSearch**](#allowincrementalsearch) is **True**, the characters that the user types in the grid search the column of the current cell. Each character is added to the search text, which can be read in [**IncrementalSearchString**](#incrementalsearchstring), and the current cell moves to the first cell, at or below the current one and wrapping at the end of the column, whose text starts with the search text. The matching start of the text is highlighted. Backspace removes the last character. Enter, Escape, a click, a movement key and the loss of the focus end the search, and so does a pause of [**IncrementalSearchTime**](#incrementalsearchtime). A space does not begin a search, but is part of the search text once the search has begun.
+
+In a grid whose [**SelectionMode**](Selection#selectionmode) is by column, the search goes along the current row to the right. When **AllowIncrementalSearch** is **False** and [**AllowUserEditing**](Editing#allowuserediting) is **True**, a character typed in the grid starts the editing of the cell instead.
+
+Three events follow a search. [**BeginIncrementalSearch**](#beginincrementalsearch) comes with the first character, and can set where the search starts and how it compares. [**IncrementalSearch**](#incrementalsearch) comes with each character, and [**EndIncrementalSearch**](#endincrementalsearch) when the search is over.
+
+```tb check_build slot=file projname=search-typing
+Class SearchLog
+    Private WithEvents Grid As VBFLXGRD18.VBFlexGrid
+    Public Log As String
+
+    Public Sub Attach(ByVal G As VBFLXGRD18.VBFlexGrid)
+        Set Grid = G
+    End Sub
+
+    Private Sub Grid_IncrementalSearch(ByVal Row As Long, ByVal Col As Long, ByVal CharCode As Long, ByVal CaseSensitive As Boolean, ByVal NoWrap As Boolean, ByVal Direction As FlexFindDirectionConstants, ByVal FoundIndex As Long)
+        Log = Log & "[" & ChrW(CharCode) & " found " & FoundIndex & "] "
+    End Sub
+
+    Private Sub Grid_EndIncrementalSearch(ByVal Row As Long, ByVal Col As Long)
+        Log = Log & "[end " & Row & "," & Col & "] "
+    End Sub
+End Class
+
+Module SearchKeys
+    Private Declare PtrSafe Function SendMessageW Lib "user32" (ByVal hWnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr
+    Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal Milliseconds As Long)
+
+    ' Sends the character to the control as if the user had typed it.
+    Public Sub TypeChar(ByVal hWnd As LongPtr, ByVal Ch As String)
+        Const WM_CHAR As Long = &H102
+        SendMessageW hWnd, WM_CHAR, AscW(Ch), 0
+    End Sub
+
+    Public Sub WaitFor(ByVal Milliseconds As Long)
+        Dim i As Long
+        For i = 1 To Milliseconds \ 20
+            DoEvents
+            Sleep 20
+        Next
+    End Sub
+End Module
+```
+
+```tb check_build check_run slot=sub projname=search-typing
+Dim Watcher As New SearchLog
+Watcher.Attach VBFlexGrid1
+
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 6: .Cols = 1
+    .TextMatrix(1, 0) = "apple": .TextMatrix(2, 0) = "apricot": .TextMatrix(3, 0) = "banana": .TextMatrix(4, 0) = "cherry": .TextMatrix(5, 0) = "cranberry"
+    .AllowIncrementalSearch = True
+    .IncrementalSearchTime = 400
+    .SelectRange 1, 0, 1, 0
+
+    TypeChar .hWnd, "c"
+    Debug.Print .Row & " " & .IncrementalSearchString
+    TypeChar .hWnd, "r"
+    Debug.Print .Row & " " & .IncrementalSearchString
+    TypeChar .hWnd, "x"                       ' nothing starts with "crx"
+    Debug.Print .Row & " " & .IncrementalSearchString
+
+    WaitFor 1200                              ' longer than IncrementalSearchTime
+    Debug.Print .Row & " [" & .IncrementalSearchString & "] " & .IncrementalSearchRow
+End With
+Debug.Print Watcher.Log
+' Output:
+' 4 c
+' 5 cr
+' 5 cr
+' 5 [] -1
+' [c found 4] [r found 5] [x found -1] [end 5,0] 
+```
+
+```tb check_build
+Private Sub VBFlexGrid1_BeginIncrementalSearch(Row As Long, Col As Long, CaseSensitive As Boolean, NoWrap As Boolean, Direction As FlexFindDirectionConstants, Cancel As Boolean)
+    CaseSensitive = True        ' "A" no longer finds "apple"
+    NoWrap = True               ' the search does not start again at the top
+End Sub
+```
+
+## Properties
+
+### AllowIncrementalSearch
+{: .no_toc }
+
+Whether typing searches the grid.
+
+Syntax: *object*.**AllowIncrementalSearch** [ = *value* ]
+
+A **Boolean**. Default: **False**. Setting it to **False** while a search is running ends the search. See [Searching by typing](#searching-by-typing).
+
+### ColSort
+{: .no_toc }
+
+The sort mode of a column, used when [**Sort**](#sort) is **FlexSortUseColSort**.
+
+Syntax: *object*.**ColSort** ( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**, the column. When **-1** is used to set the property, every column is set. The property cannot be read with -1.
+
+A value of [**FlexSortConstants**](../Enumerations/SelectionAndInput#flexsortconstants) other than **FlexSortUseColSort**, which is an error (380). Default: **FlexSortNone**, which leaves the order of the rows as it is for that key. An *Index* outside the columns raises error 30010.
+
+### ColSortArrow
+{: .no_toc }
+
+The sort arrow in the header of a column.
+
+Syntax: *object*.**ColSortArrow** ( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**, the column. **-1** sets every column.
+
+A value of [**FlexSortArrowConstants**](../Enumerations/SelectionAndInput#flexsortarrowconstants): **FlexSortArrowNone** (the default), **FlexSortArrowAscending** or **FlexSortArrowDescending**. The arrow is drawn in the row given by [**RowSortArrows**](#rowsortarrows), and only when that row is a fixed row. It does not change the order of the rows.
+
+### ColSortArrowAlignment
+{: .no_toc }
+
+Whether the sort arrow of a column is drawn at the right or at the left of the header text.
+
+Syntax: *object*.**ColSortArrowAlignment** ( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**, the column. **-1** sets every column.
+
+A value of [**FlexLeftRightAlignmentConstants**](../Enumerations/EditingAndComboBoxes#flexleftrightalignmentconstants). Default: **FlexLeftRightAlignmentRight**.
+
+### ColSortArrowColor
+{: .no_toc }
+
+The color of the sort arrow of a column.
+
+Syntax: *object*.**ColSortArrowColor** ( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**, the column. **-1** sets every column.
+
+A **Long** color. A column that has no color of its own, which is the case until a value is set, shows and returns the color of [**SortArrowColor**](#sortarrowcolor). Setting the value -1 gives a column back to **SortArrowColor**.
+
+### ColSortMode
+{: .no_toc }
+
+Whether a sort of the column compares the text that is stored in the cells or the text that the column shows.
+
+Syntax: *object*.**ColSortMode** ( *Index* ) [ = *value* ]
+
+*Index*
+: *required* A **Long**, the column. **-1** sets every column.
+
+A value of [**FlexSortModeConstants**](../Enumerations/SelectionAndInput#flexsortmodeconstants). **FlexSortModeNormal** (the default) compares the stored text. **FlexSortModeTextDisplay** compares the text after [**ColLookup**](Text#collookup) and [**ColFormat**](Text#colformat) have been applied to it. The mode applies to every sort except **FlexSortCustom**, where the [**Compare**](#compare) event decides.
+
+### IncrementalSearchCol
+{: .no_toc }
+
+The column of the cell that shows the highlight of a search.
+
+Syntax: *object*.**IncrementalSearchCol**
+
+A read-only **Long**: the column of the cell that holds the text found by the running search, or -1 when no search is running.
+
+### IncrementalSearchRow
+{: .no_toc }
+
+The row of the cell that shows the highlight of a search.
+
+Syntax: *object*.**IncrementalSearchRow**
+
+A read-only **Long**: the row of the cell that holds the text found by the running search, or -1 when no search is running.
+
+### IncrementalSearchString
+{: .no_toc }
+
+The text that the user has typed in the running search.
+
+Syntax: *object*.**IncrementalSearchString**
+
+A read-only **String**, empty when no search is running.
+
+### IncrementalSearchTime
+{: .no_toc }
+
+The time in milliseconds that a search waits for the next character before it ends.
+
+Syntax: *object*.**IncrementalSearchTime** [ = *value* ]
+
+A **Long** from 0 to 65535, or **-1** (the default), which is twice the double-click time of the user, normally 1000 milliseconds. A value outside the range raises error 380.
+
+### RowSortArrows
+{: .no_toc }
+
+The row that holds the sort arrows.
+
+Syntax: *object*.**RowSortArrows** [ = *value* ]
+
+A **Long**. Default: 0, the first row. The arrows are drawn only when this row is a fixed row. A negative value raises error 380.
+
+### Sort
+{: .no_toc }
+
+Sorts the selected rows. The property can only be set.
+
+Syntax: *object*.**Sort** = *value*
+
+A value of [**FlexSortConstants**](../Enumerations/SelectionAndInput#flexsortconstants). **FlexSortNone** does nothing. Reading the property raises error 394, and a value that is not in the enumeration raises error 380. When a [**FlexDataSource**](DataBinding#flexdatasource) is set and its flags do not include **FlexDataSourceNoData**, the property raises error 5. See [Sorting rows](#sorting-rows).
+
+Setting [**Cell**](Text#cell) with **FlexCellSort** does the same as setting this property.
+
+A sort clears a selection of several separate rows (see [**AllowMultiSelection**](Selection#allowmultiselection)).
+
+### SortArrowColor
+{: .no_toc }
+
+The color of the sort arrows.
+
+Syntax: *object*.**SortArrowColor** [ = *value* ]
+
+An **OLE_COLOR**. Default: **vbGrayText**. A column with a color of its own, set by [**ColSortArrowColor**](#colsortarrowcolor), uses that.
+
+## Methods
+
+### FindItem
+{: .no_toc }
+
+Finds a cell by its text, in one column or one row.
+
+Syntax: *object*.**FindItem** ( *Text* [, *Row* [, *Col* [, *Match* [, *CaseSensitive* [, *ExcludeHidden* [, *Wrap* [, *Direction* [, *TextDisplay* ]]]]]]]] ) **As Long**
+
+*Text*
+: *required* A **String**, the text to find.
+
+*Row*
+: *optional* A **Long**, the row at which the search starts. Default: -1, which means the first row that is not fixed for a search down, and the last row for a search up. With a search to the right or the left, *Row* is the row that is searched.
+
+*Col*
+: *optional* A **Long**, the column at which the search starts. Default: -1, which means the first column that is not fixed for a search to the right, and the last column for a search to the left. With a search down or up, *Col* is the column that is searched.
+
+*Match*
+: *optional* A [**FlexFindMatchConstants**](../Enumerations/SelectionAndInput#flexfindmatchconstants) value: **FlexFindMatchExact** (the default), **FlexFindMatchPartial** (the text is anywhere in the cell), **FlexFindMatchStartsWith** or **FlexFindMatchEndsWith**. The value **True** is accepted as **FlexFindMatchPartial**.
+
+*CaseSensitive*
+: *optional* A **Boolean**. Default: **False**.
+
+*ExcludeHidden*
+: *optional* A **Boolean**. When **True**, hidden rows and columns are skipped. Default: **False**.
+
+*Wrap*
+: *optional* A **Boolean**. When **True**, a search that reaches the end continues at the other end and stops at the cell before the starting cell. Default: **False**.
+
+*Direction*
+: *optional* A [**FlexFindDirectionConstants**](../Enumerations/SelectionAndInput#flexfinddirectionconstants) value: **FlexFindDirectionDown** (the default), **FlexFindDirectionUp**, **FlexFindDirectionRight** or **FlexFindDirectionLeft**.
+
+*TextDisplay*
+: *optional* A **Boolean**. When **True**, the text that the cell shows, after [**ColLookup**](Text#collookup) and [**ColFormat**](Text#colformat), is compared, not the stored text. Default: **False**.
+
+Returns the row of the first match for a search down or up, the column for a search to the right or left, and -1 when there is none. The search starts at *Row* and *Col* itself. Raises error 380 for a *Row* or *Col* below -1, or a value outside the enumerations, error 381 for a cell outside the grid, and error 30003 when the row at which a search down or up starts, or the column at which a search to the right or left starts, is fixed.
+
+When the grid has a [**FlexDataSource**](DataBinding#flexdatasource), the text is asked for from the data source.
+
+### FindTag
+{: .no_toc }
+
+Finds a cell by its tag, in one column or one row.
+
+Syntax: *object*.**FindTag** ( *Value* [, *Row* [, *Col* [, *Match* [, *CaseSensitive* [, *ExcludeHidden* [, *Wrap* [, *Direction* [, *AllowCoercing* ]]]]]]]] ) **As Long**
+
+*Value*
+: *required* A **Variant**, the tag to find. It must not be an array.
+
+*Row*, *Col*, *Match*, *CaseSensitive*, *ExcludeHidden*, *Wrap*, *Direction*
+: *optional* As for [**FindItem**](#finditem).
+
+*AllowCoercing*
+: *optional* A **Boolean**. When **True**, a tag of another type than *Value* is compared by value, as a number and a string with the same value are. Default: **False**, when only a tag of the same type matches.
+
+Returns the row (or column) of the first cell whose tag matches, or -1. A string is compared as text, an object by identity, and any other type by value. **FlexFindMatchPartial**, **FlexFindMatchStartsWith** and **FlexFindMatchEndsWith** need a string for *Value* (error 5 otherwise) and look only at tags that are strings. The errors are those of **FindItem**.
+
+
+> [!WARNING] 1.8.69.0
+> With **FlexFindMatchStartsWith** and a *Direction* of **FlexFindDirectionRight** or **FlexFindDirectionLeft**, **FindTag** compares the start of each tag with the **Tag** property of the control and not with *Value*. It returns -1 for a tag that does start with *Value*, and the column of a cell whose tag starts with the text of **Tag**. Search down or up, or use a *Match* other than **FlexFindMatchStartsWith**, until this is fixed.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .FixedRows = 1: .FixedCols = 0
+    .Rows = 2: .Cols = 3
+    .Cell(FlexCellTag, 1, 1) = "t1"
+    .Cell(FlexCellTag, 1, 2) = "t2"
+
+    Debug.Print .FindTag("t", 1, 1, FlexFindMatchStartsWith)                                     ' down
+    Debug.Print .FindTag("t", 1, 1, FlexFindMatchStartsWith, , , , FlexFindDirectionRight)       ' to the right
+    .Tag = "t2"
+    Debug.Print .FindTag("zzz", 1, 1, FlexFindMatchStartsWith, , , , FlexFindDirectionRight)
+End With
+' Output:
+' 1
+' -1
+' 2
+```
+
+## Events
+
+### BeginIncrementalSearch
+{: .no_toc }
+
+Raised when the first character of a search is typed.
+
+Syntax: **Event** *object*\_**BeginIncrementalSearch** ( *Row* **As Long**, *Col* **As Long**, *CaseSensitive* **As Boolean**, *NoWrap* **As Boolean**, *Direction* **As** [**FlexFindDirectionConstants**](../Enumerations/SelectionAndInput#flexfinddirectionconstants), *Cancel* **As Boolean** )
+
+*Row*, *Col*
+: The cell at which the search starts. They hold the current cell, with *Row* moved to the first row that is not fixed when the current cell is in a fixed row. A handler can change them.
+
+*CaseSensitive*
+: **False**. A handler can set **True** to make the search case sensitive.
+
+*NoWrap*
+: **False**. A handler can set **True** so that the search does not start again at the other end.
+
+*Direction*
+: **FlexFindDirectionDown**, or **FlexFindDirectionRight** when the selection is by column. A handler can set another direction. A value that does not fit the selection mode is changed to one that does.
+
+*Cancel*
+: A handler sets **True** to start no search for this character. When [**AllowUserEditing**](Editing#allowuserediting) is **True**, the character then starts an edit.
+
+### EndIncrementalSearch
+{: .no_toc }
+
+Raised when a search has ended.
+
+Syntax: **Event** *object*\_**EndIncrementalSearch** ( *Row* **As Long**, *Col* **As Long** )
+
+*Row*, *Col*
+: The cell that was found last. Both are -1 when the first character of the search found nothing, which ends the search at once.
+
+### IncrementalSearch
+{: .no_toc }
+
+Raised for each character of a search, after the control has looked for the new search text.
+
+Syntax: **Event** *object*\_**IncrementalSearch** ( *Row* **As Long**, *Col* **As Long**, *CharCode* **As Long**, *CaseSensitive* **As Boolean**, *NoWrap* **As Boolean**, *Direction* **As** [**FlexFindDirectionConstants**](../Enumerations/SelectionAndInput#flexfinddirectionconstants), *FoundIndex* **As Long** )
+
+*Row*, *Col*
+: The cell found. For the direction down or up *Row* is -1 when nothing was found, and for the direction right or left *Col* is.
+
+*CharCode*
+: The code of the typed character, 8 for Backspace.
+
+*CaseSensitive*, *NoWrap*, *Direction*
+: The settings of the search, as the **BeginIncrementalSearch** handler left them.
+
+*FoundIndex*
+: The row (or column) of the match, or -1.
+
+A character that finds no match does not change the search text of a search that is already running.
+
+### Compare
+{: .no_toc }
+
+Raised during a sort with **FlexSortCustom**, to compare two rows.
+
+Syntax: **Event** *object*\_**Compare** ( *Row1* **As Long**, *Row2* **As Long**, *Col* **As Long**, *Cmp* **As Long** )
+
+*Row1*, *Row2*
+: The two rows, numbered as they are before the sort. The sort does not change the grid until it has finished, so [**TextMatrix**](Text#textmatrix) and other members read the rows as they were.
+
+*Col*
+: The key column that is being sorted.
+
+*Cmp*
+: Set by the handler: a negative number if *Row1* comes before *Row2*, a positive number if it comes after, and 0 if they are equal. It is 0 when the handler is entered.
+
+See [Sorting with a handler of your own](#sorting-with-a-handler-of-your-own).
+
+### CompareText
+{: .no_toc }
+
+Raised during a sort with **FlexSortCustomText**, to compare the text of two cells.
+
+Syntax: **Event** *object*\_**CompareText** ( *Text1* **As String**, *Text2* **As String**, *Col* **As Long**, *Cmp* **As Long** )
+
+*Text1*, *Text2*
+: The text of the two cells: the stored text, or the displayed text when the [**ColSortMode**](#colsortmode) of the column is **FlexSortModeTextDisplay**.
+
+*Col*
+: The key column that is being sorted.
+
+*Cmp*
+: As for [**Compare**](#compare), for *Text1* and *Text2*.
+
+## See Also
+
+- [Current Cell and Selection](Selection) -- **Row**, **RowSel**, **Col**, **ColSel** and **SelectRange**, which choose the rows and the keys of a sort
+- [Cell Text](Text) -- **ColLookup**, **ColFormat** and **CellTag**
+- [Mouse, Keyboard and Drag and Drop](MouseAndKeyboard) -- the click on a header that a program sorts by
+- [Editing Cells](Editing) -- what a typed character does when no search is allowed
+- [FlexSortConstants](../Enumerations/SelectionAndInput#flexsortconstants), [FlexSortModeConstants](../Enumerations/SelectionAndInput#flexsortmodeconstants), [FlexSortArrowConstants](../Enumerations/SelectionAndInput#flexsortarrowconstants), [FlexLeftRightAlignmentConstants](../Enumerations/EditingAndComboBoxes#flexleftrightalignmentconstants), [FlexFindMatchConstants](../Enumerations/SelectionAndInput#flexfindmatchconstants), [FlexFindDirectionConstants](../Enumerations/SelectionAndInput#flexfinddirectionconstants) enumerations
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Structure.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Structure.md
new file mode 100644
index 000000000..bfb33cc8a
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Structure.md
@@ -0,0 +1,599 @@
+---
+title: Rows and Columns
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Structure
+has_toc: false
+---
+
+# Rows and Columns
+{: .no_toc }
+
+The members that set the number of rows and columns of a **VBFlexGrid**, divide them into fixed, frozen and scrollable ones, and add, remove, move, hide and label them.
+
+A grid is a table of **Rows** rows and **Cols** columns, numbered from 0. Both counts include the fixed and the frozen ones. A new grid has two rows and two columns.
+
+The rows and the columns fall into three zones:
+
+| Zone | Where | What it does |
+|------|-------|--------------|
+| Fixed | the first [**FixedRows**](#fixedrows) rows and the first [**FixedCols**](#fixedcols) columns | Headers. They do not scroll, and they are drawn with the fixed colors, grid lines and font. A click on one of them selects a whole row or column when [**AllowBigSelection**](Selection#allowbigselection) is on. Default: one row and one column. |
+| Frozen | the [**FrozenRows**](#frozenrows) rows after the fixed rows and the [**FrozenCols**](#frozencols) columns after the fixed columns | Cells that the user can select and edit like any other, but that stay in place while the rest scrolls. Default: none. |
+| Scrollable | every other row and column | Cells that scroll when the grid is bigger than the control. |
+
+The grid keeps at least one scrollable row and one scrollable column: the fixed and the frozen rows together are at most **Rows** - 1, and the same holds for columns. Reducing **Rows** or **Cols** reduces **FixedRows**, **FixedCols** and the frozen counts to fit, and a value that would leave no scrollable row or column raises an error.
+
+![A grid of 20 rows and 8 columns with one fixed row, one fixed column, one frozen row and one frozen column, scrolled down and to the right. The headers show Col 1, then Col 4 to Col 6, and Row 1, then Row 9 to Row 17: the frozen row 1 and column 1, tinted, stay in place while rows 2 to 8 and columns 2 and 3 have scrolled out of view.](Images/Structure_Zones.png){:width="428" height="283"}
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .Rows = 6
+    .Cols = 5
+    .FixedRows = 1
+    .FixedCols = 1
+    .FrozenRows = 1
+    .FrozenCols = 2
+    Debug.Print "Fixed " & .FixedRows & "x" & .FixedCols & ", frozen " & .FrozenRows & "x" & .FrozenCols
+    Debug.Print "Row " & .Row & ", Col " & .Col  ' the first cell that scrolls
+End With
+' Output:
+' Fixed 1x1, frozen 1x2
+' Row 2, Col 3
+```
+
+Most of the other members work on one row or one column, named by an index. An index that is not a row or a column of the grid raises run-time error 30009 (*Invalid Row value*) for a row and 30010 (*Invalid Col value*) for a column. Where a property that takes an index is assigned, the index -1 stands for every row or every column: **RowHidden**, **ColHidden**, **RowResizable**, **ColResizable**, **ColDataCapacity**, **RowHeight**, **ColWidth**, **ClearRowInfo** and **ClearColInfo** take it. The other row and column properties here do not.
+
+Each row and each column can carry data for the program:
+
+- [**RowData**](#rowdata) and [**ColData**](#coldata) hold a number, such as a database key.
+- [**RowID**](#rowid) holds a whole number that identifies the row, whatever its position, and [**RowIndex**](#rowindex) finds the row again from it. [**ColKey**](#colkey) is the same for columns, with a text, and [**ColIndex**](#colindex) finds the column.
+- A row that moves, by [**RowPosition**](#rowposition), by sorting or by the user, takes its data and its identifier along.
+
+A row or a column can be hidden. A hidden row or column takes no room, but it stays in the grid and keeps its index; **Rows** still counts it. The members **RowsNonHidden**, **RowNonHiddenPosition** and **RowPositionFromNonHidden**, and their column counterparts, translate between the index of a row and its position among the rows that are shown. A row whose height is set to 0 looks hidden, but it is not: [**RowHidden**](#rowhidden) is **False** for it.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 5
+    .RowHidden(2) = True
+    Debug.Print "Rows " & .Rows & ", shown " & .RowsNonHidden
+    Debug.Print "Row 3 is the shown row number " & .RowNonHiddenPosition(3)
+    Debug.Print "The shown row number 2 is row " & .RowPositionFromNonHidden(2)
+    Debug.Print "Row 2 has no position: " & .RowNonHiddenPosition(2)
+End With
+' Output:
+' Rows 5, shown 4
+' Row 3 is the shown row number 2
+' The shown row number 2 is row 3
+' Row 2 has no position: -1
+```
+
+The text of the header cells can be set in one assignment with [**FormatString**](#formatstring), which also sets the alignment and the width of the columns. The rows below the fixed rows are filled by [**AddItem**](#additem), which appends or inserts a row from a tab-separated string, or by the members of [Cell Text](Text) and [Clipboard, Undo and Arrays](ClipboardAndArrays).
+
+* TOC
+{:toc}
+
+## Properties
+
+### AllowUserFreezing
+{: .no_toc }
+
+Returns or sets whether the user can freeze and unfreeze rows and columns with the mouse. A [**FlexAllowUserFreezingConstants**](../Enumerations/CellsAndAppearance#flexallowuserfreezingconstants) member. Default: **FlexAllowUserFreezingNone**.
+
+Syntax: *object*.**AllowUserFreezing** [ = *value* ]
+
+With **FlexAllowUserFreezingRows**, **FlexAllowUserFreezingColumns** or **FlexAllowUserFreezingBoth**, the user can drag the divider between the frozen rows or columns and the scrollable cells to a new row or column. When nothing is frozen, the divider is the edge of the fixed cells. The grid then changes [**FrozenRows**](#frozenrows) or [**FrozenCols**](#frozencols), moves the current cell to the first scrollable cell, and raises [**AfterUserFreeze**](#afteruserfreeze). A value that is not a member of the enumeration raises run-time error 380.
+
+### ColData
+{: .no_toc }
+
+Returns or sets a number that the program keeps for a column. A **LongPtr** (a **Long** in a 32-bit program). Default: 0.
+
+Syntax: *object*.**ColData**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the column. A column the grid does not have raises run-time error 30010.
+
+The grid does not use the number. It moves with its column when the column is moved, and [**ClearColInfo**](#clearcolinfo) resets it to 0.
+
+### ColDataCapacity
+{: .no_toc }
+
+Returns or sets the data capacity of a column. A **Long**. Default: 0.
+
+Syntax: *object*.**ColDataCapacity**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the column. For the assignment, -1 sets every column. A column the grid does not have raises run-time error 30010.
+
+The grid stores the number for the program and does not use it. A grid bound to a recordset (see [Data Binding](DataBinding)) sets it for each column to the defined size of the field.
+
+### ColHidden
+{: .no_toc }
+
+Returns or sets whether a column is hidden. **Boolean**. Default: **False**.
+
+Syntax: *object*.**ColHidden**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the column. For the assignment, -1 hides or shows every column. A column the grid does not have raises run-time error 30010.
+
+A hidden column has the width 0 and keeps its index. [**ColWidth**](Sizing#colwidth) of a hidden column returns 0, whatever its width setting is. A column whose width is set to 0 is not hidden.
+
+### ColIndex
+{: .no_toc }
+
+Returns the index of the column that has a key. A **Long**. Read-only: an assignment raises run-time error 383.
+
+Syntax: *object*.**ColIndex**(*Key*)
+
+*Key*
+: *required* A **String**: the key given by [**ColKey**](#colkey). The comparison ignores the case.
+
+The result is -1 when no column has the key, and for an empty *Key*. When several columns have the same key, the first one is returned.
+
+### ColKey
+{: .no_toc }
+
+Returns or sets the key of a column, a name by which a program can find it. A **String**. Default: an empty string.
+
+Syntax: *object*.**ColKey**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the column. A column the grid does not have raises run-time error 30010.
+
+A key is a name to use instead of an index that changes when columns are moved: [**ColIndex**](#colindex) returns the current index. A grid bound to a recordset gives each column the name of its field as its key.
+
+### ColNonHiddenPosition
+{: .no_toc }
+
+Returns the position of a column among the columns that are not hidden. A **Long**. Read-only.
+
+Syntax: *object*.**ColNonHiddenPosition**(*Index*)
+
+*Index*
+: *required* A **Long**: the column. A column the grid does not have raises run-time error 30010.
+
+The result counts from 0 and skips the hidden columns. It is -1 for a column that is hidden. [**ColPositionFromNonHidden**](#colpositionfromnonhidden) does the reverse.
+
+### ColPosition
+{: .no_toc }
+
+Moves a column to a new position. A **Long**. Write-only: reading it raises run-time error 394.
+
+Syntax: *object*.**ColPosition**(*Index*) = *value*
+
+*Index*
+: *required* A **Long**: the column to move.
+
+*value*
+: A **Long**: the index that the column has after the move. The columns between the old and the new position shift by one.
+
+A column or a value that the grid does not have raises run-time error 381. The column keeps everything that belongs to it: its cells, width, key, alignment, sort settings and data. See also [**DragCol**](#dragcol).
+
+### ColPositionFromNonHidden
+{: .no_toc }
+
+Returns the index of the column that is at a position among the columns that are not hidden. A **Long**. Read-only.
+
+Syntax: *object*.**ColPositionFromNonHidden**(*NonHiddenPosition*)
+
+*NonHiddenPosition*
+: *required* A **Long**: a position counted from 0 among the columns that are shown. A value below 0 or past the last column raises run-time error 30010.
+
+The result is -1 when fewer columns than that are shown. [**ColNonHiddenPosition**](#colnonhiddenposition) does the reverse.
+
+### Cols
+{: .no_toc }
+
+Returns or sets the number of columns, the fixed and the frozen ones included. A **Long**. Default: 2.
+
+Syntax: *object*.**Cols** [ = *value* ]
+
+Adding columns keeps the cells of the existing ones; removing them loses the cells, the column keys and the formatting of the columns that go. When *value* is not larger than [**FixedCols**](#fixedcols) plus [**FrozenCols**](#frozencols), the grid reduces them so that one scrollable column is left: **FixedCols** becomes *value* when it is larger than *value*, and **FrozenCols** shrinks to fit. The current cell and the selection are moved into the grid when they are past the last column. Setting **Cols** to 0 removes all the cells and sets **FixedCols** and **FrozenCols** to 0; the number of rows does not change. A negative value raises run-time error 30010.
+
+### ColsNonHidden
+{: .no_toc }
+
+Returns the number of columns that are not hidden. A **Long**. Read-only.
+
+Syntax: *object*.**ColsNonHidden**
+
+### FixedCols
+{: .no_toc }
+
+Returns or sets the number of fixed columns. A **Long**. Default: 1.
+
+Syntax: *object*.**FixedCols** [ = *value* ]
+
+Setting it moves the current cell to the first cell that is not fixed or frozen and scrolls the grid to the left. A negative value raises run-time error 30010. A value that leaves no scrollable column, that is a *value* that is not below [**Cols**](#cols) minus [**FrozenCols**](#frozencols), raises run-time error 30017 (*FixedCols must be at least one less than Cols minus FrozenCols value*).
+
+### FixedColsVisible
+{: .no_toc }
+
+Returns the number of fixed columns that are visible in the control. A **Long**. Read-only.
+
+Syntax: *object*.**FixedColsVisible** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* A [**FlexVisibilityConstants**](../Enumerations/SelectionAndInput#flexvisibilityconstants) member: **FlexVisibilityCompleteOnly** (the default) counts only the columns that are shown completely, **FlexVisibilityPartialOK** counts the ones that are shown in part as well. Another value raises run-time error 380.
+
+When the control is narrower than its fixed columns, the result is smaller than **FixedCols**.
+
+### FixedRows
+{: .no_toc }
+
+Returns or sets the number of fixed rows. A **Long**. Default: 1.
+
+Syntax: *object*.**FixedRows** [ = *value* ]
+
+Setting it moves the current cell to the first cell that is not fixed or frozen and scrolls the grid to the top. A negative value raises run-time error 30009. A value that leaves no scrollable row, that is a *value* that is not below [**Rows**](#rows) minus [**FrozenRows**](#frozenrows), raises run-time error 30016 (*FixedRows must be at least one less than Rows minus FrozenRows value*).
+
+### FixedRowsVisible
+{: .no_toc }
+
+Returns the number of fixed rows that are visible in the control. A **Long**. Read-only.
+
+Syntax: *object*.**FixedRowsVisible** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* A [**FlexVisibilityConstants**](../Enumerations/SelectionAndInput#flexvisibilityconstants) member: **FlexVisibilityCompleteOnly** (the default) counts only the rows that are shown completely, **FlexVisibilityPartialOK** counts the ones that are shown in part as well. Another value raises run-time error 380.
+
+### FormatString
+{: .no_toc }
+
+Sets up the texts of the fixed row and the fixed column, the alignment of the columns and the widths of the columns in one string. A **String**. Default: an empty string.
+
+Syntax: *object*.**FormatString** [ = *value* ]
+
+The string has two parts, divided by a semicolon, and each part is a list of entries divided by `|`:
+
+```
+column headers ; row headers
+```
+
+- The **column headers** are the texts of row 0, from column 0 on. An entry that starts with `<`, `^` or `>` aligns the column to the left, center or right (**FlexAlignmentLeftCenter**, **FlexAlignmentCenterCenter**, **FlexAlignmentRightCenter**; see [**ColAlignment**](CellFormatting#colalignment)); an entry without one of them leaves the alignment at **FlexAlignmentGeneral**. The prefix is not part of the text. Each column is made as wide as its entry needs, with the best fit that [**AutoSize**](Sizing#autosize) uses, and the grid gets more columns when the string has more entries than the grid has columns. The number of columns is never reduced.
+- The **row headers** are the texts of column 0, from row 0 on, and the grid gets more rows when there are more entries than rows. The first entry is the text of the cell in row 0 and column 0, so when the string has a semicolon, the first entry after it replaces the text that the first column header gave to that cell, even if it is empty. Column 0 is widened to fit the longest entry. Entries of this part have no alignment prefixes.
+
+A string without a semicolon sets only the column headers. The string is applied only to a grid that has at least one fixed row; the row headers are applied only when it also has a fixed column. With **FixedRows** at 0 the string is stored and read back, but nothing is set.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .FormatString = "Score;Table|Ann|Bob"
+    Debug.Print .Cols & " columns, " & .Rows & " rows"
+    Debug.Print .TextMatrix(0, 0) & "," & .TextMatrix(0, 1) & "," & .TextMatrix(0, 2) & "," & .TextMatrix(1, 0) & "," & .TextMatrix(2, 0)
+    Debug.Print .ColAlignment(1) & " " & .ColAlignment(2) & " " & .ColAlignment(0)
+End With
+' Output:
+' 3 columns, 3 rows
+' Table,Age,Score,Ann,Bob
+' 4 7 1
+```
+
+In the sample, the corner cell holds `Table`, the first row header, and not `Name`, the first column header. The alignment `<` of the first column header still applies to column 0.
+
+### FrozenCols
+{: .no_toc }
+
+Returns or sets the number of frozen columns. A **Long**. Default: 0.
+
+Syntax: *object*.**FrozenCols** [ = *value* ]
+
+The frozen columns are the ones after the fixed columns that do not scroll. Setting it moves the current cell to the first scrollable cell. A negative value raises run-time error 30010; a *value* that leaves no scrollable column raises run-time error 30017 (*FrozenCols must be at least one less than Cols minus FixedCols value*). See also [**AllowUserFreezing**](#allowuserfreezing).
+
+### FrozenColsVisible
+{: .no_toc }
+
+Returns the number of frozen columns that are visible in the control. A **Long**. Read-only.
+
+Syntax: *object*.**FrozenColsVisible** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* As for [**FixedColsVisible**](#fixedcolsvisible).
+
+### FrozenRows
+{: .no_toc }
+
+Returns or sets the number of frozen rows. A **Long**. Default: 0.
+
+Syntax: *object*.**FrozenRows** [ = *value* ]
+
+The frozen rows are the ones after the fixed rows that do not scroll. Setting it moves the current cell to the first scrollable cell. A negative value raises run-time error 30009; a *value* that leaves no scrollable row raises run-time error 30016 (*FrozenRows must be at least one less than Rows minus FixedRows value*). See also [**AllowUserFreezing**](#allowuserfreezing).
+
+### FrozenRowsVisible
+{: .no_toc }
+
+Returns the number of frozen rows that are visible in the control. A **Long**. Read-only.
+
+Syntax: *object*.**FrozenRowsVisible** [ ( *Visibility* ) ]
+
+*Visibility*
+: *optional* As for [**FixedRowsVisible**](#fixedrowsvisible).
+
+### RowData
+{: .no_toc }
+
+Returns or sets a number that the program keeps for a row. A **LongPtr** (a **Long** in a 32-bit program). Default: 0.
+
+Syntax: *object*.**RowData**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the row. A row the grid does not have raises run-time error 30009.
+
+The grid does not use the number. It moves with its row when the row is moved or sorted, and [**ClearRowInfo**](#clearrowinfo) resets it to 0.
+
+### RowHidden
+{: .no_toc }
+
+Returns or sets whether a row is hidden. **Boolean**. Default: **False**.
+
+Syntax: *object*.**RowHidden**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the row. For the assignment, -1 hides or shows every row. A row the grid does not have raises run-time error 30009.
+
+A hidden row has the height 0 and keeps its index. [**RowHeight**](Sizing#rowheight) of a hidden row returns 0, whatever its height setting is.
+
+### RowID
+{: .no_toc }
+
+Returns or sets the identifier of a row. A **Variant**. Default: 0, which means that the row has no identifier.
+
+Syntax: *object*.**RowID**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the row. A row the grid does not have raises run-time error 30009.
+
+*value*
+: A whole number up to 64 bits: a **Byte**, **Integer**, **Long**, **Double**, **Currency** or **Decimal**, or a **String** that holds a number. A value that does not fit raises run-time error 6, a string that is not a number raises 13 and any other type raises 380. An **Empty** value sets 0.
+
+The identifier is what [**RowIndex**](#rowindex) searches for. It belongs to the row and moves with it. Reading returns a **Long** when the identifier is in the range of a **Long** and a **Decimal** otherwise.
+
+A one-dimensional array assigns the identifiers of several rows at once: its first item goes to row *Index*, the next one to the next row, and the items that do not fit in the grid are ignored. A multi-dimensional array raises run-time error 5 and an array that has no items yet raises 91.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .Rows = 4
+    .RowID(1) = Array(11, 22, 33)
+    .TextMatrix(2, 0) = "second"
+    .RowPosition(2) = 1       ' row 2 moves up, with its identifier
+    Debug.Print .RowIndex(22) & " " & .TextMatrix(1, 0) & " " & .RowID(1)
+    Debug.Print .RowIndex(99) & " " & .RowIndex(0)
+End With
+' Output:
+' 1 second 22
+' -1 -1
+```
+
+### RowIndex
+{: .no_toc }
+
+Returns the index of the row that has an identifier. A **Long**. Read-only: an assignment raises run-time error 383.
+
+Syntax: *object*.**RowIndex**(*ID*)
+
+*ID*
+: *required* A **Variant**: the identifier, a number or a string that holds one, as for [**RowID**](#rowid).
+
+The result is -1 when no row has the identifier, and for the identifier 0. A value that is not a number raises run-time error 13 and a number that does not fit in 64 bits raises 6.
+
+### RowNonHiddenPosition
+{: .no_toc }
+
+Returns the position of a row among the rows that are not hidden. A **Long**. Read-only.
+
+Syntax: *object*.**RowNonHiddenPosition**(*Index*)
+
+*Index*
+: *required* A **Long**: the row. A row the grid does not have raises run-time error 30009.
+
+The result counts from 0 and skips the hidden rows. It is -1 for a row that is hidden. [**RowPositionFromNonHidden**](#rowpositionfromnonhidden) does the reverse.
+
+### RowPosition
+{: .no_toc }
+
+Moves a row to a new position. A **Long**. Write-only: reading it raises run-time error 394.
+
+Syntax: *object*.**RowPosition**(*Index*) = *value*
+
+*Index*
+: *required* A **Long**: the row to move.
+
+*value*
+: A **Long**: the index that the row has after the move. The rows between the old and the new position shift by one.
+
+A row or a value that the grid does not have raises run-time error 381. The row keeps everything that belongs to it: its cells, height, hidden state, data and identifier. The fixed rows can be moved too. A multiple selection (see [**AllowMultiSelection**](Selection#allowmultiselection)) is cleared. See also [**DragRow**](#dragrow).
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 4
+    .TextMatrix(1, 0) = "one"
+    .TextMatrix(2, 0) = "two"
+    .TextMatrix(3, 0) = "three"
+    .RowPosition(1) = 3
+    Debug.Print .TextMatrix(1, 0) & " " & .TextMatrix(2, 0) & " " & .TextMatrix(3, 0)
+End With
+' Output:
+' two three one
+```
+
+### RowPositionFromNonHidden
+{: .no_toc }
+
+Returns the index of the row that is at a position among the rows that are not hidden. A **Long**. Read-only.
+
+Syntax: *object*.**RowPositionFromNonHidden**(*NonHiddenPosition*)
+
+*NonHiddenPosition*
+: *required* A **Long**: a position counted from 0 among the rows that are shown. A value below 0 or past the last row raises run-time error 30009.
+
+The result is -1 when fewer rows than that are shown. [**RowNonHiddenPosition**](#rownonhiddenposition) does the reverse.
+
+### Rows
+{: .no_toc }
+
+Returns or sets the number of rows, the fixed and the frozen ones included. A **Long**. Default: 2.
+
+Syntax: *object*.**Rows** [ = *value* ]
+
+Adding rows keeps the cells of the existing ones; removing them loses the cells of the rows that go. When *value* is not larger than [**FixedRows**](#fixedrows) plus [**FrozenRows**](#frozenrows), the grid reduces them so that one scrollable row is left: **FixedRows** becomes *value* when it is larger than *value*, and **FrozenRows** shrinks to fit. The current cell and the selection are moved into the grid when they are past the last row, and a multiple selection is cleared. Setting **Rows** to 0 removes all the cells and sets **FixedRows** and **FrozenRows** to 0; the number of columns does not change. A negative value raises run-time error 30009.
+
+### RowsNonHidden
+{: .no_toc }
+
+Returns the number of rows that are not hidden. A **Long**. Read-only.
+
+Syntax: *object*.**RowsNonHidden**
+
+## Methods
+
+### AddItem
+{: .no_toc }
+
+Adds a row to the grid and fills its cells from a string.
+
+Syntax: *object*.**AddItem** *Item* [ , *Index* ]
+
+*Item*
+: *required* A **String**: the texts of the cells of the new row, from the first column on, divided by the column separator of the grid, a tab character unless [**ClipSeparatorCol**](ClipboardAndArrays#clipseparatorcol) or [**ClipSeparators**](ClipboardAndArrays#clipseparators) says otherwise. A text for a column that the grid does not have is ignored; a column without a text stays empty.
+
+*Index*
+: *optional* A **Long**: the row before which the new row is inserted. The default, and the value **Rows**, appends the row. A value in the fixed rows raises run-time error 30001 (*Cannot use AddItem on a fixed row*); a value below 0 or past **Rows** raises run-time error 30002 (*Grid does not contain that row*).
+
+The new row has the default height and no identifier, data or formatting. The rows from *Index* on move down by one, and the numbers of a multiple selection move with them. When [**ClipMode**](ClipboardAndArrays#clipmode) says so, the entries are converted through the lookups of the columns, and hidden columns are skipped, as **Clip** does it.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 3
+    .AddItem "a" & vbTab & "b" & vbTab & "c"                 ' appended as row 3
+    .AddItem "x" & vbTab & "y" & vbTab & "z" & vbTab & "w", 1  ' inserted as row 1
+    Debug.Print .Rows & " " & .TextMatrix(1, 0) & .TextMatrix(1, 2) & " " & .TextMatrix(4, 1)
+    .RemoveItem 1
+    Debug.Print .Rows & " " & .TextMatrix(3, 1)
+End With
+' Output:
+' 5 xz b
+' 4 b
+```
+
+### Clear
+{: .no_toc }
+
+Clears the text, the formatting or the user tags of the cells of a part of the grid.
+
+Syntax: *object*.**Clear** [ *Where* [ , *What* ] ]
+
+*Where*
+: *optional* A [**FlexClearWhereConstants**](../Enumerations/CellsAndAppearance#flexclearwhereconstants) member: the cells to clear. **FlexClearEverywhere** (the default) is all cells. **FlexClearFixed** is the fixed rows and the fixed columns, **FlexClearScrollable** the cells that are neither fixed nor frozen, **FlexClearMovable** all cells that are not fixed (the frozen ones included), **FlexClearFrozen** the frozen rows and columns, **FlexClearSelection** the selected range, and **FlexClearClip** the cells that [**Clip**](ClipboardAndArrays#clip) covers, which for a hidden row or column depends on [**ClipMode**](ClipboardAndArrays#clipmode).
+
+*What*
+: *optional* A [**FlexClearWhatConstants**](../Enumerations/CellsAndAppearance#flexclearwhatconstants) member: what to clear. **FlexClearEverything** (the default) clears the text, the formatting and the tag. **FlexClearText**, **FlexClearFormatting** and **FlexClearTag** clear one of them.
+
+A value that is not a member of an enumeration raises run-time error 380. The counts of rows and columns, the sizes and the other settings of rows and columns are not changed: [**ClearRowInfo**](#clearrowinfo) and [**ClearColInfo**](#clearcolinfo) reset those. **FlexClearEverything** raises run-time error 5 when the grid has a custom data source (see [**FlexDataSource**](DataBinding#flexdatasource)).
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 3
+    .Cols = 3
+    .TextMatrix(0, 1) = "H"
+    .TextMatrix(1, 0) = "R"
+    .TextMatrix(1, 1) = "a"
+    .Clear FlexClearScrollable, FlexClearText
+    Debug.Print "[" & .TextMatrix(1, 1) & "][" & .TextMatrix(0, 1) & "][" & .TextMatrix(1, 0) & "]"
+    .Clear
+    Debug.Print "[" & .TextMatrix(1, 1) & "][" & .TextMatrix(0, 1) & "][" & .TextMatrix(1, 0) & "]"
+End With
+' Output:
+' [][H][R]
+' [][][]
+```
+
+### ClearColInfo
+{: .no_toc }
+
+Resets the settings of a column to their defaults.
+
+Syntax: *object*.**ClearColInfo** *Index*
+
+*Index*
+: *required* A **Long**: the column, or -1 for every column. Any other value that is not a column raises run-time error 30010.
+
+All the settings that the members with a column index keep are reset: the width and the hidden state, **ColData**, **ColKey**, the alignment and the formats, the word wrap options, the sort mode and the sort arrow, the combo box and the check box settings, the image list, the lookup and the data type. The cells themselves are not changed.
+
+### ClearRowInfo
+{: .no_toc }
+
+Resets the settings of a row to their defaults.
+
+Syntax: *object*.**ClearRowInfo** *Index*
+
+*Index*
+: *required* A **Long**: the row, or -1 for every row. Any other value that is not a row raises run-time error 30009.
+
+The height, the hidden state, the setting that tells whether the user can resize the row, **RowData** and **RowID** are reset. The cells themselves are not changed.
+
+### DragCol
+{: .no_toc }
+
+Lets the user drag a column to a new position with the mouse, and returns the position where it was dropped.
+
+Syntax: *object*.**DragCol**(*Index*)
+
+*Index*
+: *required* A **Long**: the column to drag, which must not be a fixed column. A column that is a fixed column or that the grid does not have raises run-time error 381.
+
+This is not an OLE drag-and-drop operation: the method runs its own message loop and returns when the user lets go of the mouse button. Call it while the left or the right mouse button is pressed, for example from the [**MouseDown**](MouseAndKeyboard#mousedown) event. The drag starts when the mouse has moved a few pixels, and a line shows the position where the column would go. The grid does not move the column. The method returns the index to move it to, which is *Index* when the mouse button was not pressed, when the user presses the Esc key, and when the button is released outside the control. The result goes to [**ColPosition**](#colposition): `.ColPosition(i) = .DragCol(i)`.
+
+Calling **DragCol** or **DragRow** while another one is still running raises run-time error 5.
+
+### DragRow
+{: .no_toc }
+
+Lets the user drag a row to a new position with the mouse, and returns the position where it was dropped.
+
+Syntax: *object*.**DragRow**(*Index*)
+
+*Index*
+: *required* A **Long**: the row to drag, which must not be a fixed row. A row that is a fixed row or that the grid does not have raises run-time error 381.
+
+The method works as [**DragCol**](#dragcol) does, for a row. The result goes to [**RowPosition**](#rowposition): `.RowPosition(i) = .DragRow(i)`. A multiple selection is cleared by a completed drag.
+
+### RemoveItem
+{: .no_toc }
+
+Removes a row from the grid.
+
+Syntax: *object*.**RemoveItem** *Index*
+
+*Index*
+: *required* A **Long**: the row to remove. A fixed row raises run-time error 30000 (*Cannot do a RemoveItem on a fixed row*); a value below 0 or past the last row raises run-time error 30002 (*Grid does not contain that row*).
+
+The rows below it move up by one and **Rows** decreases. The current cell and the selection stay inside the grid, and a multiple selection is cleared. Removing the last row removes all the cells.
+
+## Events
+
+### AfterUserFreeze
+{: .no_toc }
+
+Occurs after the user has dragged a freeze divider and the grid has applied the new number of frozen rows or columns. See [**AllowUserFreezing**](#allowuserfreezing).
+
+Syntax: *object*\_**AfterUserFreeze**( )
+
+```tb check_build
+Private Sub VBFlexGrid1_AfterUserFreeze()
+    Debug.Print "Frozen: " & VBFlexGrid1.FrozenRows & " rows, " & VBFlexGrid1.FrozenCols & " columns"
+End Sub
+```
+
+## See Also
+
+- [Sizes and Positions](Sizing) -- heights and widths of rows and columns, and best fit
+- [Selection](Selection) -- the current cell and the selected range
+- [Scrolling](Scrolling) -- the scrollable part of the grid
+- [Sorting and Searching](SortingAndSearching) -- sorting moves rows and their data
+- [Clipboard, Undo and Arrays](ClipboardAndArrays) -- loading and saving the cells as arrays
+- [Data Binding](DataBinding) -- binding a grid to a recordset
+- [FlexAllowUserFreezingConstants](../Enumerations/CellsAndAppearance#flexallowuserfreezingconstants) -- the freezing modes
+- [FlexClearWhereConstants](../Enumerations/CellsAndAppearance#flexclearwhereconstants) -- the parts of the grid that **Clear** works on
+- [FlexClearWhatConstants](../Enumerations/CellsAndAppearance#flexclearwhatconstants) -- what **Clear** clears
+- [FlexVisibilityConstants](../Enumerations/SelectionAndInput#flexvisibilityconstants) -- complete or partial visibility
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Text.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Text.md
new file mode 100644
index 000000000..f8dcce972
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/Text.md
@@ -0,0 +1,558 @@
+---
+title: Cell Text
+parent: VBFlexGrid
+grand_parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/Text
+has_toc: false
+---
+
+# Cell Text
+{: .no_toc }
+
+Reading and writing the text of cells, and the properties that change how the text is shown: formats, data types, lookups, tags, tool tips, wrapping and ellipsis.
+
+Every cell of a **VBFlexGrid** holds one **String**, and the fixed rows and columns are cells like any other. Four properties reach that string: [**Text**](#text) for the current cell, [**TextMatrix**](#textmatrix) for the cell at a row and a column, [**TextArray**](#textarray) for the cell at a position counted row by row, and [**Cell**](#cell) with **FlexCellText** for a cell or a block of cells.
+
+```tb check_build check_run arch=win32,win64
+VBFlexGrid1.Rows = 3
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.TextMatrix(1, 1) = "Alpha"
+VBFlexGrid1.Row = 2
+VBFlexGrid1.Col = 2
+VBFlexGrid1.Text = "Beta"
+VBFlexGrid1.TextArray(1 * VBFlexGrid1.Cols + 2) = "Gamma"   ' row 1, column 2
+Debug.Print VBFlexGrid1.TextMatrix(1, 1) ' Alpha
+Debug.Print VBFlexGrid1.TextMatrix(2, 2) ' Beta
+Debug.Print VBFlexGrid1.Text             ' Beta
+Debug.Print VBFlexGrid1.TextArray(5)     ' Gamma
+```
+
+A row, a column or an index outside the grid raises run-time error 381 (*Subscript out of range*). [**Text**](#text) raises 30009 or 30010 when the current row or column is -1.
+
+* TOC
+{:toc}
+
+## Writing a block of cells
+
+[**Text**](#text) and every other property that sets a cell's formatting (the **Cell...** properties of [Cell Formatting](CellFormatting)) apply to the current cell only, unless [**FillStyle**](CellFormatting#fillstyle) is **FlexFillStyleRepeat**. Then they apply to every cell of the selection. [**Cell**](#cell) has two more parameters, *RowSel* and *ColSel*, that name the block directly. It leaves the current cell and the selection as they were.
+
+```tb check_build check_run
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 4
+VBFlexGrid1.Cell(FlexCellText, 1, 1, 2, 2) = "x"          ' a block of four cells
+VBFlexGrid1.Row = 3: VBFlexGrid1.Col = 3
+VBFlexGrid1.RowSel = 3: VBFlexGrid1.ColSel = 3
+Debug.Print VBFlexGrid1.TextMatrix(1, 1) & VBFlexGrid1.TextMatrix(2, 2) & VBFlexGrid1.TextMatrix(3, 3) ' xx
+Debug.Print VBFlexGrid1.Row & " " & VBFlexGrid1.Col ' 3 3
+VBFlexGrid1.FillStyle = FlexFillStyleRepeat
+VBFlexGrid1.Row = 1: VBFlexGrid1.Col = 1
+VBFlexGrid1.RowSel = 3: VBFlexGrid1.ColSel = 3
+VBFlexGrid1.Text = "y"                                   ' the whole selection
+Debug.Print VBFlexGrid1.TextMatrix(3, 3) & VBFlexGrid1.TextMatrix(1, 3) ' yy
+```
+
+## Showing text differently from how it is stored
+
+The text a cell holds is not always the text a user should see. A column can have a *format* and a *lookup*, and both change only what is drawn. [**TextMatrix**](#textmatrix) and [**Text**](#text) always return the stored string; `Cell(FlexCellTextDisplay)` returns the string as drawn, after the lookup and then the format.
+
+- [**ColFormat**](#colformat) is a format string for the **Format$** function. It applies to the cells of the scrollable area, and to the fixed cells too unless [**FixedFormat**](#fixedformat) is set.
+- [**ColLookup**](#collookup) maps stored keys to displayed values, the way a database stores `3` and a user reads *Contractor*. The lookup is applied first, so a format sees the value.
+
+```tb check_build check_run arch=win32,win64
+VBFlexGrid1.Rows = 3
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.ColFormat(1) = "000"
+VBFlexGrid1.TextMatrix(1, 1) = "7"
+Debug.Print VBFlexGrid1.TextMatrix(1, 1)                  ' 7
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 1, 1)   ' 007
+
+VBFlexGrid1.ColLookup(2) = "1;Full time|2;Part time|3;Contractor"
+VBFlexGrid1.TextMatrix(1, 2) = "3"
+VBFlexGrid1.TextMatrix(2, 2) = "9"
+Debug.Print VBFlexGrid1.TextMatrix(1, 2)                  ' 3
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 1, 2)   ' Contractor
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 2, 2)   ' 9
+```
+
+A key with no entry in the lookup is shown as it is, as the last line shows. [**LookupConv**](#lookupconv) does the conversion in code, in either direction. When a column has a lookup, the user-visible editing and the clipboard use it as well: a drop-down list of values puts the key in the cell (see [Drop-Down Lists, Buttons and Calendars](ComboEditing)), and [**Clip**](ClipboardAndArrays#clip) returns the values rather than the keys while [**ClipMode**](ClipboardAndArrays#clipmode) is **FlexClipModeLookupConv** or **FlexClipModeLookupConvExcludeHidden**.
+
+## Data types of a column
+
+[**ColDataType**](#coldatatype), [**ColNumericPrecision**](#colnumericprecision), [**ColNumericScale**](#colnumericscale) and [**ColNullable**](#colnullable) describe what a column holds. They do not restrict what can be typed into it, and nothing is converted when a cell is written: the cell still holds a string. Binding the control to an ADO recordset with [**DataSource**](DataBinding#datasource) fills them in from the fields. The one place that acts on them is [**SaveArray**](ClipboardAndArrays#savearray) with *UseColDataType* **True**, which returns the cells of a column as values of the column's type.
+
+```tb check_build check_run
+VBFlexGrid1.Rows = 4
+VBFlexGrid1.Cols = 2
+VBFlexGrid1.ColDataType(1) = vbLong
+VBFlexGrid1.TextMatrix(1, 1) = "42"
+VBFlexGrid1.TextMatrix(2, 1) = "text"
+Dim v As Variant
+v = VBFlexGrid1.SaveArray(FlexRowMajor, UseColDataType:=True)
+Debug.Print TypeName(v(0, 0)) ' Long
+Debug.Print IsNull(v(1, 0))   ' True
+Debug.Print TypeName(v(2, 0)) ' Empty
+```
+
+The conversion keeps an empty cell empty. A text that cannot be converted becomes **Null**, or stays a string when the column is not nullable and *UseColNullable* is **True**.
+
+## Wrapping and ellipsis
+
+By default a cell starts a new line at each line break in its text and cuts every line off at the cell's edge. Three grid-wide settings change that.
+
+- [**WordWrap**](#wordwrap) also breaks a line that is wider than the cell.
+- [**SingleLine**](#singleline) draws the text on one line, so that line breaks in it do not start a new line.
+- [**EllipsisFormat**](#ellipsisformat) ends a line that does not fit with an ellipsis (...), placing it at the end of the line, in the middle as a path is shortened, or at the end of a word.
+
+[**EllipsisFormatFixed**](#ellipsisformatfixed) is the same setting for the fixed cells. [**MimicTextBox**](#mimictextbox) draws the text as a multi-line text box draws it.
+
+Each of these can be overridden for one column. [**ColWordWrapOption**](#colwordwrapoption) combines wrapping, single line and ellipsis in one value, and [**ColMimicTextBox**](#colmimictextbox) is the column's own mimic setting; both have a *Fixed* form for the fixed cells. A column that has not been overridden reports the value that results from the grid-wide settings.
+
+![A grid with the same long sentence in two columns. The Wrapped column, set to FlexWordBreak, breaks it over three lines; the Ellipsis column, set to FlexSingleLineEndEllipsis, shows one line ending in an ellipsis. A third column, Contract, shows Full time and Contractor for the stored keys 1 and 3, through ColLookup.](Images/Text_Wrapping.png){:width="364" height="145"}
+
+```tb check_build check_run
+VBFlexGrid1.Cols = 3
+Debug.Print VBFlexGrid1.ColWordWrapOption(1) = FlexWordWrapNone  ' True
+VBFlexGrid1.WordWrap = True
+VBFlexGrid1.EllipsisFormat = FlexEllipsisFormatEnd
+Debug.Print VBFlexGrid1.ColWordWrapOption(1) = FlexWordBreakEndEllipsis ' True
+VBFlexGrid1.ColWordWrapOption(2) = FlexSingleLine                ' column 2 only
+Debug.Print VBFlexGrid1.ColWordWrapOption(2) = FlexSingleLine    ' True
+Debug.Print VBFlexGrid1.ColWordWrapOption(1) = FlexWordBreakEndEllipsis ' True
+VBFlexGrid1.ColWordWrapOption(-1) = -1                           ' every column follows the grid again
+Debug.Print VBFlexGrid1.ColWordWrapOption(2) = FlexWordBreakEndEllipsis ' True
+```
+
+[**WordWrap**](#wordwrap) and [**SingleLine**](#singleline) exclude each other. Setting **SingleLine** to **True** sets **WordWrap** to **False**, and setting **WordWrap** to **True** while **SingleLine** is **True** raises run-time error 383.
+
+```tb check_build check_run
+VBFlexGrid1.WordWrap = True
+VBFlexGrid1.SingleLine = True
+Debug.Print VBFlexGrid1.WordWrap ' False
+On Error Resume Next
+VBFlexGrid1.WordWrap = True
+Debug.Print Err.Number           ' 383
+```
+
+## Tags and tool tips
+
+Each cell can carry a *tag*, a **Variant** that the control stores and never reads: a key, an object, a record. [**CellTag**](#celltag) reads and writes the tag of the current cell. A cell has no tag, and uses no memory for one, until a tag is stored; [**CellHasTag**](#cellhastag) tells which, and setting it to **False** discards the tag.
+
+```tb check_build check_run
+VBFlexGrid1.Row = 1
+VBFlexGrid1.Col = 1
+Debug.Print VBFlexGrid1.CellHasTag     ' False
+VBFlexGrid1.CellTag = 12345
+Debug.Print VBFlexGrid1.CellHasTag     ' True
+Debug.Print VBFlexGrid1.CellTag        ' 12345
+Debug.Print VBFlexGrid1.Cell(FlexCellTag, 1, 1) ' 12345
+VBFlexGrid1.CellHasTag = False
+Debug.Print IsEmpty(VBFlexGrid1.CellTag) ' True
+```
+
+[**CellToolTipText**](#celltooltiptext) gives a cell a tool tip. It is shown only while [**ShowInfoTips**](#showinfotips) is **True**. [**ShowLabelTips**](#showlabeltips) shows the whole text of a cell that is cut off, in a tool tip, when the cell has no tool tip text of its own.
+
+```tb check_build
+VBFlexGrid1.ShowInfoTips = True
+VBFlexGrid1.ShowLabelTips = True
+VBFlexGrid1.TextMatrix(1, 1) = "A text that is much longer than its cell"
+VBFlexGrid1.Row = 1
+VBFlexGrid1.Col = 1
+VBFlexGrid1.CellToolTipText = "Shown for this cell instead of its own text"
+```
+
+## Properties
+
+### Cell
+{: .no_toc }
+
+Reads or writes one setting of a cell or of a block of cells.
+
+Syntax: *object*.**Cell**(*Setting*, [ *Row*, [ *Col*, [ *RowSel*, [ *ColSel* ] ] ] ]) [ = *value* ]
+
+*Setting*
+: *required* A [**FlexCellSettings**](../Enumerations/CellsAndAppearance#flexcellsettings) member naming the setting. It is the one parameter that is not optional.
+
+*Row*, *Col*
+: *optional* The cell, as a **Long**. -1, or omitted, means the current row or the current column.
+
+*RowSel*, *ColSel*
+: *optional* The opposite corner of a block of cells, as a **Long**. -1, or omitted, means the same as *Row* or *Col*, so that the property reads or writes one cell. The selection of the grid is not used.
+
+Each setting is the property of the same name: **FlexCellText** is [**Text**](#text), **FlexCellBackColor** is [**CellBackColor**](CellFormatting#cellbackcolor), and so on. Reading returns the setting of the cell named by *Row* and *Col*. Writing sets it in every cell of the block. The current cell and the selection are the same afterwards, and no event is raised for the moves in between. The grid is redrawn once.
+
+A value of the wrong kind for the setting raises the error its property raises. **FlexCellLeft**, **FlexCellTop**, **FlexCellWidth**, **FlexCellHeight**, **FlexCellTextDisplay** and **FlexCellTextHidden** are read-only, and writing them raises 383. **FlexCellSort** is write-only, and reading it raises 394. Settings that hold an object, **FlexCellPicture** and **FlexCellTag**, are written with **Set** when the value is an object.
+
+```tb check_build check_run arch=win32,win64
+VBFlexGrid1.Rows = 3
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.Cell(FlexCellBackColor, 1, 1, 2, 2) = vbYellow
+Debug.Print VBFlexGrid1.Cell(FlexCellBackColor, 2, 2) = vbYellow ' True
+Debug.Print VBFlexGrid1.Cell(FlexCellBackColor, 1, 1) = vbYellow ' True
+
+On Error Resume Next
+VBFlexGrid1.Cell(FlexCellWidth, 1, 1) = 100
+Debug.Print Err.Number ' 383
+Err.Clear
+Debug.Print VBFlexGrid1.Cell(FlexCellSort, 1, 1)
+Debug.Print Err.Number ' 394
+```
+
+### CellHasTag
+{: .no_toc }
+
+Whether the current cell has a tag.
+
+Syntax: *object*.**CellHasTag** [ = *value* ]
+
+A **Boolean**. Setting it to **True** gives the cell an empty tag, and setting it to **False** discards the tag, so that [**CellTag**](#celltag) returns **Empty** again and the cell uses no memory for it. With [**FillStyle**](CellFormatting#fillstyle) at **FlexFillStyleRepeat** it applies to the whole selection. Raises 30009 or 30010 when there is no current row or column.
+
+### CellTag
+{: .no_toc }
+
+A value the program stores in the current cell.
+
+Syntax: *object*.**CellTag** [ = *value* ]
+
+A **Variant**, any value including an object, which is written with **Set**. The control never interprets it. A cell that has no tag returns **Empty**. With [**FillStyle**](CellFormatting#fillstyle) at **FlexFillStyleRepeat**, writing it stores the same value in every cell of the selection. Raises 30009 or 30010 when there is no current row or column.
+
+### CellToolTipText
+{: .no_toc }
+
+The tool tip text of the current cell.
+
+Syntax: *object*.**CellToolTipText** [ = *value* ]
+
+A **String**. It is shown only when [**ShowInfoTips**](#showinfotips) is **True**. With [**FillStyle**](CellFormatting#fillstyle) at **FlexFillStyleRepeat**, writing it sets the text of every cell of the selection. A cell with no tool tip text of its own shows its whole text in a tool tip when it is cut off and [**ShowLabelTips**](#showlabeltips) is **True**. Raises 30009 or 30010 when there is no current row or column.
+
+### ColDataType
+{: .no_toc }
+
+The data type of a column.
+
+Syntax: *object*.**ColDataType**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+An **Integer**. It is a **VarType** value or an ADO data type code, and is not restricted to the members of an enumeration. Default: 0, no data type. It describes the column and changes no cell; [**SaveArray**](ClipboardAndArrays#savearray) with *UseColDataType* **True** uses it to convert. The types it converts to are **Byte**, **Integer**, **Long**, **Single**, **Double**, **Currency**, **Decimal**, **Date**, **Boolean** and **Error**, with the ADO codes of the same kinds (the larger integer types become **Decimal**, the date and time types **Date**); with any other value, a **Variant** column included, the cells stay strings. [**DataSource**](DataBinding#datasource) sets it from the type of each field.
+
+Raises 30010 when *Index* is not -1 and not a column.
+
+### ColFormat
+{: .no_toc }
+
+The format that shows the text of a column.
+
+Syntax: *object*.**ColFormat**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **String** in the format of the **Format$** function, as for numbers, dates and text (`"000"`, `"#,##0.00"`, `"dd/mm/yyyy"`, `">"`). Default: an empty string, which shows the text as stored. The format is applied to the stored text each time a cell is drawn, using the system's day of the week and the system's locale, and it does not change the stored text. It applies to the scrollable cells, and to the fixed cells of the column unless [**FixedFormat**](#fixedformat) has been set. The formatted text is `Cell(FlexCellTextDisplay)`.
+
+Raises 30010 when *Index* is not -1 and not a column.
+
+### ColLookup
+{: .no_toc }
+
+The table that maps the stored text of a column to the text that is shown.
+
+Syntax: *object*.**ColLookup**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **String** of entries separated by `|`, each of the form `key;value`. Default: an empty string, no lookup. An entry with no semicolon has an empty key. A cell whose text equals a key, ignoring case, is shown as the key's value; any other text is shown as it is. An empty key matches an empty cell, so that `";(none)|1;Yes"` shows an empty cell as *(none)*. Reading the property returns the string as it was written.
+
+```tb check_build check_run
+VBFlexGrid1.Cols = 3
+VBFlexGrid1.ColLookup(1) = ";(none)|0;No|1;Yes"
+VBFlexGrid1.TextMatrix(1, 1) = "1"
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 1, 1) ' Yes
+VBFlexGrid1.TextMatrix(1, 1) = ""
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 1, 1) ' (none)
+VBFlexGrid1.ColLookup(2) = "a;Alpha"
+VBFlexGrid1.TextMatrix(1, 2) = "A"
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 1, 2) ' Alpha
+```
+
+The editing of a column with a lookup, its drop-down list and the clipboard use the lookup too: see the introduction of this page. Raises 30010 when *Index* is not -1 and not a column.
+
+### ColMimicTextBox
+{: .no_toc }
+
+Whether the wrapped text of a column breaks as a multi-line text box breaks it.
+
+Syntax: *object*.**ColMimicTextBox**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A [**FlexMimicTextBoxConstants**](../Enumerations/CellsAndAppearance#flexmimictextboxconstants) member: **FlexMimicTextBoxOn** (0) or **FlexMimicTextBoxOff** (1). Writing -1 makes the column follow the grid-wide [**MimicTextBox**](#mimictextbox) again, which is also what a column that was never set does; reading returns the value that results.
+
+```tb check_build check_run
+Debug.Print VBFlexGrid1.ColMimicTextBox(1) = FlexMimicTextBoxOff ' True
+VBFlexGrid1.MimicTextBox = True
+Debug.Print VBFlexGrid1.ColMimicTextBox(1) = FlexMimicTextBoxOn  ' True
+VBFlexGrid1.ColMimicTextBox(1) = FlexMimicTextBoxOff
+VBFlexGrid1.MimicTextBox = False
+VBFlexGrid1.ColMimicTextBox(1) = -1
+VBFlexGrid1.MimicTextBox = True
+Debug.Print VBFlexGrid1.ColMimicTextBox(1) = FlexMimicTextBoxOn  ' True
+```
+
+Raises 30010 when *Index* is not -1 and not a column, and 380 for another value.
+
+### ColMimicTextBoxFixed
+{: .no_toc }
+
+The same as [**ColMimicTextBox**](#colmimictextbox), for the fixed cells of the column.
+
+Syntax: *object*.**ColMimicTextBoxFixed**(*Index*) [ = *value* ]
+
+### ColNullable
+{: .no_toc }
+
+Whether the column may hold a null value.
+
+Syntax: *object*.**ColNullable**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **Boolean**. Default: **False**. It describes the column and changes no cell. [**SaveArray**](ClipboardAndArrays#savearray) with *UseColNullable* **True** keeps a text that cannot be converted to the column's data type as a string when the column is not nullable. [**DataSource**](DataBinding#datasource) sets it from the field. Raises 30010 when *Index* is not -1 and not a column.
+
+### ColNumericPrecision
+{: .no_toc }
+
+The number of digits of the numbers of a column.
+
+Syntax: *object*.**ColNumericPrecision**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **Byte**. Default: 0. Information only: it changes no cell and no other property. [**DataSource**](DataBinding#datasource) sets it from the field, and a program can use it to choose a [**ColFormat**](#colformat) or an edit limit. Raises 30010 when *Index* is not -1 and not a column.
+
+### ColNumericScale
+{: .no_toc }
+
+The number of digits after the decimal separator in the numbers of a column.
+
+Syntax: *object*.**ColNumericScale**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **Byte**. Default: 0. Information only, as [**ColNumericPrecision**](#colnumericprecision) is. Raises 30010 when *Index* is not -1 and not a column.
+
+### ColTextIndent
+{: .no_toc }
+
+Whether the program sets an indent for the text of each cell of a column.
+
+Syntax: *object*.**ColTextIndent**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **Boolean**. Default: **False**. While it is **True**, the grid raises [**CellTextIndent**](#celltextindent) for each cell of the column it draws, edits or measures. Raises 30010 when *Index* is not -1 and not a column.
+
+### ColWordWrapOption
+{: .no_toc }
+
+How the text of a column is wrapped, shortened and limited to one line.
+
+Syntax: *object*.**ColWordWrapOption**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A [**FlexWordWrapOptions**](../Enumerations/CellsAndAppearance#flexwordwrapoptions) member, which combines the three grid-wide settings [**WordWrap**](#wordwrap), [**SingleLine**](#singleline) and [**EllipsisFormat**](#ellipsisformat) in one value: **FlexWordBreakEndEllipsis** is wrapped with an ellipsis at the end, **FlexSingleLinePathEllipsis** is one line with the ellipsis in the middle of a path, and so on. Writing -1 makes the column follow the three grid-wide settings again, which is also what a column that was never set does. Reading a column that follows them returns the member that they make up.
+
+Raises 30010 when *Index* is not -1 and not a column, and 380 for another value.
+
+### ColWordWrapOptionFixed
+{: .no_toc }
+
+The same as [**ColWordWrapOption**](#colwordwrapoption), for the fixed cells of the column. A column that follows the grid-wide settings uses [**EllipsisFormatFixed**](#ellipsisformatfixed) for its ellipsis.
+
+Syntax: *object*.**ColWordWrapOptionFixed**(*Index*) [ = *value* ]
+
+### EllipsisFormat
+{: .no_toc }
+
+Whether and where an ellipsis ends a text that does not fit its cell.
+
+Syntax: *object*.**EllipsisFormat** [ = *value* ]
+
+A [**FlexEllipsisFormatConstants**](../Enumerations/CellsAndAppearance#flexellipsisformatconstants) member. Default: **FlexEllipsisFormatNone**. **FlexEllipsisFormatEnd** replaces the end of a line that does not fit with an ellipsis, **FlexEllipsisFormatPath** replaces characters in the middle, as a path is shortened, and **FlexEllipsisFormatWord** shortens the word that does not fit. The settings are those of the Windows **DrawText** flags of the same names. Raises 380 for another value.
+
+### EllipsisFormatFixed
+{: .no_toc }
+
+The same as [**EllipsisFormat**](#ellipsisformat), for the fixed cells. Default: **FlexEllipsisFormatNone**.
+
+Syntax: *object*.**EllipsisFormatFixed** [ = *value* ]
+
+### FixedFormat
+{: .no_toc }
+
+The format that shows the text of the fixed cells of a column.
+
+Syntax: *object*.**FixedFormat**(*Index*) [ = *value* ]
+
+*Index*
+: *required* The column, as a **Long**. -1 in a write means every column.
+
+A **String** in the format of **Format$**. A column that has not had it set uses [**ColFormat**](#colformat) for its fixed cells as well, and reading it returns that format. Setting it to an empty string gives the fixed cells no format while the other cells keep theirs.
+
+```tb check_build check_run
+VBFlexGrid1.ColFormat(1) = ">"
+Debug.Print VBFlexGrid1.FixedFormat(1) = ">"  ' True
+VBFlexGrid1.FixedFormat(1) = ""
+VBFlexGrid1.TextMatrix(0, 1) = "abc"
+VBFlexGrid1.TextMatrix(1, 1) = "abc"
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 0, 1) ' abc
+Debug.Print VBFlexGrid1.Cell(FlexCellTextDisplay, 1, 1) ' ABC
+```
+
+Raises 30010 when *Index* is not -1 and not a column.
+
+### MimicTextBox
+{: .no_toc }
+
+Whether wrapped text breaks as a multi-line text box breaks it.
+
+Syntax: *object*.**MimicTextBox** [ = *value* ]
+
+A **Boolean**. Default: **False**. When **True**, the text is drawn with the Windows `DT_EDITCONTROL` format, as a multi-line text box draws it: the average character width is calculated as a text box calculates it, and a last line that would show only in part is left out. A column's [**ColMimicTextBox**](#colmimictextbox) overrides it.
+
+### ShowInfoTips
+{: .no_toc }
+
+Whether the tool tips of the cells are shown.
+
+Syntax: *object*.**ShowInfoTips** [ = *value* ]
+
+A **Boolean**. Default: **False**. The tool tip of a cell is its [**CellToolTipText**](#celltooltiptext), or the text that a bound data source supplies through [**IVBFlexDataSource2**](../IVBFlexDataSource2).
+
+### ShowLabelTips
+{: .no_toc }
+
+Whether a cell whose text is cut off shows the whole text in a tool tip.
+
+Syntax: *object*.**ShowLabelTips** [ = *value* ]
+
+A **Boolean**. Default: **False**. Only a cell with no tool tip text of its own shows its text this way.
+
+### SingleLine
+{: .no_toc }
+
+Whether a cell shows only one line of its text.
+
+Syntax: *object*.**SingleLine** [ = *value* ]
+
+A **Boolean**. Default: **False**. When **True**, the text is drawn on one line and its line breaks do not start a new line. Setting it to **True** sets [**WordWrap**](#wordwrap) to **False**. Combined with [**EllipsisFormat**](#ellipsisformat) the line ends with an ellipsis when it is too long.
+
+### Text
+{: .no_toc }
+
+The text of the current cell, or the text to write to the selection.
+
+Syntax: *object*.**Text** [ = *value* ]
+
+A **String**. Reading returns the text of the cell at [**Row**](Selection#row) and [**Col**](Selection#col), and an empty string when either is -1. Writing sets the text of that cell; when [**FillStyle**](CellFormatting#fillstyle) is **FlexFillStyleRepeat** it sets the text of every cell of the selection. The grid is redrawn once.
+
+Raises 30009 when the current row is -1 and 30010 when the current column is -1.
+
+### TextArray
+{: .no_toc }
+
+The text of a cell, addressed by a single index.
+
+Syntax: *object*.**TextArray**(*Index*) [ = *value* ]
+
+*Index*
+: *required* A **Long**: the row times [**Cols**](Structure#cols) plus the column, counted from 0, so that the cells are numbered row by row.
+
+A **String**. Raises 381 when *Index* is negative or is not less than the number of rows times the number of columns.
+
+### TextMatrix
+{: .no_toc }
+
+The text of the cell at a row and a column.
+
+Syntax: *object*.**TextMatrix**(*Row*, *Col*) [ = *value* ]
+
+*Row*, *Col*
+: *required* The cell, as **Long** values counted from 0. They address the fixed rows and columns as well.
+
+A **String**. It does not use or change the current cell. Raises 381 when *Row* or *Col* is outside the grid.
+
+### WordWrap
+{: .no_toc }
+
+Whether the text of a cell wraps onto several lines.
+
+Syntax: *object*.**WordWrap** [ = *value* ]
+
+A **Boolean**. Default: **False**. Wrapping happens at the width of the cell. A row is made taller to show the lines only by [**AutoSize**](Sizing#autosize) or by a program that sets [**RowHeight**](Sizing#rowheight). Raises 383 when **SingleLine** is **True**.
+
+## Methods
+
+### LookupConv
+{: .no_toc }
+
+Converts a text with the lookup of a column.
+
+Syntax: *object*.**LookupConv**(*Text*, *Conversion*, [ *Col* ])
+
+*Text*
+: *required* The **String** to convert.
+
+*Conversion*
+: *required* A [**FlexLookupConvConstants**](../Enumerations/CellsAndAppearance#flexlookupconvconstants) member. **FlexLookupConvValue** converts a key to its value, as drawing does, ignoring case. **FlexLookupConvKey** converts a value to its key, and compares exactly.
+
+*Col*
+: *optional* The column, as a **Long**. -1, or omitted, means the current column.
+
+Returns a **String**. It returns an empty string, not *Text*, when the column has no lookup or has no entry that matches. Raises 380 for another *Conversion*, and 381 when *Col* is not a column.
+
+```tb check_build check_run
+VBFlexGrid1.ColLookup(1) = "1;Full time|2;Part time|3;Contractor"
+Debug.Print VBFlexGrid1.LookupConv("2", FlexLookupConvValue, 1)           ' Part time
+Debug.Print VBFlexGrid1.LookupConv("Contractor", FlexLookupConvKey, 1)   ' 3
+Debug.Print "[" & VBFlexGrid1.LookupConv("9", FlexLookupConvValue, 1) & "]" ' []
+```
+
+## Events
+
+### CellTextIndent
+{: .no_toc }
+
+Occurs when the grid needs the indent of the text of a cell whose column has [**ColTextIndent**](#coltextindent) **True**.
+
+Syntax: *object*\_**CellTextIndent**(*Row* As **Long**, *Col* As **Long**, *Left* As **Long**, *Right* As **Long**)
+
+*Row*, *Col*
+: The cell.
+
+*Left*, *Right*
+: **ByRef** **Long** values, in twips, both 0 on entry. A program sets them to the space to leave at the left and at the right of the text. A negative value is treated as 0.
+
+```tb check_build
+Private Sub VBFlexGrid1_CellTextIndent(ByVal Row As Long, ByVal Col As Long, ByRef Left As Long, ByRef Right As Long)
+    ' Indent the text of the scrollable cells by 240 twips (a sixth of an inch) on the left
+    If Row >= VBFlexGrid1.FixedRows Then Left = 240
+End Sub
+```
+
+## See Also
+
+- [Cell Formatting](CellFormatting) -- alignment, colours, fonts, pictures and [**FillStyle**](CellFormatting#fillstyle)
+- [Clipboard, Undo and Arrays](ClipboardAndArrays) -- [**Clip**](ClipboardAndArrays#clip) and [**SaveArray**](ClipboardAndArrays#savearray)
+- [Editing Cells](Editing) -- the text the user types
+- [Sizes and Positions](Sizing) -- [**AutoSize**](Sizing#autosize) and [**TextWidth**](Sizing#textwidth)
+- [Data Binding](DataBinding)
+- [**FlexCellSettings**](../Enumerations/CellsAndAppearance#flexcellsettings), [**FlexWordWrapOptions**](../Enumerations/CellsAndAppearance#flexwordwrapoptions), [**FlexEllipsisFormatConstants**](../Enumerations/CellsAndAppearance#flexellipsisformatconstants), [**FlexMimicTextBoxConstants**](../Enumerations/CellsAndAppearance#flexmimictextboxconstants), [**FlexLookupConvConstants**](../Enumerations/CellsAndAppearance#flexlookupconvconstants)
diff --git a/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/index.md b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/index.md
new file mode 100644
index 000000000..1188b6172
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/VBFlexGrid/index.md
@@ -0,0 +1,285 @@
+---
+title: VBFlexGrid
+parent: VBFLXGRD18 Package
+permalink: /tB/Packages/Contributed/VBFLXGRD18/VBFlexGrid/
+has_toc: false
+---
+
+# VBFlexGrid class
+{: .no_toc }
+
+A **VBFlexGrid** is a grid control that shows text, pictures and check boxes in rows and columns, and lets the user select, edit, sort, resize and rearrange them. It is Krool's replacement for the Microsoft FlexGrid control of VB6 (`MSFLXGRD.OCX`): most of the members of that control keep their names and meanings, and the **VBFlexGrid** adds editing in the cell, drop-down lists, buttons and calendars in cells, check boxes, sort arrows, frozen rows and columns, merged cells, an undo queue, an incremental search and binding to data sources.
+
+![A form with a VBFlexGrid of six products in four columns, Product, Stock, Price and Active. The Product header has a sort arrow pointing up, the numbers are aligned right, every second row is tinted light blue, and the Active column shows a check box in each row, all checked except the one for Dates.](Images/Overview.png){:width="317" height="189"}
+
+```tb check_build
+Private Sub Form_Load()
+    With VBFlexGrid1
+        .Rows = 4
+        .FormatString = "Name|>Age|^Member"
+        .TextMatrix(1, 0) = "Ann"
+        .TextMatrix(1, 1) = "31"
+        .TextMatrix(2, 0) = "Bob"
+        .TextMatrix(2, 1) = "27"
+        .TextMatrix(3, 0) = "Eve"
+        .TextMatrix(3, 1) = "45"
+        .ColCheckBoxes(2) = True
+        .ColSort(1) = FlexSortNumericAscending
+        .AllowUserResizing = FlexAllowUserResizingColumns
+    End With
+End Sub
+
+Private Sub VBFlexGrid1_CellClick(ByVal Row As Long, ByVal Col As Long, ByVal Button As Integer)
+    Debug.Print "Clicked row " & Row & ", column " & Col
+End Sub
+```
+
+The class has 412 members, which this section groups by topic. The members that every control of a form has, and the few that concern only the control as a whole, are on this page. Every other member is on one of the topic pages below.
+
+* TOC
+{:toc}
+
+## Adding the control to a form
+
+Add the package to the project as [Importing a package from TWINSERV](../../../../../Features/Packages/Importing-TWINSERV) describes. The control is then in the [Toolbox](../../../../IDE/Project/Toolbox) like any other: select **VBFlexGrid** and draw it on the form. In code the control is named as any other control on the form is, **VBFlexGrid1** for the first one.
+
+A new control has two rows and two columns, the first row and the first column being fixed, and it uses the system colors. Its properties can be set in the Properties window or in code. Rows and columns are numbered from 0, and a cell is addressed by its row and its column: `VBFlexGrid1.TextMatrix(2, 1) = "text"` sets the text of the cell in the third row and the second column.
+
+Most of the members raise an error for a row or a column that the grid does not have, and for a value that is not a member of the enumeration the property takes. The errors that many members share:
+
+| Number | Description | Raised for |
+|--------|-------------|------------|
+| 380 | Invalid property value | a value that is not a member of the enumeration, or a number out of the range the property accepts |
+| 381 | Subscript out of range | a row or column argument of a method that the grid does not have |
+| 383 | Property is read-only | an assignment to a property that can only be read |
+| 394 | Property is write-only | reading a property that can only be written |
+| 30009 | Invalid Row value | a row index below 0 or past the last row |
+| 30010 | Invalid Col value | a column index below 0 or past the last column |
+
+In a form's designer, the Properties window shows a message box with the same text instead of raising the error.
+
+## Topics
+
+- [Rows and Columns](Structure) -- the number of rows and columns, fixed and frozen ones, hidden ones, adding, removing and moving them, row identifiers, column keys and user data, and the **FormatString** that sets up the headers.
+- [Sizes and Positions](Sizing) -- row heights and column widths, resizing by the user, best fit, the position and size of cells and of the client area, and text measures.
+- [Cell Text](Text) -- reading and writing the text of cells, number and date formats, data types, lookups, tags, tool tips, word wrap and ellipsis.
+- [Cell Formatting](CellFormatting) -- alignment, colors, fonts, text style, pictures and flood bars of single cells and of columns, and **FillStyle**.
+- [Merging Cells](Merging) -- cells with equal contents shown as one cell.
+- [Current Cell and Selection](Selection) -- the current cell, the selected range, selection modes, selection of several ranges, highlight and focus rectangle, and keyboard navigation.
+- [Scrolling](Scrolling) -- scroll bars, the visible part of the grid, scroll tips and reader mode.
+- [Mouse, Keyboard and Drag and Drop](MouseAndKeyboard) -- hit testing, mouse and key events, the mouse pointer, OLE drag and drop, dropped files, insert marks and drop highlights.
+- [Editing Cells](Editing) -- editing a cell in place, by the user and by code, with its edit box and its events.
+- [Drop-Down Lists, Buttons and Calendars](ComboEditing) -- editing a cell with a drop-down list, a combo button or a calendar, and the cues that show it.
+- [Check Boxes](CheckBoxes) -- check boxes in cells.
+- [Sorting and Searching](SortingAndSearching) -- sorting by code and by the user, sort arrows, custom comparison, finding items and tags, and the incremental search.
+- [Clipboard, Undo and Arrays](ClipboardAndArrays) -- **Clip** and its separators, cut, copy, paste and delete, the undo queue, loading and saving arrays.
+- [Data Binding](DataBinding) -- binding to a data source or a recordset, and to an object that implements **IVBFlexDataSource**.
+- [Appearance](Appearance) -- colors, grid lines, borders, fonts, the picture of the grid, the wallpaper, visual styles and right-to-left layout.
+
+The constants that the members take are in [Enumerations](../Enumerations/). The interfaces for a data source of your own are [**IVBFlexDataSource**](../IVBFlexDataSource) and [**IVBFlexDataSource2**](../IVBFlexDataSource2).
+
+## Properties
+
+### Align
+{: .no_toc }
+
+Returns or sets how the control aligns itself in its container.
+
+Syntax: *object*.**Align** [ = *value* ]
+
+*value*
+: An **Integer**: 0 for no alignment (the default), 1 to align to the top of the container, 2 to the bottom, 3 to the left, 4 to the right. On an ordinary form the assignment is accepted and the property keeps reading 0; a value other than 0 has an effect only in a container that supports aligned controls.
+
+### Container
+{: .no_toc }
+
+Returns or sets the container of the control: the form, or the frame or picture box on the form, that holds it.
+
+Syntax: *object*.**Container** [ = *value* ]
+
+*value*
+: An **Object**, such as a **Frame** or a **PictureBox** on the form, set with **Set**. Assigning another container moves the control into it.
+
+### DoubleBuffer
+{: .no_toc }
+
+Returns or sets whether the control paints into a bitmap in memory first and copies it to the window in one step. **Boolean**. Default: **True**. Double buffering avoids the flicker of a grid that is painted cell by cell, at the cost of the memory for the bitmap, which is as large as the control.
+
+### DragIcon
+{: .no_toc }
+
+Returns or sets the picture shown as the mouse pointer during a drag-and-drop operation that the **Drag** method started. An **IPictureDisp**, set with **Set**. Default: none.
+
+### DragMode
+{: .no_toc }
+
+Returns or sets whether a drag starts when the user presses the mouse button on the control (1, automatic) or only when the program calls [**Drag**](#drag) (0, manual). **Integer**. Default: 0.
+
+### Enabled
+{: .no_toc }
+
+Returns or sets whether the control responds to the user. **Boolean**. Default: **True**. A control that is not enabled does not respond to the mouse or the keyboard.
+
+### Height
+{: .no_toc }
+
+Returns or sets the height of the control. **Single**, in the units of the container's scale (twips for a form that has not changed its **ScaleMode**).
+
+### HelpContextID
+{: .no_toc }
+
+Returns or sets the context number in the help file of the program for the control. **Long**. Default: 0.
+
+### hWnd
+{: .no_toc }
+
+Returns the handle of the window of the grid. A **LongPtr**.
+
+The control is made of a window of the UserControl, which is the one that the form shows, and of a child window inside it, which is the grid. **hWnd** is the child window, the one that receives the mouse and the keyboard and the one to pass to a Windows API function that works on the grid. [**hWndUserControl**](#hwndusercontrol) is the window around it.
+
+### hWndToolTip
+{: .no_toc }
+
+Returns the handle of the tool tip window that shows the tips of cells. A **LongPtr**. It is 0 until a tool tip is needed, which is when [**ShowInfoTips**](Text#showinfotips) or [**ShowLabelTips**](Text#showlabeltips) is **True**.
+
+### hWndUserControl
+{: .no_toc }
+
+Returns the handle of the window of the UserControl, the window around the grid that the form positions. A **LongPtr**. See [**hWnd**](#hwnd) for the window of the grid itself.
+
+### Left
+{: .no_toc }
+
+Returns or sets the distance between the left edge of the control and the left edge of its container. **Single**, in the units of the container's scale.
+
+### Name
+{: .no_toc }
+
+Returns the name that the form's designer gave to the control, such as `VBFlexGrid1`. A **String**. Read-only.
+
+### Parent
+{: .no_toc }
+
+Returns the form (or other object) on which the control is. An **Object**. Read-only.
+
+### Redraw
+{: .no_toc }
+
+Returns or sets whether the control repaints itself when its contents change. **Boolean**. Default: **True**.
+
+Set **Redraw** to **False** before a long series of changes, such as filling thousands of cells, and to **True** after it. While it is **False** the control does not repaint; setting it to **True** again repaints the control and brings its scroll bars up to date.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Redraw = False
+    .Rows = 1001
+    .Cols = 3
+    Dim i As Long
+    For i = 1 To 1000
+        .TextMatrix(i, 1) = "Item " & i
+    Next i
+    .Redraw = True
+    Debug.Print "Last row: " & .TextMatrix(.Rows - 1, 1) ' Last row: Item 1000
+End With
+```
+
+### Tag
+{: .no_toc }
+
+Returns or sets a **String** that the program can use for its own purposes, as the **Tag** property of any control. Default: an empty string.
+
+### ToolTipText
+{: .no_toc }
+
+Returns or sets the text that Windows shows when the mouse pointer rests on the control, outside any cell that has a tool tip of its own. A **String**. Default: an empty string. The tips of single cells are [**CellToolTipText**](Text#celltooltiptext).
+
+### Top
+{: .no_toc }
+
+Returns or sets the distance between the top edge of the control and the top edge of its container. **Single**, in the units of the container's scale.
+
+### Version
+{: .no_toc }
+
+Returns 600. An **Integer**. It is the version of the Microsoft FlexGrid control (6.0) that the **VBFlexGrid** replaces, so that a program that tests the version of that control finds the number it expects.
+
+### Visible
+{: .no_toc }
+
+Returns or sets whether the control is visible. **Boolean**. Default: **True**.
+
+### WhatsThisHelpID
+{: .no_toc }
+
+Returns or sets the context number in the help file for the control's "What's This?" help. **Long**. Default: 0.
+
+### Width
+{: .no_toc }
+
+Returns or sets the width of the control. **Single**, in the units of the container's scale.
+
+## Methods
+
+### Drag
+{: .no_toc }
+
+Starts, ends or cancels a drag operation of the control, as the **Drag** method of any VB control does.
+
+Syntax: *object*.**Drag** [ *Action* ]
+
+*Action*
+: *optional* A **Variant**: 0 cancels the drag, 1 (the default) starts it, 2 ends it by dropping.
+
+This is the drag of VB's **DragMode** and **DragIcon**, not an OLE drag-and-drop operation; for that see [**OLEDrag**](MouseAndKeyboard#oledrag).
+
+### Refresh
+{: .no_toc }
+
+Repaints the control at once, with all its contents.
+
+Syntax: *object*.**Refresh**
+
+### SetFocus
+{: .no_toc }
+
+Moves the focus to the control.
+
+Syntax: *object*.**SetFocus**
+
+### ZOrder
+{: .no_toc }
+
+Places the control at the front or at the back of the controls of its container.
+
+Syntax: *object*.**ZOrder** [ *Position* ]
+
+*Position*
+: *optional* A **Variant**: 0 (the default) puts the control at the front, 1 at the back.
+
+## Example
+
+This example shows a grid of five rows and three columns, reads back some of its standard members and prints them.
+
+```tb check_build check_run slot=sub
+With VBFlexGrid1
+    .Rows = 5
+    .Cols = 3
+    .Tag = "inventory"
+    .Left = 120
+    .Top = 240
+    .Width = 3000
+    .Height = 2000
+    Debug.Print .Name & " " & .Tag & " " & .Left & " " & .Top & " " & .Width & " " & .Height
+    Debug.Print TypeName(.Parent) & " " & .Version & " " & (.hWnd <> .hWndUserControl)
+End With
+' Output:
+' VBFlexGrid1 inventory 120 240 3000 2000
+' Form1 600 True
+```
+
+## See Also
+
+- [Rows and Columns](Structure) -- the shape of the grid
+- [Appearance](Appearance) -- colors, lines and borders
+- [Enumerations](../Enumerations/) -- the constants the members take
+- [VBFLXGRD18 Package](..) -- the package
diff --git a/docs/Reference/Contributed/VBFLXGRD18/index.md b/docs/Reference/Contributed/VBFLXGRD18/index.md
new file mode 100644
index 000000000..7d37b01fe
--- /dev/null
+++ b/docs/Reference/Contributed/VBFLXGRD18/index.md
@@ -0,0 +1,65 @@
+---
+title: VBFLXGRD18 Package
+parent: Contributed Packages
+has_toc: false
+exclude_from_docs:
+  - Common
+  - VisualStyles
+  - VTableHandle
+  - VTableInterfaceConstants
+  - VBFlexGridBase
+indexed_from: 1.8.69.0
+permalink: /tB/Packages/Contributed/VBFLXGRD18/
+---
+
+# VBFLXGRD18 Package
+{: .no_toc }
+
+**Author:** Krool. **Version:** 1.8.69.0. **On GitHub:** [Kr00l/VBFLXGRD](https://github.com/Kr00l/VBFLXGRD)
+
+The **VBFLXGRD18** contributed package provides the **VBFlexGrid** control, a grid of rows and columns that shows text, pictures and check boxes, and lets the user select, edit, sort, resize and rearrange them.
+
+The control is Krool's replacement for the Microsoft FlexGrid control of VB6 (`MSFLXGRD.OCX`), written in VB6 and published on GitHub as an ActiveX control, `VBFLXGRD18.OCX`; this package is the same code compiled by twinBASIC, so a project needs no OCX to be registered. Most members of the Microsoft FlexGrid keep their names and meanings, and the **VBFlexGrid** adds editing in the cell, drop-down lists, buttons and calendars in cells, check boxes, sort arrows, frozen rows and columns, merged cells, an undo queue, an incremental search and binding to data sources. This section documents version 1.8.69.0, published under the MIT licence. The package describes itself as "VB FlexGrid Control 1.8 (Experimental, 32-bit and 64-bit)", and its 32-bit and 64-bit builds behave the same.
+
+```tb check_build check_run slot=sub arch=win32,win64
+With VBFlexGrid1
+    .FixedRows = 1
+    .FixedCols = 0
+    .Rows = 4
+    .Cols = 2
+    .FormatString = "Fruit|>Price"
+    .TextMatrix(1, 0) = "Pear":  .TextMatrix(1, 1) = "2.10"
+    .TextMatrix(2, 0) = "Apple": .TextMatrix(2, 1) = "0.95"
+    .TextMatrix(3, 0) = "Plum":  .TextMatrix(3, 1) = "3.40"
+    .Col = 1
+    .Sort = FlexSortNumericAscending
+    Debug.Print .TextMatrix(1, 0); " "; .TextMatrix(3, 0)
+End With
+' Output:
+' Apple Plum
+```
+
+* TOC
+{:toc}
+
+## Adding the control to a form
+
+Add the package to the project as [Importing a package from TWINSERV](../../../../Features/Packages/Importing-TWINSERV) describes. The control is then in the [Toolbox](../../../IDE/Project/Toolbox): select **VBFlexGrid** and draw it on the form. In code it is named as any other control on the form is, **VBFlexGrid1** for the first one. [Adding the control to a form](VBFlexGrid/#adding-the-control-to-a-form) on the control's page says what a new grid looks like and which errors its members raise.
+
+## Contents
+
+- [VBFlexGrid](VBFlexGrid/) -- the control, with its members on 15 topic pages: rows and columns, sizes, cell text, cell formatting, merging, selection, scrolling, the mouse and the keyboard, editing, drop-down lists and calendars, check boxes, sorting and searching, the clipboard and arrays, data binding, and appearance.
+- [Enumerations](Enumerations/) -- the 61 enumerations of the control's members, on three pages by topic.
+- [IVBFlexDataSource](IVBFlexDataSource) -- the interface that a class implements to give the grid its data, set as [**FlexDataSource**](VBFlexGrid/DataBinding#flexdatasource).
+- [IVBFlexDataSource2](IVBFlexDataSource2) -- the optional second interface of such a class: check boxes, tool tips and flags for each cell.
+
+The package also has four modules, `Common`, `VisualStyles`, `VTableHandle` and `VBFlexGridBase`, whose procedures and constants a project can reach. They are the control's own helper code (subclassing, conversions, the in-place activation of the control and the like), and this section does not document them.
+
+## See Also
+
+- [Contributed Packages](../)
+- [VBComDlg](../VBComDlg/) -- Krool's **CommonDialog** class, also a package
+
+## Test cases
+
+The notes and warnings of this section are checked by the test cases in [VBFLXGRD18-tests.twinproj](VBFLXGRD18-tests.twinproj), a twinBASIC project. It uses VBFLXGRD18 as a [linked package](../../../../Features/Packages/Linked#manual-management): put the package's `.twinpack` in `%APPDATA%\twinBASIC\packages`, then run the project, and each case prints whether it passes.
diff --git a/docs/Reference/Contributed/xCalendar/Images/Areas.png b/docs/Reference/Contributed/xCalendar/Images/Areas.png
new file mode 100644
index 000000000..bfadb248c
Binary files /dev/null and b/docs/Reference/Contributed/xCalendar/Images/Areas.png differ
diff --git a/docs/Reference/Contributed/xCalendar/Images/Enabled.png b/docs/Reference/Contributed/xCalendar/Images/Enabled.png
new file mode 100644
index 000000000..5147a0542
Binary files /dev/null and b/docs/Reference/Contributed/xCalendar/Images/Enabled.png differ
diff --git a/docs/Reference/Contributed/xCalendar/Images/GridCellEffect.png b/docs/Reference/Contributed/xCalendar/Images/GridCellEffect.png
new file mode 100644
index 000000000..20a38a1d6
Binary files /dev/null and b/docs/Reference/Contributed/xCalendar/Images/GridCellEffect.png differ
diff --git a/docs/Reference/Contributed/xCalendar/Images/Sample.png b/docs/Reference/Contributed/xCalendar/Images/Sample.png
new file mode 100644
index 000000000..423eb69e6
Binary files /dev/null and b/docs/Reference/Contributed/xCalendar/Images/Sample.png differ
diff --git a/docs/Reference/Contributed/xCalendar/index.md b/docs/Reference/Contributed/xCalendar/index.md
index 3c94a6710..c7030ab89 100644
--- a/docs/Reference/Contributed/xCalendar/index.md
+++ b/docs/Reference/Contributed/xCalendar/index.md
@@ -84,6 +84,8 @@ The start values of the properties are set when the control is placed on a form.
 
 The control is drawn in up to three areas, one above the other: the title area, the row of day names and the grid of days. It draws into a hidden picture box and copies the result to its own surface. The control can have any size: the seven columns share the width equally, and the six rows share the height that the other areas leave.
 
+![An xCalendar on a form, showing March 2026 with the 15th selected, in its default colours and fonts. Labels name its parts: the title area, holding March 2026 in orange; the month and year lists at its right; the row of day names, Mon to Sun on light blue; the grid of days, six rows of seven cells from February 23 to April 5, the days of February and April in grey; and the selected date, the cell of the 15th, filled with a darker grey.](Images/Areas.png){:width="648" height="291"}
+
 The two lists are scaled with the DPI of the display, by the [**DpiScale**](../../VB/UserControl#dpiscale) of the control: the sizes given for them below are those at 96 DPI. The other sizes inside the control, the margins, the frame and the lines, are in device pixels and are not scaled. At 144 DPI a control that is 256 pixels wide at design time is 384 pixels wide, and its margins keep their pixel sizes.
 
 ### Title area
@@ -116,6 +118,8 @@ A cell is selected only when its date is equal to **Value**. A **Value** with a
 
 When **Enabled** is set to **False** by the program, the two lists are disabled and drawn in grey, and the row of day names has the background `&HEEEEEE` in place of **DayBackColor**. A control that loads from a form with **Enabled** already **False** draws its lists as an enabled control does: see [Known problems](#known-problems-in-version-10170). With **Flat** lines, the grid lines are `&H5B5B5B` in place of **GridLinesColor**. The title is drawn in a light grey (`&HBCBCBC`) in place of **TitleFontColor**, and the day names and the days of the shown month in grey (`&H999999`) in place of **DayFontColor** and **GridFontColor**. **BackColor** is the same as for an enabled control.
 
+![Two xCalendar controls side by side, both showing March 2026 with the 15th selected. The left one, labelled Enabled = True, has its orange title, light blue row of day names and blue day numbers. The right one, labelled Enabled = False and disabled in code, has the title, the two lists, the day names and the day numbers in grey, and the row of day names on a light grey.](Images/Enabled.png){:width="641" height="301"}
+
 A disabled control does not receive the mouse or the keyboard from the user, and the focus cannot be given to it. Code can still change its date, for example with **NextDay** or **Value**.
 
 
@@ -277,6 +281,10 @@ How the lines between the cells look. A [**GridCellEffectEnum**](#gridcelleffect
 With **Flat** the lines are drawn in **GridLinesColor**, one line between two cells. **Raised** and **Sunken** draw each line in black or white, and a second line of the other colour one pixel to the right of a vertical line and one pixel below a horizontal one: for **Raised** the line is black and the second white, for **Sunken** the reverse. **GridLinesColor** has no effect with **Raised** and **Sunken**.
 
 
+In the picture the flat calendar has **GridLinesColor** set to a grey, since the default is drawn near-black: see [Known problems](#known-problems-in-version-10170).
+
+![Three xCalendar controls side by side showing March 2026, labelled Raised (the default), Sunken, and Flat, GridLinesColor = RGB(160, 160, 160). The raised and sunken grids have dark lines with a white line beside each, the white one after the dark one for Raised and before it for Sunken; the flat grid has single grey lines.](Images/GridCellEffect.png){:width="961" height="301"}
+
 ### GridFont
 {: .no_toc }
 
@@ -685,6 +693,10 @@ Private Sub Form_Load()
 End Sub
 ```
 
+The calendar that the sample sets up, with March 15, 2026 selected:
+
+![An xCalendar showing Mar 2026, the month name cut to three letters. Its row of day names, on a pale blue, runs from Sunday to Saturday with the names in full. The grid has no horizontal lines and thin light grey vertical lines, March 1 in the first cell, and the 15th, a Sunday, selected in the first column.](Images/Sample.png){:width="461" height="291"}
+
 ## See Also
 
 - [Importing a package from TWINSERV](../../../../Features/Packages/Importing-TWINSERV) -- adding a published package to a project
diff --git a/docs/Reference/Default/VB/CheckBox/Images/CheckBox_States.png b/docs/Reference/Default/VB/CheckBox/Images/CheckBox_States.png
new file mode 100644
index 000000000..984c2ca48
Binary files /dev/null and b/docs/Reference/Default/VB/CheckBox/Images/CheckBox_States.png differ
diff --git a/docs/Reference/Default/VB/CheckBox/index.md b/docs/Reference/Default/VB/CheckBox/index.md
index a20bef443..882ad9ba0 100644
--- a/docs/Reference/Default/VB/CheckBox/index.md
+++ b/docs/Reference/Default/VB/CheckBox/index.md
@@ -54,6 +54,8 @@ Check1.Caption = "Use && in folder names"   ' renders as: Use & in folder names
 
 When [**Style**](#style) is **vbButtonGraphical**, the check box is owner-drawn and displays the bitmaps assigned to [**Picture**](#picture), [**DownPicture**](#downpicture), and [**DisabledPicture**](#disabledpicture) instead of the standard square. [**PictureAlignment**](#picturealignment), [**Padding**](#padding), and [**PictureDpiScaling**](#picturedpiscaling) control how the picture is positioned relative to the caption.
 
+![Check boxes unchecked, checked, grayed and disabled, one with its caption on the left (tbRightJustify), and two in the graphical style, the one up showing its Picture and the one down showing its DownPicture](Images/CheckBox_States.png){:width="541" height="151"}
+
 ## Data binding
 
 Setting [**DataSource**](#datasource) and [**DataField**](#datafield) connects the control's [**Value**](#value) to a field of a **Data** control's recordset. The bound field is read as a **Boolean**: a non-zero/`True` value sets [**Value**](#value) to **vbChecked**, zero/`False` sets it to **vbUnchecked**. Assigning a non-Boolean field value raises run-time error 13 (*Type mismatch*).
diff --git a/docs/Reference/Default/VB/ComboBox/Images/ComboBox_Styles.png b/docs/Reference/Default/VB/ComboBox/Images/ComboBox_Styles.png
new file mode 100644
index 000000000..00b707339
Binary files /dev/null and b/docs/Reference/Default/VB/ComboBox/Images/ComboBox_Styles.png differ
diff --git a/docs/Reference/Default/VB/ComboBox/index.md b/docs/Reference/Default/VB/ComboBox/index.md
index 611dd417c..5389d439d 100644
--- a/docs/Reference/Default/VB/ComboBox/index.md
+++ b/docs/Reference/Default/VB/ComboBox/index.md
@@ -38,6 +38,8 @@ End Sub
 | **vbComboSimple**         | 1     | Editable text + a permanently visible list (no drop-down button).        |
 | **vbComboDropdownList**   | 2     | Drop-down list only --- the user must pick a value; typing is disabled.    |
 
+![The three combo box styles: a drop-down combo, a simple combo with its list always shown below its text box, and a drop-down list with its list dropped down](Images/ComboBox_Styles.png){:width="501" height="211"}
+
 Changing **Style** at run time recreates the underlying window (the existing list contents and selection are preserved). [**Sorted**](#sorted) and [**IntegralHeight**](#integralheight) recreate the window the same way.
 
 ## Editing the list
diff --git a/docs/Reference/Default/VB/CommandButton/Images/CommandButton_Styles.png b/docs/Reference/Default/VB/CommandButton/Images/CommandButton_Styles.png
new file mode 100644
index 000000000..a60239e4e
Binary files /dev/null and b/docs/Reference/Default/VB/CommandButton/Images/CommandButton_Styles.png differ
diff --git a/docs/Reference/Default/VB/CommandButton/index.md b/docs/Reference/Default/VB/CommandButton/index.md
index 23db178d0..dc08b773e 100644
--- a/docs/Reference/Default/VB/CommandButton/index.md
+++ b/docs/Reference/Default/VB/CommandButton/index.md
@@ -53,6 +53,8 @@ cmdSave.Caption = "&Save && Close"   ' renders as: Save & Close
 
 When [**Style**](#style) is **vbButtonGraphical**, the button is owner-drawn and displays the bitmaps assigned to [**Picture**](#picture), [**DownPicture**](#downpicture), and [**DisabledPicture**](#disabledpicture) alongside the caption. [**PictureAlignment**](#picturealignment), [**Padding**](#padding), and [**PictureDpiScaling**](#picturedpiscaling) control how the picture is positioned. Changing **Style** at run time recreates the underlying window.
 
+![Command buttons: a standard one, the Default one with its blue border, a disabled one, and four in the graphical style with the picture above, below, left of and right of the caption](Images/CommandButton_Styles.png){:width="501" height="171"}
+
 ## Properties
 
 ### Anchors
diff --git a/docs/Reference/Default/VB/Form/Images/Form_BorderStyle.png b/docs/Reference/Default/VB/Form/Images/Form_BorderStyle.png
new file mode 100644
index 000000000..0fb445fe1
Binary files /dev/null and b/docs/Reference/Default/VB/Form/Images/Form_BorderStyle.png differ
diff --git a/docs/Reference/Default/VB/Form/index.md b/docs/Reference/Default/VB/Form/index.md
index dcc40aab7..64ed3aaf9 100644
--- a/docs/Reference/Default/VB/Form/index.md
+++ b/docs/Reference/Default/VB/Form/index.md
@@ -48,7 +48,7 @@ End Sub
 
 ## Lifecycle
 
-A form goes through six distinct events from creation to destruction:
+A form goes through these events from creation to destruction:
 
 | Event                            | When                                                                                |
 |----------------------------------|-------------------------------------------------------------------------------------|
@@ -158,6 +158,8 @@ The background colour of the form's client area, as an **OLE_COLOR**. Defaults t
 
 The window-frame style. A member of [**FormBorderStyleConstants**](../../VBRUN/Constants/FormBorderStyleConstants): **vbBSNone**, **vbFixedSingle**, **vbSizable** (default), **vbFixedDialog**, **vbFixedToolWindow**, **vbSizableToolWindow**, **vbSizableNoTitleBar** (new in twinBASIC), or **vbSizableToolWindowNoTitleBar** (new in twinBASIC). Run-time changes are accepted but only take effect after another change to the window --- typically reassigning [**Caption**](#caption).
 
+![Eight forms, one in each BorderStyle value: no border, fixed single, sizable, fixed dialog, the fixed and sizable tool windows with a Close button only, and the sizable border and the sizable tool window with no title bar](Images/Form_BorderStyle.png){:width="957" height="234"}
+
 ### Caption
 {: .no_toc }
 
diff --git a/docs/Reference/Default/VB/ListBox/Images/ListBox_Styles.png b/docs/Reference/Default/VB/ListBox/Images/ListBox_Styles.png
new file mode 100644
index 000000000..8aced61f7
Binary files /dev/null and b/docs/Reference/Default/VB/ListBox/Images/ListBox_Styles.png differ
diff --git a/docs/Reference/Default/VB/ListBox/index.md b/docs/Reference/Default/VB/ListBox/index.md
index ef7bf79a4..73426ddf6 100644
--- a/docs/Reference/Default/VB/ListBox/index.md
+++ b/docs/Reference/Default/VB/ListBox/index.md
@@ -41,6 +41,8 @@ End Sub
 | **vbListBoxCheckbox**     | 1     | Each item shows an independent check box that the user can toggle without changing the selection. |
 | **vbListBoxColorSwatch**  | 2     | Each item shows a colour swatch in front of its text, drawn in the colour stored in [**ItemData**](#itemdata). |
 
+![List boxes in the three styles, Standard, Checkbox with three items checked and ColorSwatch with a colour beside each item, and a list box whose Columns is 3, its fifteen items laid out in three columns](Images/ListBox_Styles.png){:width="471" height="305"}
+
 Changing **Style** at run time recreates the underlying window, preserving the items, [**ItemData**](#itemdata) values, current selection, scroll position, and (in checkbox mode) check states. [**Sorted**](#sorted), [**MultiSelect**](#multiselect), [**IntegralHeight**](#integralheight), and [**UseTabStops**](#usetabstops) recreate the window the same way.
 
 [**MultiSelect**](#multiselect) is meaningful only with **vbListBoxStandard**. The other styles always behave as if **MultiSelect** were **vbMultiSelectNone** --- the per-item toggle of **vbListBoxCheckbox** replaces the multi-selection feature, and the colour swatch is purely a display variant.
diff --git a/docs/Reference/Default/VB/MDIForm/Images/MDIForm_Cascade.png b/docs/Reference/Default/VB/MDIForm/Images/MDIForm_Cascade.png
new file mode 100644
index 000000000..e04d63da9
Binary files /dev/null and b/docs/Reference/Default/VB/MDIForm/Images/MDIForm_Cascade.png differ
diff --git a/docs/Reference/Default/VB/MDIForm/Images/MDIForm_TileHorizontal.png b/docs/Reference/Default/VB/MDIForm/Images/MDIForm_TileHorizontal.png
new file mode 100644
index 000000000..bd28f529a
Binary files /dev/null and b/docs/Reference/Default/VB/MDIForm/Images/MDIForm_TileHorizontal.png differ
diff --git a/docs/Reference/Default/VB/MDIForm/Images/MDIForm_TileVertical.png b/docs/Reference/Default/VB/MDIForm/Images/MDIForm_TileVertical.png
new file mode 100644
index 000000000..529dd8d9d
Binary files /dev/null and b/docs/Reference/Default/VB/MDIForm/Images/MDIForm_TileVertical.png differ
diff --git a/docs/Reference/Default/VB/MDIForm/index.md b/docs/Reference/Default/VB/MDIForm/index.md
index a9789a0c7..b012e7c7f 100644
--- a/docs/Reference/Default/VB/MDIForm/index.md
+++ b/docs/Reference/Default/VB/MDIForm/index.md
@@ -44,7 +44,7 @@ End Sub
 
 ## Lifecycle
 
-The MDIForm goes through the same six events as a regular [**Form**](../Form/) from creation to destruction:
+The MDIForm goes through the same events as a regular [**Form**](../Form/) from creation to destruction:
 
 | Event                            | When                                                                                |
 |----------------------------------|-------------------------------------------------------------------------------------|
@@ -85,6 +85,12 @@ Private Sub mnuWindowArrangeIcons_Click()
 End Sub
 ```
 
+![An MDI form whose three child forms are cascaded, each one's title bar showing below the one before it](Images/MDIForm_Cascade.png){:width="587" height="373"}
+
+![An MDI form whose three child forms are tiled horizontally, one above the other](Images/MDIForm_TileHorizontal.png){:width="587" height="373"}
+
+![An MDI form whose three child forms are tiled vertically, side by side](Images/MDIForm_TileVertical.png){:width="587" height="373"}
+
 ## Window appearance
 
 An MDIForm always uses the sizable border style --- there is no [**BorderStyle**](../Form/#borderstyle) property, the title bar is always present, the system menu and minimise / maximise buttons are always shown, and the form always appears in the taskbar. [**Caption**](#caption) sets the title-bar text. [**Icon**](#icon) supplies the small/large icon used by the system menu, the taskbar, and Alt-Tab. [**WindowState**](#windowstate) ([**FormWindowStateConstants**](../../VBRUN/Constants/FormWindowStateConstants)) reads or sets normal / minimised / maximised state at run time.
diff --git a/docs/Reference/Default/VB/Menu/Images/Menu_File.png b/docs/Reference/Default/VB/Menu/Images/Menu_File.png
new file mode 100644
index 000000000..484cba2e8
Binary files /dev/null and b/docs/Reference/Default/VB/Menu/Images/Menu_File.png differ
diff --git a/docs/Reference/Default/VB/Menu/index.md b/docs/Reference/Default/VB/Menu/index.md
index 3bfa20767..cd233f292 100644
--- a/docs/Reference/Default/VB/Menu/index.md
+++ b/docs/Reference/Default/VB/Menu/index.md
@@ -39,6 +39,8 @@ End Sub
 * TOC
 {:toc}
 
+![A form's File menu open: New and Open with pictures, shortcut keys beside New, Open, Save and Print, separators, a Recent Files submenu, Word Wrap checked and Print disabled](Images/Menu_File.png){:width="381" height="301"}
+
 ## Caption and separators
 
 [**Caption**](#caption) supplies the text drawn for the menu item. Two Caption values have special meaning:
diff --git a/docs/Reference/Default/VB/OptionButton/Images/OptionButton_Styles.png b/docs/Reference/Default/VB/OptionButton/Images/OptionButton_Styles.png
new file mode 100644
index 000000000..97f6694d0
Binary files /dev/null and b/docs/Reference/Default/VB/OptionButton/Images/OptionButton_Styles.png differ
diff --git a/docs/Reference/Default/VB/OptionButton/index.md b/docs/Reference/Default/VB/OptionButton/index.md
index 7a1165b44..0a553c86a 100644
--- a/docs/Reference/Default/VB/OptionButton/index.md
+++ b/docs/Reference/Default/VB/OptionButton/index.md
@@ -57,6 +57,8 @@ optTerms.Caption = "Use && in folder names"   ' renders as: Use & in folder name
 
 When [**Style**](#style) is **vbButtonGraphical**, the option button is owner-drawn and displays the bitmaps assigned to [**Picture**](#picture), [**DownPicture**](#downpicture), and [**DisabledPicture**](#disabledpicture) instead of the standard round selector. [**PictureAlignment**](#picturealignment), [**Padding**](#padding), and [**PictureDpiScaling**](#picturedpiscaling) control how the picture is positioned relative to the caption.
 
+![Option buttons in the standard style, selected, not selected and disabled, and in the graphical style, the selected one drawn pressed](Images/OptionButton_Styles.png){:width="541" height="127"}
+
 ## Properties
 
 ### Alignment
diff --git a/docs/Reference/Default/VB/QRCode/Images/QRCode_EccMode.png b/docs/Reference/Default/VB/QRCode/Images/QRCode_EccMode.png
new file mode 100644
index 000000000..cf9791350
Binary files /dev/null and b/docs/Reference/Default/VB/QRCode/Images/QRCode_EccMode.png differ
diff --git a/docs/Reference/Default/VB/QRCode/index.md b/docs/Reference/Default/VB/QRCode/index.md
index ecb60bbd0..528af8cc1 100644
--- a/docs/Reference/Default/VB/QRCode/index.md
+++ b/docs/Reference/Default/VB/QRCode/index.md
@@ -66,6 +66,8 @@ QR codes embed a Reed-Solomon parity stream that lets the decoder recover from d
 
 When [**EccBoost**](#eccboost) is **True** (default), the encoder raises the parity level beyond the configured minimum if doing so still fits the payload in the same QR version --- automatically achieving better resilience.
 
+![One payload, the documentation's address, encoded at the four EccMode levels from Low to High, the higher levels taking more modules, and once more with SquareModules False, its modules drawn as dots](Images/QRCode_EccMode.png){:width="821" height="201"}
+
 ## Version and mask
 
 The QR-code *version* (1 to 40) sets the matrix size: version 1 is 21 × 21 modules, version 40 is 177 × 177. [**MinVersion**](#minversion) and [**MaxVersion**](#maxversion) constrain the encoder's search; it picks the smallest version in the range that fits the payload at the chosen [**EccMode**](#eccmode). The defaults (`1` and `40`) span the full range. Values outside `1..40` are clamped, and if **MinVersion** ends up greater than **MaxVersion** it is reset to `1`.
diff --git a/docs/Reference/Default/VB/Shape/Images/Shape_BorderStyle.png b/docs/Reference/Default/VB/Shape/Images/Shape_BorderStyle.png
new file mode 100644
index 000000000..c120da000
Binary files /dev/null and b/docs/Reference/Default/VB/Shape/Images/Shape_BorderStyle.png differ
diff --git a/docs/Reference/Default/VB/Shape/Images/Shape_FillStyle.png b/docs/Reference/Default/VB/Shape/Images/Shape_FillStyle.png
new file mode 100644
index 000000000..335172436
Binary files /dev/null and b/docs/Reference/Default/VB/Shape/Images/Shape_FillStyle.png differ
diff --git a/docs/Reference/Default/VB/Shape/Images/Shape_Kinds.png b/docs/Reference/Default/VB/Shape/Images/Shape_Kinds.png
new file mode 100644
index 000000000..855d772bf
Binary files /dev/null and b/docs/Reference/Default/VB/Shape/Images/Shape_Kinds.png differ
diff --git a/docs/Reference/Default/VB/Shape/index.md b/docs/Reference/Default/VB/Shape/index.md
index 73556cbbc..cb2c5bf42 100644
--- a/docs/Reference/Default/VB/Shape/index.md
+++ b/docs/Reference/Default/VB/Shape/index.md
@@ -55,6 +55,8 @@ For anything that needs those, use [**PictureBox**](../PictureBox/) or a custom
 | **vbShapeArrowUp**            | 9     | Up-pointing arrow.                                                          |
 | **vbShapeArrowDown**          | 10    | Down-pointing arrow.                                                        |
 
+![The eleven Shape values drawn in the same bounds, wider than they are tall: rectangle, square, oval, circle, rounded rectangle, rounded square, star, and arrows pointing left, right, up and down](Images/Shape_Kinds.png){:width="725" height="353"}
+
 For **vbShapeCircle**, **vbShapeSquare**, and **vbShapeRoundedSquare**, the drawn primitive is square: the shorter of the control's width and height is used and the primitive is centred along the longer axis. The control's bounding rectangle is unchanged.
 
 ## Stars and arrows
@@ -97,6 +99,8 @@ A **Shape** is painted in three logical layers:
 | **vbGradientNS**          | 8     | Vertical gradient from [**FillColor**](#fillcolor) (top) to [**FillColorAlt**](#fillcoloralt) (bottom). |
 | **vbGradientWE**          | 9     | Horizontal gradient from [**FillColor**](#fillcolor) (left) to [**FillColorAlt**](#fillcoloralt) (right). |
 
+![Ten Shape controls, one in each FillStyle value: solid, transparent, six hatch patterns, and the gradients from top to bottom and from left to right between FillColor and FillColorAlt](Images/Shape_FillStyle.png){:width="671" height="249"}
+
 The gradient styles (**vbGradientNS**, **vbGradientWE**) use the Win32 `GradientFill` GDI primitive, which does not respect the world transform applied for rotation: when [**Angle**](#angle) is non-zero, the gradient styles fall back to a solid fill of [**FillColor**](#fillcolor). The hatch and gradient styles are clipped to the shape's outline using a GDI region matching the shape kind.
 
 ## Border
@@ -109,6 +113,8 @@ The outline is drawn with a Win32 GDI pen:
 
 As with [**Line**](../Line/), GDI forces a solid pen whenever [**BorderWidth**](#borderwidth) is greater than `1` --- dashed and dotted patterns are only honoured at width `1`.
 
+![Seven pale Shape controls, one in each BorderStyle value at BorderWidth 1, from vbTransparent, with no outline, to vbBSInsideSolid](Images/Shape_BorderStyle.png){:width="581" height="249"}
+
 ## Rotation
 
 [**Angle**](#angle) rotates the rendered shape around the control's top-left point, in degrees, anti-clockwise. `0` (default) is the natural orientation; `90` is a quarter turn anti-clockwise; values between `0` and `360` give arbitrary rotations. The control's bounding rectangle on the parent does not change --- large rotation angles can therefore push the visible shape outside the rectangle. The rendered pixels are bounded only by the parent's clip, not by the **Shape**'s own rectangle.
diff --git a/docs/Reference/Default/VB/UserControl/index.md b/docs/Reference/Default/VB/UserControl/index.md
index b66c66430..f6179a0e0 100644
--- a/docs/Reference/Default/VB/UserControl/index.md
+++ b/docs/Reference/Default/VB/UserControl/index.md
@@ -732,6 +732,10 @@ Syntax: *object*.**PropertyChanged** [ *PropertyName* ]
 *PropertyName*
 : *optional* The name of the property that changed, as a **String**. When supplied, the framework also fires the COM **IPropertyNotifySink::OnChanged** event with the matching **DispId** so that data-bound containers can refresh themselves. Omit for a generic "something changed" notification.
 
+
+> [!WARNING] BETA 1042
+> **PropertyChanged** raises no error, but it leaves **Err.Number** set in the code that called the control's member: 438 after `PropertyChanged "Name"` and 13 after **PropertyChanged** with no name. So after an assignment such as `MyControl1.Caption = "x"`, whose **Property Let** ends with **PropertyChanged**, **Err.Number** reads 438 although the assignment worked, with or without an **On Error** statement in the caller; an **On Error GoTo** handler is not entered. Code that tests **Err.Number** after such a call sees an error that did not happen; clear **Err** before the statement whose error matters. VB6 leaves **Err.Number** at 0.
+
 ### PSet
 {: .no_toc }
 
diff --git a/docs/Reference/Default/VBA/Constants/Images/VbMsgBoxStyle_Buttons.png b/docs/Reference/Default/VBA/Constants/Images/VbMsgBoxStyle_Buttons.png
new file mode 100644
index 000000000..039d5fecb
Binary files /dev/null and b/docs/Reference/Default/VBA/Constants/Images/VbMsgBoxStyle_Buttons.png differ
diff --git a/docs/Reference/Default/VBA/Constants/Images/VbMsgBoxStyle_Icons.png b/docs/Reference/Default/VBA/Constants/Images/VbMsgBoxStyle_Icons.png
new file mode 100644
index 000000000..25534d3b6
Binary files /dev/null and b/docs/Reference/Default/VBA/Constants/Images/VbMsgBoxStyle_Icons.png differ
diff --git a/docs/Reference/Default/VBA/Constants/VbMsgBoxStyle.md b/docs/Reference/Default/VBA/Constants/VbMsgBoxStyle.md
index 4f15cb7f7..3702c654d 100644
--- a/docs/Reference/Default/VBA/Constants/VbMsgBoxStyle.md
+++ b/docs/Reference/Default/VBA/Constants/VbMsgBoxStyle.md
@@ -45,6 +45,8 @@ Buttons, icons, default-button, modality, and other behaviour flags for the **Ms
 | **vbRetryCancel**{: #vbRetryCancel } | 5 | **Retry** and **Cancel** buttons. |
 | **vbCancelTryAgainContinue**{: #vbCancelTryAgainContinue } | 6 | **Cancel**, **Try Again**, and **Continue** buttons. |
 
+![A message box for each set of buttons, from vbOKOnly to vbCancelTryAgainContinue, the first button the default](Images/VbMsgBoxStyle_Buttons.png){:width="722" height="464"}
+
 ### Icon
 
 | Constant | Value | Description |
@@ -54,6 +56,8 @@ Buttons, icons, default-button, modality, and other behaviour flags for the **Ms
 | **vbExclamation**{: #vbExclamation } | 48 | Warning message icon. |
 | **vbInformation**{: #vbInformation } | 64 | Information message icon. |
 
+![Four message boxes with the icons of vbCritical, vbQuestion, vbExclamation and vbInformation](Images/VbMsgBoxStyle_Icons.png){:width="392" height="339"}
+
 ### Default button
 
 | Constant | Value | Description |
diff --git a/docs/Reference/Default/VBA/Information/Images/QBColor.png b/docs/Reference/Default/VBA/Information/Images/QBColor.png
new file mode 100644
index 000000000..9c1c2f6ea
Binary files /dev/null and b/docs/Reference/Default/VBA/Information/Images/QBColor.png differ
diff --git a/docs/Reference/Default/VBA/Information/QBColor.md b/docs/Reference/Default/VBA/Information/QBColor.md
index 25297ca80..5aa25c3bc 100644
--- a/docs/Reference/Default/VBA/Information/QBColor.md
+++ b/docs/Reference/Default/VBA/Information/QBColor.md
@@ -29,6 +29,8 @@ The *color* argument has these settings:
 | 6 | Yellow | 14 | Light Yellow |
 | 7 | White | 15 | Bright White |
 
+![The sixteen QBColor colours, from 0 Black to 15 Bright White, each a swatch with its number and name](Images/QBColor.png){:width="753" height="205"}
+
 The *color* argument represents colour values used by earlier versions of Basic --- Microsoft Visual Basic for MS-DOS and the QuickBASIC compiler. Starting with the least-significant byte, the returned value specifies the red, green, and blue components used to set the corresponding colour in the RGB system, exactly as if [**RGB**](RGB) had been called with those components.
 
 
diff --git a/docs/Reference/Default/VBA/Interaction/Images/InputBox.png b/docs/Reference/Default/VBA/Interaction/Images/InputBox.png
new file mode 100644
index 000000000..c52dcbecd
Binary files /dev/null and b/docs/Reference/Default/VBA/Interaction/Images/InputBox.png differ
diff --git a/docs/Reference/Default/VBA/Interaction/InputBox.md b/docs/Reference/Default/VBA/Interaction/InputBox.md
index ea2889ee2..91efa9273 100644
--- a/docs/Reference/Default/VBA/Interaction/InputBox.md
+++ b/docs/Reference/Default/VBA/Interaction/InputBox.md
@@ -11,6 +11,8 @@ vba_attribution: true
 
 Displays a prompt in a dialog, waits for the user to type text or click a button, and returns a **String** containing the contents of the text box.
 
+![An input box: its title in the title bar, its prompt, OK and Cancel, and its default text selected in the text box](Images/InputBox.png){:width="398" height="161"}
+
 Syntax: **InputBox(** *prompt* [ **,** *title* ] [ **,** *default* ] [ **,** *xpos* ] [ **,** *ypos* ] [ **,** *helpfile* **,** *context* ] **)**
 
 *prompt*
diff --git a/docs/Reference/Default/VBRUN/Constants/BorderStyleConstants.md b/docs/Reference/Default/VBRUN/Constants/BorderStyleConstants.md
index cc4210e83..b77af5f94 100644
--- a/docs/Reference/Default/VBRUN/Constants/BorderStyleConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/BorderStyleConstants.md
@@ -18,3 +18,5 @@ Line-style values for the **BorderStyle** property of **Shape** and **Line** con
 | **vbBSDashDot**{: #vbBSDashDot } | 4 | A dash-dot border. |
 | **vbBSDashDotDot**{: #vbBSDashDotDot } | 5 | A dash-dot-dot border. |
 | **vbBSInsideSolid**{: #vbBSInsideSolid } | 6 | A solid border drawn entirely within the shape's bounds. |
+
+![Seven pale Shape controls, one in each BorderStyle value at BorderWidth 1, from vbTransparent, with no outline, to vbBSInsideSolid](../../VB/Shape/Images/Shape_BorderStyle.png){:width="581" height="249"}
diff --git a/docs/Reference/Default/VBRUN/Constants/ButtonConstants.md b/docs/Reference/Default/VBRUN/Constants/ButtonConstants.md
index bb77490be..f40d06354 100644
--- a/docs/Reference/Default/VBRUN/Constants/ButtonConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/ButtonConstants.md
@@ -13,3 +13,5 @@ Style values for command buttons that support an optional graphical (image-based
 |----------|-------|-------------|
 | **vbButtonStandard**{: #vbButtonStandard } | 0 | The button is drawn as a standard system push-button. |
 | **vbButtonGraphical**{: #vbButtonGraphical } | 1 | The button is drawn as a graphical button able to display a picture. Available only when the **FEATURE_GRAPHICAL_BUTTONS** feature is enabled. |
+
+![Command buttons: a standard one, the Default one with its blue border, a disabled one, and four in the graphical style with the picture above, below, left of and right of the caption](../../VB/CommandButton/Images/CommandButton_Styles.png){:width="501" height="171"}
diff --git a/docs/Reference/Default/VBRUN/Constants/CheckBoxConstants.md b/docs/Reference/Default/VBRUN/Constants/CheckBoxConstants.md
index c60e65f8e..50cc8384c 100644
--- a/docs/Reference/Default/VBRUN/Constants/CheckBoxConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/CheckBoxConstants.md
@@ -14,3 +14,5 @@ State values for the **Value** property of a check-box control.
 | **vbUnchecked**{: #vbUnchecked } | 0 | The check box is cleared. |
 | **vbChecked**{: #vbChecked } | 1 | The check box is selected. |
 | **vbGrayed**{: #vbGrayed } | 2 | The check box is shown in an indeterminate (gray) state. |
+
+![Check boxes unchecked, checked, grayed and disabled, one with its caption on the left (tbRightJustify), and two in the graphical style, the one up showing its Picture and the one down showing its DownPicture](../../VB/CheckBox/Images/CheckBox_States.png){:width="541" height="151"}
diff --git a/docs/Reference/Default/VBRUN/Constants/ComboBoxConstants.md b/docs/Reference/Default/VBRUN/Constants/ComboBoxConstants.md
index 25cd2ac03..0ea919ec1 100644
--- a/docs/Reference/Default/VBRUN/Constants/ComboBoxConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/ComboBoxConstants.md
@@ -14,3 +14,5 @@ Style values for the **Style** property of a combo-box control.
 | **vbComboDropdown**{: #vbComboDropdown } | 0 | A drop-down combo box: the user can type a value or select one from the list. |
 | **vbComboSimple**{: #vbComboSimple } | 1 | A simple combo box: the list is always visible and the user can also type a value. |
 | **vbComboDropdownList**{: #vbComboDropdownList } | 2 | A drop-down list: the user must pick a value from the list. |
+
+![The three combo box styles: a drop-down combo, a simple combo with its list always shown below its text box, and a drop-down list with its list dropped down](../../VB/ComboBox/Images/ComboBox_Styles.png){:width="501" height="211"}
diff --git a/docs/Reference/Default/VBRUN/Constants/DrawModeConstants.md b/docs/Reference/Default/VBRUN/Constants/DrawModeConstants.md
index 8a007c413..d329caa97 100644
--- a/docs/Reference/Default/VBRUN/Constants/DrawModeConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/DrawModeConstants.md
@@ -27,3 +27,5 @@ GDI raster-operation values for the **DrawMode** property, controlling how the p
 | **vbMergePenNot**{: #vbMergePenNot } | 14 | Combination of the pen and the inverse of the screen. |
 | **vbMergePen**{: #vbMergePen } | 15 | Combination of the pen colour and the screen colour. |
 | **vbWhiteness**{: #vbWhiteness } | 16 | Output is white. |
+
+![Sixteen green bars, one in each DrawMode value, drawn across four bands of white, black, red and blue, showing what each mode makes of the pen's colour and the colour under it](Images/DrawModeConstants.png){:width="431" height="461"}
diff --git a/docs/Reference/Default/VBRUN/Constants/DrawStyleConstants.md b/docs/Reference/Default/VBRUN/Constants/DrawStyleConstants.md
index 806621b3e..169ea8b20 100644
--- a/docs/Reference/Default/VBRUN/Constants/DrawStyleConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/DrawStyleConstants.md
@@ -18,3 +18,5 @@ Line-style values for the **DrawStyle** property, controlling the appearance of
 | **vbDashDotDot**{: #vbDashDotDot } | 4 | Dash-dot-dot pattern. |
 | **vbInvisible**{: #vbInvisible } | 5 | The line is not drawn. |
 | **vbInsideSolid**{: #vbInsideSolid } | 6 | A solid line drawn entirely within the bounds of any closed shape. |
+
+![A form with a line one pixel wide in each DrawStyle value, from vbSolid to vbInsideSolid, vbInvisible drawing nothing, and two boxes drawn with DrawWidth 8, the vbSolid one straddling the box's coordinates and the vbInsideSolid one inside them, the coordinates marked in red](Images/DrawStyleConstants.png){:width="471" height="361"}
diff --git a/docs/Reference/Default/VBRUN/Constants/FillStyleConstants.md b/docs/Reference/Default/VBRUN/Constants/FillStyleConstants.md
index 6e02eb5ce..3b8b886ad 100644
--- a/docs/Reference/Default/VBRUN/Constants/FillStyleConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/FillStyleConstants.md
@@ -19,3 +19,5 @@ Pattern values for the **FillStyle** property of forms, picture boxes, and shape
 | **vbDownwardDiagonal**{: #vbDownwardDiagonal } | 5 | Downward-sloping diagonal lines. |
 | **vbCross**{: #vbCross } | 6 | Crossed horizontal and vertical lines. |
 | **vbDiagonalCross**{: #vbDiagonalCross } | 7 | Crossed diagonal lines. |
+
+![Eight boxes drawn on a form with Line ... B, one in each FillStyle value from vbFSSolid to vbDiagonalCross, in a dark blue FillColor](Images/FillStyleConstants.png){:width="565" height="261"}
diff --git a/docs/Reference/Default/VBRUN/Constants/FillStyleConstantsEx.md b/docs/Reference/Default/VBRUN/Constants/FillStyleConstantsEx.md
index 2a0c741dd..014e87863 100644
--- a/docs/Reference/Default/VBRUN/Constants/FillStyleConstantsEx.md
+++ b/docs/Reference/Default/VBRUN/Constants/FillStyleConstantsEx.md
@@ -21,3 +21,5 @@ Extended fill-pattern values for controls that support twinBASIC's gradient fill
 | **vbDiagonalCross**{: #vbDiagonalCross } | 7 | Crossed diagonal lines. |
 | **vbGradientNS**{: #vbGradientNS } | 8 | Vertical (north--south) linear gradient. *(twinBASIC addition.)* |
 | **vbGradientWE**{: #vbGradientWE } | 9 | Horizontal (west--east) linear gradient. *(twinBASIC addition.)* |
+
+![Ten Shape controls, one in each FillStyle value: solid, transparent, six hatch patterns, and the gradients from top to bottom and from left to right between FillColor and FillColorAlt](../../VB/Shape/Images/Shape_FillStyle.png){:width="671" height="249"}
diff --git a/docs/Reference/Default/VBRUN/Constants/FormArrangeConstants.md b/docs/Reference/Default/VBRUN/Constants/FormArrangeConstants.md
index 7575b8ae0..9a4bf2fe7 100644
--- a/docs/Reference/Default/VBRUN/Constants/FormArrangeConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/FormArrangeConstants.md
@@ -15,3 +15,9 @@ Arrangement modes for the **Arrange** method of an MDI parent form, controlling
 | **vbTileHorizontal**{: #vbTileHorizontal } | 1 | Tile the child windows horizontally. |
 | **vbTileVertical**{: #vbTileVertical } | 2 | Tile the child windows vertically. |
 | **vbArrangeIcons**{: #vbArrangeIcons } | 3 | Arrange the icons of the minimised child windows along the bottom of the MDI parent. |
+
+![An MDI form whose three child forms are cascaded, each one's title bar showing below the one before it](../../VB/MDIForm/Images/MDIForm_Cascade.png){:width="587" height="373"}
+
+![An MDI form whose three child forms are tiled horizontally, one above the other](../../VB/MDIForm/Images/MDIForm_TileHorizontal.png){:width="587" height="373"}
+
+![An MDI form whose three child forms are tiled vertically, side by side](../../VB/MDIForm/Images/MDIForm_TileVertical.png){:width="587" height="373"}
diff --git a/docs/Reference/Default/VBRUN/Constants/FormBorderStyleConstants.md b/docs/Reference/Default/VBRUN/Constants/FormBorderStyleConstants.md
index d552ff3d8..277e1b6fb 100644
--- a/docs/Reference/Default/VBRUN/Constants/FormBorderStyleConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/FormBorderStyleConstants.md
@@ -19,3 +19,5 @@ Border-and-frame style values for the **BorderStyle** property of forms, choosin
 | **vbSizableToolWindow**{: #vbSizableToolWindow } | 5 | A resizable tool-window border with a small title bar. |
 | **vbSizableNoTitleBar**{: #vbSizableNoTitleBar } | 6 | A resizable border without a title bar. *(twinBASIC addition.)* |
 | **vbSizableToolWindowNoTitleBar**{: #vbSizableToolWindowNoTitleBar } | 7 | A resizable tool-window border without a title bar. *(twinBASIC addition.)* |
+
+![Eight forms, one in each BorderStyle value: no border, fixed single, sizable, fixed dialog, the fixed and sizable tool windows with a Close button only, and the sizable border and the sizable tool window with no title bar](../../VB/Form/Images/Form_BorderStyle.png){:width="957" height="234"}
diff --git a/docs/Reference/Default/VBRUN/Constants/Images/DrawModeConstants.png b/docs/Reference/Default/VBRUN/Constants/Images/DrawModeConstants.png
new file mode 100644
index 000000000..912350add
Binary files /dev/null and b/docs/Reference/Default/VBRUN/Constants/Images/DrawModeConstants.png differ
diff --git a/docs/Reference/Default/VBRUN/Constants/Images/DrawStyleConstants.png b/docs/Reference/Default/VBRUN/Constants/Images/DrawStyleConstants.png
new file mode 100644
index 000000000..046cfd751
Binary files /dev/null and b/docs/Reference/Default/VBRUN/Constants/Images/DrawStyleConstants.png differ
diff --git a/docs/Reference/Default/VBRUN/Constants/Images/FillStyleConstants.png b/docs/Reference/Default/VBRUN/Constants/Images/FillStyleConstants.png
new file mode 100644
index 000000000..adfe8597b
Binary files /dev/null and b/docs/Reference/Default/VBRUN/Constants/Images/FillStyleConstants.png differ
diff --git a/docs/Reference/Default/VBRUN/Constants/Images/MousePointerConstants.png b/docs/Reference/Default/VBRUN/Constants/Images/MousePointerConstants.png
new file mode 100644
index 000000000..4c35566fe
Binary files /dev/null and b/docs/Reference/Default/VBRUN/Constants/Images/MousePointerConstants.png differ
diff --git a/docs/Reference/Default/VBRUN/Constants/Images/SystemColorConstants.png b/docs/Reference/Default/VBRUN/Constants/Images/SystemColorConstants.png
new file mode 100644
index 000000000..6eeeeb8ca
Binary files /dev/null and b/docs/Reference/Default/VBRUN/Constants/Images/SystemColorConstants.png differ
diff --git a/docs/Reference/Default/VBRUN/Constants/ListBoxConstants.md b/docs/Reference/Default/VBRUN/Constants/ListBoxConstants.md
index f256b9359..94ee83345 100644
--- a/docs/Reference/Default/VBRUN/Constants/ListBoxConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/ListBoxConstants.md
@@ -14,3 +14,5 @@ Style values for the **Style** property of a list-box control.
 | **vbListBoxStandard**{: #vbListBoxStandard } | 0 | Standard list box: each item is a string. |
 | **vbListBoxCheckbox**{: #vbListBoxCheckbox } | 1 | Each item shows a check box that the user can toggle independently of the selection. |
 | **vbListBoxColorSwatch**{: #vbListBoxColorSwatch } | 2 | Each item shows a colour swatch alongside its text. |
+
+![List boxes in the three styles, Standard, Checkbox with three items checked and ColorSwatch with a colour beside each item, and a list box whose Columns is 3, its fifteen items laid out in three columns](../../VB/ListBox/Images/ListBox_Styles.png){:width="471" height="305"}
diff --git a/docs/Reference/Default/VBRUN/Constants/MousePointerConstants.md b/docs/Reference/Default/VBRUN/Constants/MousePointerConstants.md
index 69d63542e..009b950d3 100644
--- a/docs/Reference/Default/VBRUN/Constants/MousePointerConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/MousePointerConstants.md
@@ -9,6 +9,8 @@ permalink: /tB/Packages/VBRUN/Constants/MousePointerConstants
 
 Cursor-shape values for the **MousePointer** property of forms and controls.
 
+![The mouse pointer of each MousePointer value from vbDefault to vbPen, as a form shows them on Windows 10, all but vbIconPointer and vbSizePointer](Images/MousePointerConstants.png){:width="851" height="407"}
+
 ## Standard cursors
 
 | Constant | Value | Description |
diff --git a/docs/Reference/Default/VBRUN/Constants/ShapeConstants.md b/docs/Reference/Default/VBRUN/Constants/ShapeConstants.md
index ccc92a61e..23f5510de 100644
--- a/docs/Reference/Default/VBRUN/Constants/ShapeConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/ShapeConstants.md
@@ -22,3 +22,5 @@ Geometric-shape values for the **Shape** property of the **Shape** control.
 | **vbShapeArrowRight**{: #vbShapeArrowRight } | 8 | Arrow pointing right. |
 | **vbShapeArrowUp**{: #vbShapeArrowUp } | 9 | Arrow pointing up. |
 | **vbShapeArrowDown**{: #vbShapeArrowDown } | 10 | Arrow pointing down. |
+
+![The eleven Shape values drawn in the same bounds, wider than they are tall: rectangle, square, oval, circle, rounded rectangle, rounded square, star, and arrows pointing left, right, up and down](../../VB/Shape/Images/Shape_Kinds.png){:width="725" height="353"}
diff --git a/docs/Reference/Default/VBRUN/Constants/SystemColorConstants.md b/docs/Reference/Default/VBRUN/Constants/SystemColorConstants.md
index 734a5f12f..c3c8969a4 100644
--- a/docs/Reference/Default/VBRUN/Constants/SystemColorConstants.md
+++ b/docs/Reference/Default/VBRUN/Constants/SystemColorConstants.md
@@ -45,3 +45,5 @@ Reference values for system palette entries --- the colours the user has chosen
 | **vbInactiveTitleBarGradient**{: #vbInactiveTitleBarGradient } | &H8000001C | Inactive title-bar gradient end colour. |
 | **vbMenuHighlight**{: #vbMenuHighlight } | &H8000001D | Menu-item highlight (hover) colour. |
 | **vbMenuBarFlat**{: #vbMenuBarFlat } | &H8000001E | Flat-style menu-bar background. |
+
+![A swatch of each system colour, as Windows 10 gives them in its default theme, beside its constant's name](Images/SystemColorConstants.png){:width="719" height="325"}
diff --git a/docs/Tutorials/Images/Assert_Failed.light.png b/docs/Tutorials/Images/Assert_Failed.light.png
new file mode 100644
index 000000000..437c5c227
Binary files /dev/null and b/docs/Tutorials/Images/Assert_Failed.light.png differ
diff --git a/docs/Tutorials/Images/Assert_Failed.light.svg b/docs/Tutorials/Images/Assert_Failed.light.svg
new file mode 100644
index 000000000..f7d675caa
--- /dev/null
+++ b/docs/Tutorials/Images/Assert_Failed.light.svg
@@ -0,0 +1 @@
+EDITOR 1TestStringUtils(general)TestPadLeft_NormalTestStringUtils.twin123456789101112ModuleTestStringUtilsPublicSubTestPadLeft_Normal()' Three spaces prefix "hi" to reach width 5Assert.Exact.AreEqual"   hi",PadLeft("hi",5)EndSubPublicSubTestPadLeft_CustomPadChar()' Zero-pad to width 5Assert.Exact.AreEqual"00042",PadLeft("42",5,"0")EndSub▶   run TestStringUtils.TestPadLeft_Normal▶   run TestStringUtils.TestPadLeft_CustomPadCharRun-time error -353703420 (EAEAEA04)DESCRIPTION:Assertion FAILEDTry Again (Resume)Ignore (Resume Next)StopSearch OnlineCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]5:1TestPadLeft_NormalTestStringUtils.twin34:1RunAllTestsTestStringUtils.twinVARIABLESLocals{no members}
diff --git a/docs/Tutorials/Images/Assert_Failed.png b/docs/Tutorials/Images/Assert_Failed.png
new file mode 100644
index 000000000..edacc68fc
Binary files /dev/null and b/docs/Tutorials/Images/Assert_Failed.png differ
diff --git a/docs/Tutorials/Images/Assert_Failed.svg b/docs/Tutorials/Images/Assert_Failed.svg
new file mode 100644
index 000000000..8f10cfe2b
--- /dev/null
+++ b/docs/Tutorials/Images/Assert_Failed.svg
@@ -0,0 +1 @@
+EDITOR 1TestStringUtils(general)TestPadLeft_NormalTestStringUtils.twin123456789101112ModuleTestStringUtilsPublicSubTestPadLeft_Normal()' Three spaces prefix "hi" to reach width 5Assert.Exact.AreEqual"   hi",PadLeft("hi",5)EndSubPublicSubTestPadLeft_CustomPadChar()' Zero-pad to width 5Assert.Exact.AreEqual"00042",PadLeft("42",5,"0")EndSub▶   run TestStringUtils.TestPadLeft_Normal▶   run TestStringUtils.TestPadLeft_CustomPadCharRun-time error -353703420 (EAEAEA04)DESCRIPTION:Assertion FAILEDTry Again (Resume)Ignore (Resume Next)StopSearch OnlineCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]5:1TestPadLeft_NormalTestStringUtils.twin34:1RunAllTestsTestStringUtils.twinVARIABLESLocals{no members}
diff --git a/docs/Tutorials/Testing-with-Assert.md b/docs/Tutorials/Testing-with-Assert.md
index 157f22957..682f7ac63 100644
--- a/docs/Tutorials/Testing-with-Assert.md
+++ b/docs/Tutorials/Testing-with-Assert.md
@@ -126,6 +126,10 @@ All PadLeft tests passed.
 
 If an assertion fails, the run stops on that line with the run-time error **Assertion FAILED** (-353703420, `&HEAEAEA04`), before the final `Debug.Print`. The IDE shows the failing line, and the call stack names the test it is in. The error panel under the line has four buttons: **Try Again (Resume)**, **Ignore (Resume Next)**, **Stop** and **Search Online**. [When a run-time error stops the program](../tB/IDE/Debugging/Breakpoints-and-Stepping#when-a-run-time-error-stops-the-program) describes them, and how to look at the test's variables. Nothing about the failure is written to the Debug Console, and the expected and actual values are not shown.
 
+Here `PadLeft` has a bug --- it pads on the right, returning `"hi   "` --- so `RunAllTests` stops at its first test:
+
+![The editor stopped in TestStringUtils.twin at line 5 of TestPadLeft_Normal, Assert.Exact.AreEqual "   hi", PadLeft("hi", 5), which is highlighted with the yellow arrow in its margin. Under the line, the error panel shows Run-time error -353703420 (EAEAEA04), the description Assertion FAILED, and the buttons Try Again (Resume), Ignore (Resume Next), Stop and Search Online. Under the editor, CALL STACK lists TestPadLeft_Normal at 5:1, marked with the arrow, above RunAllTests at 34:1, and VARIABLES shows Locals with no members.](Images/Assert_Failed.png){:width="1100" height="610"}
+
 > [!IMPORTANT]
 > **Stop** and **Ignore (Resume Next)** do not end the run at a failed assertion. Both let the test go on past the failed check as if it had passed, so `RunAllTests` runs the remaining tests and then prints `All PadLeft tests passed.` To end the run, click the failing test's `End Sub` line, press **Ctrl+F9** (**Debug → Set Next Statement**), then choose **Run → End**.
 
diff --git a/docs/_book.yml b/docs/_book.yml
index 5a1e13b7f..74382a7b3 100644
--- a/docs/_book.yml
+++ b/docs/_book.yml
@@ -620,6 +620,13 @@ parts:
         landing_is_target: true
         outline_closed: true
 
+      - title: VBFLXGRD18 Package
+        subtitle: The VBFlexGrid control, a grid with editing in cells, in place of MSFLXGRD.OCX
+        landing_page: /tB/Packages/Contributed/VBFLXGRD18/
+        page: /tB/Packages/Contributed/VBFLXGRD18/
+        landing_is_target: true
+        outline_closed: true
+
       - title: xCalendar Package
         subtitle: A calendar control, in place of the Calendar control of MSCAL.OCX
         landing_page: /tB/Packages/Contributed/xCalendar/
diff --git a/indexer/snapshots/contributed/VBFLXGRD18/api.json b/indexer/snapshots/contributed/VBFLXGRD18/api.json
new file mode 100644
index 000000000..17eb529d7
--- /dev/null
+++ b/indexer/snapshots/contributed/VBFLXGRD18/api.json
@@ -0,0 +1,5043 @@
+{
+  "format": 3,
+  "package": "VBFLXGRD18",
+  "project": "VBFLXGRD18",
+  "version": "1.8.69.0",
+  "types": [
+    {
+      "name": "Common",
+      "kind": "module",
+      "vis": "public",
+      "file": "Common/Common.bas",
+      "signature": "Module Common",
+      "members": [
+        {"name":"AccelCharCode","kind":"function","vis":"public","signature":"Public Function AccelCharCode(ByVal Caption As String) As Integer","returnType":"Integer"},
+        {"name":"ArrPtr","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ArrPtr Lib \"msvbvm60.dll\" Alias \"VarPtr\" (ByRef Var() As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function ArrPtr Lib \"msvbvm60.dll\" Alias \"VarPtr\" (ByRef Var() As Any) As Long","returnType":"Long"}]},
+        {"name":"BitmapHandleFromPicture","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function BitmapHandleFromPicture(ByVal Picture As IPictureDisp, Optional ByVal BackColor As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function BitmapHandleFromPicture(ByVal Picture As IPictureDisp, Optional ByVal BackColor As Long) As Long","returnType":"Long"}]},
+        {"name":"CHimetricToPixel_X","kind":"function","vis":"public","signature":"Public Function CHimetricToPixel_X(ByVal Width As Long) As Long","returnType":"Long"},
+        {"name":"CHimetricToPixel_Y","kind":"function","vis":"public","signature":"Public Function CHimetricToPixel_Y(ByVal Height As Long) As Long","returnType":"Long"},
+        {"name":"CIntToUInt","kind":"function","vis":"public","signature":"Public Function CIntToUInt(ByVal Value As Integer) As Long","returnType":"Long"},
+        {"name":"CLngToULng","kind":"function","vis":"public","signature":"Public Function CLngToULng(ByVal Value As Long) As Double","returnType":"Double"},
+        {"name":"CUIntToInt","kind":"function","vis":"public","signature":"Public Function CUIntToInt(ByVal Value As Long) As Integer","returnType":"Integer"},
+        {"name":"CULngToLng","kind":"function","vis":"public","signature":"Public Function CULngToLng(ByVal Value As Double) As Long","returnType":"Long"},
+        {"name":"CloneGDIFont","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function CloneGDIFont(ByVal hFont As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function CloneGDIFont(ByVal hFont As Long) As Long","returnType":"Long"}]},
+        {"name":"CloneOLEFont","kind":"function","vis":"public","signature":"Public Function CloneOLEFont(ByVal Font As IFont) As StdFont","returnType":"StdFont"},
+        {"name":"CloseClipboard","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CloseClipboard Lib \"user32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function CloseClipboard Lib \"user32\" () As Long"}]},
+        {"name":"CloseHandle","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CloseHandle Lib \"kernel32\" (ByVal hObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function CloseHandle Lib \"kernel32\" (ByVal hObject As Long) As Long"}]},
+        {"name":"CopyMemory","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)"}]},
+        {"name":"CreateCompatibleBitmap","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateCompatibleBitmap Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nWidth As Long, ByVal nHeight As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateCompatibleBitmap Lib \"gdi32\" (ByVal hDC As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateCompatibleDC","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateCompatibleDC Lib \"gdi32\" (ByVal hDC As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateCompatibleDC Lib \"gdi32\" (ByVal hDC As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateDirectory","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateDirectory Lib \"kernel32\" Alias \"CreateDirectoryW\" (ByVal lpPathName As LongPtr, ByVal lpSecurityAttributes As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateDirectory Lib \"kernel32\" Alias \"CreateDirectoryW\" (ByVal lpPathName As Long, ByVal lpSecurityAttributes As Long) As Long"}]},
+        {"name":"CreateFontIndirect","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateFontIndirect Lib \"gdi32\" Alias \"CreateFontIndirectW\" (ByRef lpLogFont As LOGFONT) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateFontIndirect Lib \"gdi32\" Alias \"CreateFontIndirectW\" (ByRef lpLogFont As LOGFONT) As Long","returnType":"Long"}]},
+        {"name":"CreateGDIFontFromOLEFont","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function CreateGDIFontFromOLEFont(ByVal Font As IFont, Optional ByVal Quality As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function CreateGDIFontFromOLEFont(ByVal Font As IFont, Optional ByVal Quality As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateSolidBrush","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateSolidBrush Lib \"gdi32\" (ByVal crColor As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateSolidBrush Lib \"gdi32\" (ByVal crColor As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateStreamOnHGlobal","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateStreamOnHGlobal Lib \"ole32\" (ByVal hGlobal As LongPtr, ByVal fDeleteOnRelease As Long, ByRef pStream As IUnknown) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateStreamOnHGlobal Lib \"ole32\" (ByVal hGlobal As Long, ByVal fDeleteOnRelease As Long, ByRef pStream As IUnknown) As Long"}]},
+        {"name":"DPICorrectionFactor","kind":"function","vis":"public","signature":"Public Function DPICorrectionFactor() As Single","returnType":"Single"},
+        {"name":"DPI_X","kind":"function","vis":"public","signature":"Public Function DPI_X() As Long","returnType":"Long"},
+        {"name":"DPI_Y","kind":"function","vis":"public","signature":"Public Function DPI_Y() As Long","returnType":"Long"},
+        {"name":"DeleteDC","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DeleteDC Lib \"gdi32\" (ByVal hDC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DeleteDC Lib \"gdi32\" (ByVal hDC As Long) As Long"}]},
+        {"name":"DeleteObject","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DeleteObject Lib \"gdi32\" (ByVal hObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DeleteObject Lib \"gdi32\" (ByVal hObject As Long) As Long"}]},
+        {"name":"DrawIconEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawIconEx Lib \"user32\" (ByVal hDC As LongPtr, ByVal XLeft As Long, ByVal YTop As Long, ByVal hIcon As LongPtr, ByVal CXWidth As Long, ByVal CYWidth As Long, ByVal istepIfAniCur As Long, ByVal hbrFlickerFreeDraw As LongPtr, ByVal diFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawIconEx Lib \"user32\" (ByVal hDC As Long, ByVal XLeft As Long, ByVal YTop As Long, ByVal hIcon As Long, ByVal CXWidth As Long, ByVal CYWidth As Long, ByVal istepIfAniCur As Long, ByVal hbrFlickerFreeDraw As Long, ByVal diFlags As Long) As Long"}]},
+        {"name":"EmptyClipboard","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function EmptyClipboard Lib \"user32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function EmptyClipboard Lib \"user32\" () As Long"}]},
+        {"name":"FileTimeToLocalFileTime","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FileTimeToLocalFileTime Lib \"kernel32\" (ByVal lpFileTime As LongPtr, ByVal lpLocalFileTime As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FileTimeToLocalFileTime Lib \"kernel32\" (ByVal lpFileTime As Long, ByVal lpLocalFileTime As Long) As Long"}]},
+        {"name":"FileTimeToSystemTime","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FileTimeToSystemTime Lib \"kernel32\" (ByVal lpFileTime As LongPtr, ByVal lpSystemTime As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FileTimeToSystemTime Lib \"kernel32\" (ByVal lpFileTime As Long, ByVal lpSystemTime As Long) As Long"}]},
+        {"name":"FillRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FillRect Lib \"user32\" (ByVal hDC As LongPtr, ByRef lpRect As RECT, ByVal hBrush As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FillRect Lib \"user32\" (ByVal hDC As Long, ByRef lpRect As RECT, ByVal hBrush As Long) As Long"}]},
+        {"name":"FindClose","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FindClose Lib \"kernel32\" (ByVal hFindFile As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FindClose Lib \"kernel32\" (ByVal hFindFile As Long) As Long"}]},
+        {"name":"FindFirstFile","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FindFirstFile Lib \"kernel32\" Alias \"FindFirstFileW\" (ByVal lpFileName As LongPtr, ByRef lpFindFileData As WIN32_FIND_DATA) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function FindFirstFile Lib \"kernel32\" Alias \"FindFirstFileW\" (ByVal lpFileName As Long, ByRef lpFindFileData As WIN32_FIND_DATA) As Long","returnType":"Long"}]},
+        {"name":"FindNextFile","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FindNextFile Lib \"kernel32\" Alias \"FindNextFileW\" (ByVal hFindFile As LongPtr, ByRef lpFindFileData As WIN32_FIND_DATA) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FindNextFile Lib \"kernel32\" Alias \"FindNextFileW\" (ByVal hFindFile As Long, ByRef lpFindFileData As WIN32_FIND_DATA) As Long"}]},
+        {"name":"FlashWindowEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FlashWindowEx Lib \"user32\" (ByRef pFWI As FLASHWINFO) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FlashWindowEx Lib \"user32\" (ByRef pFWI As FLASHWINFO) As Long"}]},
+        {"name":"GdiAlphaBlend","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GdiAlphaBlend Lib \"gdi32\" (ByVal hDestDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As LongPtr, ByVal XSrc As Long, ByVal YSrc As Long, ByVal nWidthSrc As Long, ByVal nHeightSrc As Long, ByVal BlendFunc As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GdiAlphaBlend Lib \"gdi32\" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal nWidthSrc As Long, ByVal nHeightSrc As Long, ByVal BlendFunc As Long) As Long"}]},
+        {"name":"GetActiveWindow","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetActiveWindow Lib \"user32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetActiveWindow Lib \"user32\" () As Long","returnType":"Long"}]},
+        {"name":"GetAsyncKeyState","kind":"function","vis":"private","declare":true,"returnType":"Integer","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetAsyncKeyState Lib \"user32\" (ByVal vKey As Long) As Integer"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetAsyncKeyState Lib \"user32\" (ByVal vKey As Long) As Integer"}]},
+        {"name":"GetCapture","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCapture Lib \"user32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCapture Lib \"user32\" () As Long","returnType":"Long"}]},
+        {"name":"GetClassName","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetClassName Lib \"user32\" Alias \"GetClassNameW\" (ByVal hWnd As LongPtr, ByVal lpClassName As LongPtr, ByVal nMaxCount As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetClassName Lib \"user32\" Alias \"GetClassNameW\" (ByVal hWnd As Long, ByVal lpClassName As Long, ByVal nMaxCount As Long) As Long"}]},
+        {"name":"GetClipboardData","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetClipboardData Lib \"user32\" (ByVal wFormat As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetClipboardData Lib \"user32\" (ByVal wFormat As Long) As Long","returnType":"Long"}]},
+        {"name":"GetClipboardText","kind":"function","vis":"public","signature":"Public Function GetClipboardText() As String","returnType":"String"},
+        {"name":"GetCommandLine","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCommandLine Lib \"kernel32\" Alias \"GetCommandLineW\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCommandLine Lib \"kernel32\" Alias \"GetCommandLineW\" () As Long","returnType":"Long"}]},
+        {"name":"GetCursorPos","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCursorPos Lib \"user32\" (ByRef lpPoint As POINTAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCursorPos Lib \"user32\" (ByRef lpPoint As POINTAPI) As Long"}]},
+        {"name":"GetDC","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDC Lib \"user32\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDC Lib \"user32\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"GetDeviceCaps","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDeviceCaps Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nIndex As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDeviceCaps Lib \"gdi32\" (ByVal hDC As Long, ByVal nIndex As Long) As Long"}]},
+        {"name":"GetFileAttributes","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetFileAttributes Lib \"kernel32\" Alias \"GetFileAttributesW\" (ByVal lpFileName As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetFileAttributes Lib \"kernel32\" Alias \"GetFileAttributesW\" (ByVal lpFileName As Long) As Long"}]},
+        {"name":"GetFileAttributesEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetFileAttributesEx Lib \"kernel32\" Alias \"GetFileAttributesExW\" (ByVal lpFileName As LongPtr, ByVal fInfoLevelId As Long, ByVal lpFileInformation As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetFileAttributesEx Lib \"kernel32\" Alias \"GetFileAttributesExW\" (ByVal lpFileName As Long, ByVal fInfoLevelId As Long, ByVal lpFileInformation As Long) As Long"}]},
+        {"name":"GetFileVersionInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetFileVersionInfo Lib \"Version\" Alias \"GetFileVersionInfoW\" (ByVal lpFileName As LongPtr, ByVal dwHandle As Long, ByVal dwLen As Long, ByVal lpData As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetFileVersionInfo Lib \"Version\" Alias \"GetFileVersionInfoW\" (ByVal lpFileName As Long, ByVal dwHandle As Long, ByVal dwLen As Long, ByVal lpData As Long) As Long"}]},
+        {"name":"GetFileVersionInfoSize","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetFileVersionInfoSize Lib \"Version\" Alias \"GetFileVersionInfoSizeW\" (ByVal lpFileName As LongPtr, ByVal lpdwHandle As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetFileVersionInfoSize Lib \"Version\" Alias \"GetFileVersionInfoSizeW\" (ByVal lpFileName As Long, ByVal lpdwHandle As Long) As Long"}]},
+        {"name":"GetForegroundWindow","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetForegroundWindow Lib \"user32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetForegroundWindow Lib \"user32\" () As Long","returnType":"Long"}]},
+        {"name":"GetKeyState","kind":"function","vis":"private","declare":true,"returnType":"Integer","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetKeyState Lib \"user32\" (ByVal nVirtKey As Long) As Integer"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetKeyState Lib \"user32\" (ByVal nVirtKey As Long) As Integer"}]},
+        {"name":"GetMenu","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetMenu Lib \"user32\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetMenu Lib \"user32\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"GetModuleFileName","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetModuleFileName Lib \"kernel32\" Alias \"GetModuleFileNameW\" (ByVal hModule As LongPtr, ByVal lpFileName As LongPtr, ByVal nSize As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetModuleFileName Lib \"kernel32\" Alias \"GetModuleFileNameW\" (ByVal hModule As Long, ByVal lpFileName As Long, ByVal nSize As Long) As Long"}]},
+        {"name":"GetMonitorInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetMonitorInfo Lib \"user32\" Alias \"GetMonitorInfoW\" (ByVal hMonitor As LongPtr, ByRef lpMI As MONITORINFO) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetMonitorInfo Lib \"user32\" Alias \"GetMonitorInfoW\" (ByVal hMonitor As Long, ByRef lpMI As MONITORINFO) As Long"}]},
+        {"name":"GetMouseState","kind":"function","vis":"public","signature":"Public Function GetMouseState() As MouseButtonConstants","returnType":"MouseButtonConstants"},
+        {"name":"GetMouseStateFromMsg","kind":"function","vis":"public","signature":"Public Function GetMouseStateFromMsg() As MouseButtonConstants","returnType":"MouseButtonConstants"},
+        {"name":"GetMouseStateFromParam","kind":"function","vis":"public","returnType":"MouseButtonConstants","signatures":[{"cond":"VBA7","signature":"Public Function GetMouseStateFromParam(ByVal wParam As LongPtr) As MouseButtonConstants"},{"cond":"Not (VBA7)","signature":"Public Function GetMouseStateFromParam(ByVal wParam As Long) As MouseButtonConstants"}]},
+        {"name":"GetObjectAPI","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetObjectAPI Lib \"gdi32\" Alias \"GetObjectW\" (ByVal hObject As LongPtr, ByVal nCount As Long, ByRef lpObject As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetObjectAPI Lib \"gdi32\" Alias \"GetObjectW\" (ByVal hObject As Long, ByVal nCount As Long, ByRef lpObject As Any) As Long"}]},
+        {"name":"GetShiftState","kind":"function","vis":"public","signature":"Public Function GetShiftState() As ShiftConstants","returnType":"ShiftConstants"},
+        {"name":"GetShiftStateFromMsg","kind":"function","vis":"public","signature":"Public Function GetShiftStateFromMsg() As ShiftConstants","returnType":"ShiftConstants"},
+        {"name":"GetShiftStateFromParam","kind":"function","vis":"public","returnType":"ShiftConstants","signatures":[{"cond":"VBA7","signature":"Public Function GetShiftStateFromParam(ByVal wParam As LongPtr) As ShiftConstants"},{"cond":"Not (VBA7)","signature":"Public Function GetShiftStateFromParam(ByVal wParam As Long) As ShiftConstants"}]},
+        {"name":"GetSystemDirectory","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSystemDirectory Lib \"kernel32\" Alias \"GetSystemDirectoryW\" (ByVal lpBuffer As LongPtr, ByVal nSize As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSystemDirectory Lib \"kernel32\" Alias \"GetSystemDirectoryW\" (ByVal lpBuffer As Long, ByVal nSize As Long) As Long"}]},
+        {"name":"GetSystemMetrics","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSystemMetrics Lib \"user32\" (ByVal nIndex As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSystemMetrics Lib \"user32\" (ByVal nIndex As Long) As Long"}]},
+        {"name":"GetSystemWindowsDirectory","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSystemWindowsDirectory Lib \"kernel32\" Alias \"GetSystemWindowsDirectoryW\" (ByVal lpBuffer As LongPtr, ByVal nSize As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSystemWindowsDirectory Lib \"kernel32\" Alias \"GetSystemWindowsDirectoryW\" (ByVal lpBuffer As Long, ByVal nSize As Long) As Long"}]},
+        {"name":"GetVolumeInformation","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetVolumeInformation Lib \"kernel32\" Alias \"GetVolumeInformationW\" (ByVal lpRootPathName As LongPtr, ByVal lpVolumeNameBuffer As LongPtr, ByVal nVolumeNameSize As Long, ByRef lpVolumeSerialNumber As LongPtr, ByRef lpMaximumComponentLength As LongPtr, ByRef lpFileSystemFlags As LongPtr, ByVal lpFileSystemNameBuffer As LongPtr, ByVal nFileSystemNameSize As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetVolumeInformation Lib \"kernel32\" Alias \"GetVolumeInformationW\" (ByVal lpRootPathName As Long, ByVal lpVolumeNameBuffer As Long, ByVal nVolumeNameSize As Long, ByRef lpVolumeSerialNumber As Long, ByRef lpMaximumComponentLength As Long, ByRef lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As Long, ByVal nFileSystemNameSize As Long) As Long"}]},
+        {"name":"GetVolumePathName","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetVolumePathName Lib \"kernel32\" Alias \"GetVolumePathNameW\" (ByVal lpFileName As LongPtr, ByVal lpVolumePathName As LongPtr, ByVal cch As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetVolumePathName Lib \"kernel32\" Alias \"GetVolumePathNameW\" (ByVal lpFileName As Long, ByVal lpVolumePathName As Long, ByVal cch As Long) As Long"}]},
+        {"name":"GetWindowRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowRect Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowRect Lib \"user32\" (ByVal hWnd As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"GetWindowText","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowText Lib \"user32\" Alias \"GetWindowTextW\" (ByVal hWnd As LongPtr, ByVal lpString As LongPtr, ByVal cch As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowText Lib \"user32\" Alias \"GetWindowTextW\" (ByVal hWnd As Long, ByVal lpString As Long, ByVal cch As Long) As Long"}]},
+        {"name":"GetWindowTextLength","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowTextLength Lib \"user32\" Alias \"GetWindowTextLengthW\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowTextLength Lib \"user32\" Alias \"GetWindowTextLengthW\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"GetWindowThreadProcessId","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowThreadProcessId Lib \"user32\" (ByVal hWnd As LongPtr, ByVal lpdwProcessId As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowThreadProcessId Lib \"user32\" (ByVal hWnd As Long, ByVal lpdwProcessId As Long) As Long"}]},
+        {"name":"Get_Wheel_Delta_wParam","kind":"function","vis":"public","returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Function Get_Wheel_Delta_wParam(ByVal wParam As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Function Get_Wheel_Delta_wParam(ByVal wParam As Long) As Long"}]},
+        {"name":"Get_X_lParam","kind":"function","vis":"public","returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Function Get_X_lParam(ByVal lParam As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Function Get_X_lParam(ByVal lParam As Long) As Long"}]},
+        {"name":"Get_Y_lParam","kind":"function","vis":"public","returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Function Get_Y_lParam(ByVal lParam As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Function Get_Y_lParam(ByVal lParam As Long) As Long"}]},
+        {"name":"GlobalAlloc","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GlobalAlloc Lib \"kernel32\" (ByVal uFlags As Long, ByVal dwBytes As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GlobalAlloc Lib \"kernel32\" (ByVal uFlags As Long, ByVal dwBytes As Long) As Long","returnType":"Long"}]},
+        {"name":"GlobalLock","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GlobalLock Lib \"kernel32\" (ByVal hMem As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GlobalLock Lib \"kernel32\" (ByVal hMem As Long) As Long","returnType":"Long"}]},
+        {"name":"GlobalSize","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GlobalSize Lib \"kernel32\" (ByVal hMem As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GlobalSize Lib \"kernel32\" (ByVal hMem As Long) As Long","returnType":"Long"}]},
+        {"name":"GlobalUnlock","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GlobalUnlock Lib \"kernel32\" (ByVal hMem As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GlobalUnlock Lib \"kernel32\" (ByVal hMem As Long) As Long"}]},
+        {"name":"HasClipboardText","kind":"function","vis":"public","signature":"Public Function HasClipboardText() As Boolean","returnType":"Boolean"},
+        {"name":"HiByte","kind":"function","vis":"public","signature":"Public Function HiByte(ByVal Word As Integer) As Byte","returnType":"Byte"},
+        {"name":"HiWord","kind":"function","vis":"public","signature":"Public Function HiWord(ByVal DWord As Long) As Integer","returnType":"Integer"},
+        {"name":"InIDE","kind":"function","vis":"public","returnType":"Boolean","signatures":[{"cond":"TWINBASIC","signature":"Public Function InIDE() As Boolean"},{"cond":"Not (TWINBASIC)","signature":"Public Function InIDE(Optional ByRef B As Boolean = True) As Boolean"}]},
+        {"name":"IsArrayInitialized","kind":"function","vis":"public","signature":"Public Function IsArrayInitialized(ByRef VarName As Variant) As Boolean","returnType":"Boolean"},
+        {"name":"IsClipboardFormatAvailable","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function IsClipboardFormatAvailable Lib \"user32\" (ByVal wFormat As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function IsClipboardFormatAvailable Lib \"user32\" (ByVal wFormat As Long) As Long"}]},
+        {"name":"IsNaN","kind":"function","vis":"public","signature":"Public Function IsNaN(ByRef Expression As Variant) As Boolean","returnType":"Boolean"},
+        {"name":"KeyPressed","kind":"function","vis":"public","signature":"Public Function KeyPressed(ByVal KeyCode As KeyCodeConstants) As Boolean","returnType":"Boolean"},
+        {"name":"KeyToggled","kind":"function","vis":"public","signature":"Public Function KeyToggled(ByVal KeyCode As KeyCodeConstants) As Boolean","returnType":"Boolean"},
+        {"name":"LF_FACESIZE","kind":"const","vis":"private","signature":"Private Const LF_FACESIZE As Long = 32"},
+        {"name":"LoByte","kind":"function","vis":"public","signature":"Public Function LoByte(ByVal Word As Integer) As Byte","returnType":"Byte"},
+        {"name":"LoWord","kind":"function","vis":"public","signature":"Public Function LoWord(ByVal DWord As Long) As Integer","returnType":"Integer"},
+        {"name":"MAX_PATH","kind":"const","vis":"private","signature":"Private Const MAX_PATH As Long = 260"},
+        {"name":"MakeDWord","kind":"function","vis":"public","signature":"Public Function MakeDWord(ByVal LoWord As Integer, ByVal HiWord As Integer) As Long","returnType":"Long"},
+        {"name":"MakeWord","kind":"function","vis":"public","signature":"Public Function MakeWord(ByVal LoByte As Byte, ByVal HiByte As Byte) As Integer","returnType":"Integer"},
+        {"name":"Make_XY_lParam","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function Make_XY_lParam(ByVal X As Long, ByVal Y As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function Make_XY_lParam(ByVal X As Long, ByVal Y As Long) As Long","returnType":"Long"}]},
+        {"name":"MessageBoxIndirect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MessageBoxIndirect Lib \"user32\" Alias \"MessageBoxIndirectW\" (ByRef lpMsgBoxParams As MSGBOXPARAMS) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function MessageBoxIndirect Lib \"user32\" Alias \"MessageBoxIndirectW\" (ByRef lpMsgBoxParams As MSGBOXPARAMS) As Long"}]},
+        {"name":"MonitorFromWindow","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MonitorFromWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal dwFlags As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function MonitorFromWindow Lib \"user32\" (ByVal hWnd As Long, ByVal dwFlags As Long) As Long","returnType":"Long"}]},
+        {"name":"MousePointerID","kind":"function","vis":"public","signature":"Public Function MousePointerID(ByVal MousePointer As Integer) As Long","returnType":"Long"},
+        {"name":"MulDiv","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MulDiv Lib \"kernel32\" (ByVal nNumber As Long, ByVal nNumerator As Long, ByVal nDenominator As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function MulDiv Lib \"kernel32\" (ByVal nNumber As Long, ByVal nNumerator As Long, ByVal nDenominator As Long) As Long"}]},
+        {"name":"MultiByteToWideChar","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MultiByteToWideChar Lib \"kernel32\" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpMultiByteStr As LongPtr, ByVal cbMultiByte As Long, ByVal lpWideCharStr As LongPtr, ByVal cchWideChar As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function MultiByteToWideChar Lib \"kernel32\" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpMultiByteStr As Long, ByVal cbMultiByte As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long) As Long"}]},
+        {"name":"NULL_PTR","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const NULL_PTR As LongPtr = 0"},{"cond":"Not (Win64)","signature":"Private Const NULL_PTR As Long = 0"}]},
+        {"name":"NaN","kind":"function","vis":"public","signature":"Public Function NaN() As Double","returnType":"Double"},
+        {"name":"NaN32","kind":"function","vis":"public","signature":"Public Function NaN32() As Single","returnType":"Single"},
+        {"name":"Nz","kind":"function","vis":"public","signature":"Public Function Nz(ByRef Value As Variant, Optional ByRef ValueIfNull As Variant = Empty) As Variant","returnType":"Variant"},
+        {"name":"OLEFontIsEqual","kind":"function","vis":"public","signature":"Public Function OLEFontIsEqual(ByVal Font As StdFont, ByVal FontOther As StdFont) As Boolean","returnType":"Boolean"},
+        {"name":"OleCreatePictureIndirect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function OleCreatePictureIndirect Lib \"oleaut32\" (ByRef pPictDesc As PICTDESC, ByRef riid As Any, ByVal fPictureOwnsHandle As Long, ByRef pIPicture As IPicture) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function OleCreatePictureIndirect Lib \"oleaut32\" (ByRef pPictDesc As PICTDESC, ByRef riid As Any, ByVal fPictureOwnsHandle As Long, ByRef pIPicture As IPicture) As Long"}]},
+        {"name":"OleLoadPicture","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function OleLoadPicture Lib \"oleaut32\" (ByVal pStream As IUnknown, ByVal lSize As Long, ByVal fRunmode As Long, ByRef riid As Any, ByRef pIPicture As IPicture) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function OleLoadPicture Lib \"oleaut32\" (ByVal pStream As IUnknown, ByVal lSize As Long, ByVal fRunmode As Long, ByRef riid As Any, ByRef pIPicture As IPicture) As Long"}]},
+        {"name":"OleLoadPicturePath","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function OleLoadPicturePath Lib \"oleaut32\" (ByVal lpszPath As LongPtr, ByVal pUnkCaller As LongPtr, ByVal dwReserved As Long, ByVal ClrReserved As Long, ByRef riid As CLSID, ByRef pIPicture As IPicture) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function OleLoadPicturePath Lib \"oleaut32\" (ByVal lpszPath As Long, ByVal pUnkCaller As Long, ByVal dwReserved As Long, ByVal ClrReserved As Long, ByRef riid As CLSID, ByRef pIPicture As IPicture) As Long"}]},
+        {"name":"OleTranslateColor","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function OleTranslateColor Lib \"oleaut32\" (ByVal Color As Long, ByVal hPal As LongPtr, ByRef RGBResult As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function OleTranslateColor Lib \"oleaut32\" (ByVal Color As Long, ByVal hPal As Long, ByRef RGBResult As Long) As Long"}]},
+        {"name":"OpenClipboard","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function OpenClipboard Lib \"user32\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function OpenClipboard Lib \"user32\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"PTR_SIZE","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const PTR_SIZE As Long = 8"},{"cond":"Not (Win64)","signature":"Private Const PTR_SIZE As Long = 4"}]},
+        {"name":"PathGetArgs","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function PathGetArgs Lib \"shlwapi\" Alias \"PathGetArgsW\" (ByVal lpszPath As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function PathGetArgs Lib \"shlwapi\" Alias \"PathGetArgsW\" (ByVal lpszPath As Long) As Long","returnType":"Long"}]},
+        {"name":"PictureFromByteStream","kind":"function","vis":"public","signature":"Public Function PictureFromByteStream(ByRef ByteStream As Variant) As IPictureDisp","returnType":"IPictureDisp"},
+        {"name":"PictureFromHandle","kind":"function","vis":"public","returnType":"IPictureDisp","signatures":[{"cond":"VBA7","signature":"Public Function PictureFromHandle(ByVal Handle As LongPtr, ByVal PicType As VBRUN.PictureTypeConstants) As IPictureDisp"},{"cond":"Not (VBA7)","signature":"Public Function PictureFromHandle(ByVal Handle As Long, ByVal PicType As VBRUN.PictureTypeConstants) As IPictureDisp"}]},
+        {"name":"PictureFromPath","kind":"function","vis":"public","signature":"Public Function PictureFromPath(ByVal PathName As String) As IPictureDisp","returnType":"IPictureDisp"},
+        {"name":"PixelsPerDIP_X","kind":"function","vis":"public","signature":"Public Function PixelsPerDIP_X() As Single","returnType":"Single"},
+        {"name":"PixelsPerDIP_Y","kind":"function","vis":"public","signature":"Public Function PixelsPerDIP_Y() As Single","returnType":"Single"},
+        {"name":"ProcPtr","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function ProcPtr(ByVal Address As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function ProcPtr(ByVal Address As Long) As Long","returnType":"Long"}]},
+        {"name":"PtrToObj","kind":"function","vis":"public","returnType":"Object","signatures":[{"cond":"VBA7","signature":"Public Function PtrToObj(ByVal ObjectPointer As LongPtr) As Object"},{"cond":"Not (VBA7)","signature":"Public Function PtrToObj(ByVal ObjectPointer As Long) As Object"}]},
+        {"name":"RedrawWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function RedrawWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal lprcUpdate As LongPtr, ByVal hrgnUpdate As LongPtr, ByVal fuRedraw As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function RedrawWindow Lib \"user32\" (ByVal hWnd As Long, ByVal lprcUpdate As Long, ByVal hrgnUpdate As Long, ByVal fuRedraw As Long) As Long"}]},
+        {"name":"RefreshMousePointer","kind":"sub","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Sub RefreshMousePointer(Optional ByVal hWndFallback As LongPtr)"},{"cond":"Not (VBA7)","signature":"Public Sub RefreshMousePointer(Optional ByVal hWndFallback As Long)"}]},
+        {"name":"ReleaseDC","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ReleaseDC Lib \"user32\" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ReleaseDC Lib \"user32\" (ByVal hWnd As Long, ByVal hDC As Long) As Long"}]},
+        {"name":"RemoveDirectory","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function RemoveDirectory Lib \"kernel32\" Alias \"RemoveDirectoryW\" (ByVal lpPathName As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function RemoveDirectory Lib \"kernel32\" Alias \"RemoveDirectoryW\" (ByVal lpPathName As Long) As Long"}]},
+        {"name":"RenderPicture","kind":"sub","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Sub RenderPicture(ByVal Picture As IPicture, ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, Optional ByVal CX As Long, Optional ByVal CY As Long, Optional ByRef RenderFlag As Integer)"},{"cond":"Not (VBA7)","signature":"Public Sub RenderPicture(ByVal Picture As IPicture, ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, Optional ByVal CX As Long, Optional ByVal CY As Long, Optional ByRef RenderFlag As Integer)"}]},
+        {"name":"SelectObject","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SelectObject Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal hObject As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SelectObject Lib \"gdi32\" (ByVal hDC As Long, ByVal hObject As Long) As Long","returnType":"Long"}]},
+        {"name":"SendMessage","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SendMessage Lib \"user32\" Alias \"SendMessageW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByRef lParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SendMessage Lib \"user32\" Alias \"SendMessageW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long","returnType":"Long"}]},
+        {"name":"SetClipboardData","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetClipboardData Lib \"user32\" (ByVal wFormat As Long, ByVal hMem As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetClipboardData Lib \"user32\" (ByVal wFormat As Long, ByVal hMem As Long) As Long","returnType":"Long"}]},
+        {"name":"SetClipboardText","kind":"sub","vis":"public","signature":"Public Sub SetClipboardText(ByRef Text As String)"},
+        {"name":"SetFileAttributes","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetFileAttributes Lib \"kernel32\" Alias \"SetFileAttributesW\" (ByVal lpFileName As LongPtr, ByVal dwFileAttributes As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetFileAttributes Lib \"kernel32\" Alias \"SetFileAttributesW\" (ByVal lpFileName As Long, ByVal dwFileAttributes As Long) As Long"}]},
+        {"name":"StrToVar","kind":"function","vis":"public","signature":"Public Function StrToVar(ByVal Text As String) As Variant","returnType":"Variant"},
+        {"name":"SysReAllocString","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SysReAllocString Lib \"oleaut32\" (ByVal pbString As LongPtr, ByVal pszStrPtr As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SysReAllocString Lib \"oleaut32\" (ByVal pbString As Long, ByVal pszStrPtr As Long) As Long"}]},
+        {"name":"UTF16_To_UTF8","kind":"function","vis":"public","signature":"Public Function UTF16_To_UTF8(ByRef Source As String) As Byte()","returnType":"Byte()"},
+        {"name":"UTF32CodePoint_To_UTF16","kind":"function","vis":"public","signature":"Public Function UTF32CodePoint_To_UTF16(ByVal CodePoint As Long) As String","returnType":"String"},
+        {"name":"UTF8_To_UTF16","kind":"function","vis":"public","signature":"Public Function UTF8_To_UTF16(ByRef Source() As Byte) As String","returnType":"String"},
+        {"name":"UnsignedAdd","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function UnsignedAdd(ByVal Start As LongPtr, ByVal Incr As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function UnsignedAdd(ByVal Start As Long, ByVal Incr As Long) As Long","returnType":"Long"}]},
+        {"name":"UnsignedSub","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function UnsignedSub(ByVal Start As LongPtr, ByVal Decr As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function UnsignedSub(ByVal Start As Long, ByVal Decr As Long) As Long","returnType":"Long"}]},
+        {"name":"VarDecFromI8","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VarDecFromI8 Lib \"oleaut32\" (ByVal i64In As Currency, ByRef pDecOut As Variant) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VarDecFromI8 Lib \"oleaut32\" (ByVal i64In As Currency, ByRef pDecOut As Variant) As Long"}]},
+        {"name":"VarToStr","kind":"function","vis":"public","signature":"Public Function VarToStr(ByVal Bytes As Variant) As String","returnType":"String"},
+        {"name":"VerQueryValue","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VerQueryValue Lib \"Version\" Alias \"VerQueryValueW\" (ByVal lpBlock As LongPtr, ByVal lpSubBlock As LongPtr, ByRef lplpBuffer As LongPtr, ByRef puLen As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VerQueryValue Lib \"Version\" Alias \"VerQueryValueW\" (ByVal lpBlock As Long, ByVal lpSubBlock As Long, ByRef lplpBuffer As Long, ByRef puLen As Long) As Long"}]},
+        {"name":"WideCharToMultiByte","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function WideCharToMultiByte Lib \"kernel32\" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpWideCharStr As LongPtr, ByVal cchWideChar As Long, ByVal lpMultiByteStr As LongPtr, ByVal cbMultiByte As Long, ByVal lpDefaultChar As LongPtr, ByVal lpUsedDefaultChar As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function WideCharToMultiByte Lib \"kernel32\" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long, ByVal lpMultiByteStr As Long, ByVal cbMultiByte As Long, ByVal lpDefaultChar As Long, ByVal lpUsedDefaultChar As Long) As Long"}]},
+        {"name":"WinColor","kind":"function","vis":"public","returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Function WinColor(ByVal Color As Long, Optional ByVal hPal As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Function WinColor(ByVal Color As Long, Optional ByVal hPal As Long) As Long"}]},
+        {"name":"WindowFromPoint","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function WindowFromPoint Lib \"user32\" (ByVal XY As Currency) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function WindowFromPoint Lib \"user32\" (ByVal XY As Currency) As Long","returnType":"Long"}]},
+        {"name":"lstrcpy","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function lstrcpy Lib \"kernel32\" Alias \"lstrcpyW\" (ByVal lpString1 As LongPtr, ByVal lpString2 As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function lstrcpy Lib \"kernel32\" Alias \"lstrcpyW\" (ByVal lpString1 As Long, ByVal lpString2 As Long) As Long","returnType":"Long"}]},
+        {"name":"lstrlen","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function lstrlen Lib \"kernel32\" Alias \"lstrlenW\" (ByVal lpString As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function lstrlen Lib \"kernel32\" Alias \"lstrlenW\" (ByVal lpString As Long) As Long"}]}
+      ]
+    },
+    {
+      "name": "BITMAP",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type BITMAP",
+      "fields": [
+        {"name":"BMType","vis":"public","signature":"BMType As Long"},
+        {"name":"BMWidth","vis":"public","signature":"BMWidth As Long"},
+        {"name":"BMHeight","vis":"public","signature":"BMHeight As Long"},
+        {"name":"BMWidthBytes","vis":"public","signature":"BMWidthBytes As Long"},
+        {"name":"BMPlanes","vis":"public","signature":"BMPlanes As Integer"},
+        {"name":"BMBitsPixel","vis":"public","signature":"BMBitsPixel As Integer"},
+        {"name":"BMBits","vis":"public","signature":"BMBits As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "CLSID",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type CLSID",
+      "fields": [
+        {"name":"Data1","vis":"public","signature":"Data1 As Long"},
+        {"name":"Data2","vis":"public","signature":"Data2 As Integer"},
+        {"name":"Data3","vis":"public","signature":"Data3 As Integer"},
+        {"name":"Data4","vis":"public","signature":"Data4(0 To 7) As Byte"}
+      ],
+      "members": []
+    },
+    {
+      "name": "FILETIME",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type FILETIME",
+      "fields": [
+        {"name":"dwLowDateTime","vis":"public","signature":"dwLowDateTime As Long"},
+        {"name":"dwHighDateTime","vis":"public","signature":"dwHighDateTime As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "FLASHWINFO",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type FLASHWINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"hWnd","vis":"public","signature":"hWnd As LongPtr"},
+        {"name":"dwFlags","vis":"public","signature":"dwFlags As Long"},
+        {"name":"uCount","vis":"public","signature":"uCount As Long"},
+        {"name":"dwTimeout","vis":"public","signature":"dwTimeout As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "LOGFONT",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type LOGFONT",
+      "fields": [
+        {"name":"LFHeight","vis":"public","signature":"LFHeight As Long"},
+        {"name":"LFWidth","vis":"public","signature":"LFWidth As Long"},
+        {"name":"LFEscapement","vis":"public","signature":"LFEscapement As Long"},
+        {"name":"LFOrientation","vis":"public","signature":"LFOrientation As Long"},
+        {"name":"LFWeight","vis":"public","signature":"LFWeight As Long"},
+        {"name":"LFItalic","vis":"public","signature":"LFItalic As Byte"},
+        {"name":"LFUnderline","vis":"public","signature":"LFUnderline As Byte"},
+        {"name":"LFStrikeOut","vis":"public","signature":"LFStrikeOut As Byte"},
+        {"name":"LFCharset","vis":"public","signature":"LFCharset As Byte"},
+        {"name":"LFOutPrecision","vis":"public","signature":"LFOutPrecision As Byte"},
+        {"name":"LFClipPrecision","vis":"public","signature":"LFClipPrecision As Byte"},
+        {"name":"LFQuality","vis":"public","signature":"LFQuality As Byte"},
+        {"name":"LFPitchAndFamily","vis":"public","signature":"LFPitchAndFamily As Byte"},
+        {"name":"LFFaceName","vis":"public","signature":"LFFaceName(0 To ((LF_FACESIZE * 2) - 1)) As Byte"}
+      ],
+      "members": []
+    },
+    {
+      "name": "LongPtr",
+      "kind": "enum",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Enum LongPtr",
+      "values": [
+        {"name":"_"}
+      ]
+    },
+    {
+      "name": "MONITORINFO",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type MONITORINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"RCMonitor","vis":"public","signature":"RCMonitor As RECT"},
+        {"name":"RCWork","vis":"public","signature":"RCWork As RECT"},
+        {"name":"dwFlags","vis":"public","signature":"dwFlags As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "MSGBOXPARAMS",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type MSGBOXPARAMS",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"hWndOwner","vis":"public","signature":"hWndOwner As LongPtr"},
+        {"name":"hInstance","vis":"public","signature":"hInstance As LongPtr"},
+        {"name":"lpszText","vis":"public","signature":"lpszText As LongPtr"},
+        {"name":"lpszCaption","vis":"public","signature":"lpszCaption As LongPtr"},
+        {"name":"dwStyle","vis":"public","signature":"dwStyle As Long"},
+        {"name":"lpszIcon","vis":"public","signature":"lpszIcon As LongPtr"},
+        {"name":"dwContextHelpID","vis":"public","signature":"dwContextHelpID As LongPtr"},
+        {"name":"lpfnMsgBoxCallback","vis":"public","signature":"lpfnMsgBoxCallback As LongPtr"},
+        {"name":"dwLanguageId","vis":"public","signature":"dwLanguageId As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "PICTDESC",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type PICTDESC",
+      "fields": [
+        {"name":"cbSizeOfStruct","vis":"public","signature":"cbSizeOfStruct As Long"},
+        {"name":"PicType","vis":"public","signature":"PicType As Long"},
+        {"name":"hImage","vis":"public","signature":"hImage As LongPtr"},
+        {"name":"Data1","vis":"public","signature":"Data1 As Long"},
+        {"name":"Data2","vis":"public","signature":"Data2 As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "POINTAPI",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type POINTAPI",
+      "fields": [
+        {"name":"X","vis":"public","signature":"X As Long"},
+        {"name":"Y","vis":"public","signature":"Y As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "RECT",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type RECT",
+      "fields": [
+        {"name":"Left","vis":"public","signature":"Left As Long"},
+        {"name":"Top","vis":"public","signature":"Top As Long"},
+        {"name":"Right","vis":"public","signature":"Right As Long"},
+        {"name":"Bottom","vis":"public","signature":"Bottom As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "SAFEARRAY1D",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type SAFEARRAY1D",
+      "fields": [
+        {"name":"cDims","vis":"public","signature":"cDims As Integer"},
+        {"name":"fFeatures","vis":"public","signature":"fFeatures As Integer"},
+        {"name":"cbElements","vis":"public","signature":"cbElements As Long"},
+        {"name":"cLocks","vis":"public","signature":"cLocks As Long"},
+        {"name":"pvData","vis":"public","signature":"pvData As LongPtr"},
+        {"name":"Bounds","vis":"public","signature":"Bounds As SAFEARRAYBOUND"}
+      ],
+      "members": []
+    },
+    {
+      "name": "SAFEARRAYBOUND",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type SAFEARRAYBOUND",
+      "fields": [
+        {"name":"cElements","vis":"public","signature":"cElements As Long"},
+        {"name":"lLbound","vis":"public","signature":"lLbound As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "SYSTEMTIME",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type SYSTEMTIME",
+      "fields": [
+        {"name":"wYear","vis":"public","signature":"wYear As Integer"},
+        {"name":"wMonth","vis":"public","signature":"wMonth As Integer"},
+        {"name":"wDayOfWeek","vis":"public","signature":"wDayOfWeek As Integer"},
+        {"name":"wDay","vis":"public","signature":"wDay As Integer"},
+        {"name":"wHour","vis":"public","signature":"wHour As Integer"},
+        {"name":"wMinute","vis":"public","signature":"wMinute As Integer"},
+        {"name":"wSecond","vis":"public","signature":"wSecond As Integer"},
+        {"name":"wMilliseconds","vis":"public","signature":"wMilliseconds As Integer"}
+      ],
+      "members": []
+    },
+    {
+      "name": "VS_FIXEDFILEINFO",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type VS_FIXEDFILEINFO",
+      "fields": [
+        {"name":"dwSignature","vis":"public","signature":"dwSignature As Long"},
+        {"name":"dwStrucVersionLo","vis":"public","signature":"dwStrucVersionLo As Integer"},
+        {"name":"dwStrucVersionHi","vis":"public","signature":"dwStrucVersionHi As Integer"},
+        {"name":"dwFileVersionMSLo","vis":"public","signature":"dwFileVersionMSLo As Integer"},
+        {"name":"dwFileVersionMSHi","vis":"public","signature":"dwFileVersionMSHi As Integer"},
+        {"name":"dwFileVersionLSLo","vis":"public","signature":"dwFileVersionLSLo As Integer"},
+        {"name":"dwFileVersionLSHi","vis":"public","signature":"dwFileVersionLSHi As Integer"},
+        {"name":"dwProductVersionMSLo","vis":"public","signature":"dwProductVersionMSLo As Integer"},
+        {"name":"dwProductVersionMSHi","vis":"public","signature":"dwProductVersionMSHi As Integer"},
+        {"name":"dwProductVersionLSLo","vis":"public","signature":"dwProductVersionLSLo As Integer"},
+        {"name":"dwProductVersionLSHi","vis":"public","signature":"dwProductVersionLSHi As Integer"},
+        {"name":"dwFileFlagsMask","vis":"public","signature":"dwFileFlagsMask As Long"},
+        {"name":"dwFileFlags","vis":"public","signature":"dwFileFlags As Long"},
+        {"name":"dwFileOS","vis":"public","signature":"dwFileOS As Long"},
+        {"name":"dwFileType","vis":"public","signature":"dwFileType As Long"},
+        {"name":"dwFileSubtype","vis":"public","signature":"dwFileSubtype As Long"},
+        {"name":"dwFileDateMS","vis":"public","signature":"dwFileDateMS As Long"},
+        {"name":"dwFileDateLS","vis":"public","signature":"dwFileDateLS As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "WIN32_FILE_ATTRIBUTE_DATA",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type WIN32_FILE_ATTRIBUTE_DATA",
+      "fields": [
+        {"name":"dwFileAttributes","vis":"public","signature":"dwFileAttributes As Long"},
+        {"name":"FTCreationTime","vis":"public","signature":"FTCreationTime As FILETIME"},
+        {"name":"FTLastAccessTime","vis":"public","signature":"FTLastAccessTime As FILETIME"},
+        {"name":"FTLastWriteTime","vis":"public","signature":"FTLastWriteTime As FILETIME"},
+        {"name":"nFileSizeHigh","vis":"public","signature":"nFileSizeHigh As Long"},
+        {"name":"nFileSizeLow","vis":"public","signature":"nFileSizeLow As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "WIN32_FIND_DATA",
+      "kind": "type",
+      "in": "Common",
+      "vis": "private",
+      "public": false,
+      "file": "Common/Common.bas",
+      "signature": "Private Type WIN32_FIND_DATA",
+      "fields": [
+        {"name":"dwFileAttributes","vis":"public","signature":"dwFileAttributes As Long"},
+        {"name":"FTCreationTime","vis":"public","signature":"FTCreationTime As FILETIME"},
+        {"name":"FTLastAccessTime","vis":"public","signature":"FTLastAccessTime As FILETIME"},
+        {"name":"FTLastWriteTime","vis":"public","signature":"FTLastWriteTime As FILETIME"},
+        {"name":"nFileSizeHigh","vis":"public","signature":"nFileSizeHigh As Long"},
+        {"name":"nFileSizeLow","vis":"public","signature":"nFileSizeLow As Long"},
+        {"name":"dwReserved0","vis":"public","signature":"dwReserved0 As Long"},
+        {"name":"dwReserved1","vis":"public","signature":"dwReserved1 As Long"},
+        {"name":"lpszFileName","vis":"public","signature":"lpszFileName(0 To ((MAX_PATH * 2) - 1)) As Byte"},
+        {"name":"lpszAlternateFileName","vis":"public","signature":"lpszAlternateFileName(0 To ((14 * 2) - 1)) As Byte"}
+      ],
+      "members": []
+    },
+    {
+      "name": "IVBFlexDataSource",
+      "kind": "class",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/IVBFlexDataSource.cls",
+      "signature": "Class IVBFlexDataSource",
+      "members": [
+        {"name":"GetData","kind":"function","vis":"public","signature":"Public Function GetData(ByVal Field As Long, ByVal Record As Long) As String","returnType":"String"},
+        {"name":"GetFieldCount","kind":"function","vis":"public","signature":"Public Function GetFieldCount() As Long","returnType":"Long"},
+        {"name":"GetFieldName","kind":"function","vis":"public","signature":"Public Function GetFieldName(ByVal Field As Long) As String","returnType":"String"},
+        {"name":"GetRecordCount","kind":"function","vis":"public","signature":"Public Function GetRecordCount() As Long","returnType":"Long"},
+        {"name":"SetData","kind":"sub","vis":"public","signature":"Public Sub SetData(ByVal Field As Long, ByVal Record As Long, ByVal NewData As String)"}
+      ]
+    },
+    {
+      "name": "IVBFlexDataSource2",
+      "kind": "class",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/IVBFlexDataSource2.cls",
+      "signature": "Class IVBFlexDataSource2",
+      "members": [
+        {"name":"GetChecked","kind":"function","vis":"public","signature":"Public Function GetChecked(ByVal Field As Long, ByVal Record As Long) As Integer","returnType":"Integer"},
+        {"name":"GetFlags","kind":"function","vis":"public","signature":"Public Function GetFlags() As Long","returnType":"Long"},
+        {"name":"GetToolTipText","kind":"function","vis":"public","signature":"Public Function GetToolTipText(ByVal Field As Long, ByVal Record As Long) As String","returnType":"String"},
+        {"name":"SetChecked","kind":"sub","vis":"public","signature":"Public Sub SetChecked(ByVal Field As Long, ByVal Record As Long, ByVal NewValue As Integer)"},
+        {"name":"SetToolTipText","kind":"sub","vis":"public","signature":"Public Sub SetToolTipText(ByVal Field As Long, ByVal Record As Long, ByVal NewValue As String)"}
+      ]
+    },
+    {
+      "name": "VBFlexGrid",
+      "kind": "class",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Class VBFlexGrid",
+      "implements": ["OLEGuids.IObjectSafety","OLEGuids.IOleInPlaceActiveObjectVB","OLEGuids.IOleControlVB"],
+      "attrs": [{"name":"FormDesignerId","args":"\"5AFBDBBB-68EC-4BB6-82D6-2FE19D84CF83\""},{"name":"ClassId","args":"\"1B38C5B1-9CB0-426D-ADB6-A90DD23DB28F\""},{"name":"InterfaceId","args":"\"EC76E02D-615E-4D85-8998-1E660D3B894B\""},{"name":"EventInterfaceId","args":"\"C05C736C-1908-46FD-B1A3-7E75D958180D\""},{"name":"COMControl"}],
+      "members": [
+        {"name":"AddItem","kind":"sub","vis":"public","signature":"Public Sub AddItem(ByVal Item As String, Optional ByVal Index As Variant)"},
+        {"name":"AddRedo","kind":"sub","vis":"private","signature":"Private Sub AddRedo(ByRef UndoRedoEntry As TUNDOREDOENTRY)"},
+        {"name":"AddSelectedRow","kind":"function","vis":"private","signature":"Private Function AddSelectedRow() As Boolean","returnType":"Boolean"},
+        {"name":"AddSelectedRows","kind":"function","vis":"private","signature":"Private Function AddSelectedRows() As Boolean","returnType":"Boolean"},
+        {"name":"AddUndo","kind":"sub","vis":"private","signature":"Private Sub AddUndo(ByRef UndoRedoEntry As TUNDOREDOENTRY)"},
+        {"name":"AdjustRectColDividerFrozenSpacing","kind":"sub","vis":"private","signature":"Private Sub AdjustRectColDividerFrozenSpacing(ByRef RC As RECT, ByVal iCol As Long, ByVal Adjacent As Boolean)"},
+        {"name":"AdjustRectColDividerSpacing","kind":"sub","vis":"private","signature":"Private Sub AdjustRectColDividerSpacing(ByRef RC As RECT, ByVal iCol As Long)"},
+        {"name":"AdjustRectRowDividerFrozenSpacing","kind":"sub","vis":"private","signature":"Private Sub AdjustRectRowDividerFrozenSpacing(ByRef RC As RECT, ByVal iRow As Long, ByVal Adjacent As Boolean)"},
+        {"name":"AdjustRectRowDividerSpacing","kind":"sub","vis":"private","signature":"Private Sub AdjustRectRowDividerSpacing(ByRef RC As RECT, ByVal iRow As Long)"},
+        {"name":"AfterClipboardAction","kind":"event","vis":"public","signature":"Public Event AfterClipboardAction(ByVal Action As FlexClipboardActionConstants)"},
+        {"name":"AfterEdit","kind":"event","vis":"public","signature":"Public Event AfterEdit(ByVal Row As Long, ByVal Col As Long, ByVal Changed As Boolean)"},
+        {"name":"AfterUserFreeze","kind":"event","vis":"public","signature":"Public Event AfterUserFreeze()"},
+        {"name":"AfterUserResize","kind":"event","vis":"public","signature":"Public Event AfterUserResize(ByVal Row As Long, ByVal Col As Long, ByRef NewSize As Long)"},
+        {"name":"AfterUserResizeEnd","kind":"event","vis":"public","signature":"Public Event AfterUserResizeEnd(ByVal Row As Long, ByVal Col As Long)"},
+        {"name":"Align","kind":"property","vis":"public","signature":"Public Property Get Align() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"Align","kind":"property","vis":"public","signature":"Public Property Let Align(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"AllocCellFmtg","kind":"sub","vis":"private","signature":"Private Sub AllocCellFmtg(ByRef lpFmtg As LongPtr)"},
+        {"name":"AllocCellTag","kind":"sub","vis":"private","signature":"Private Sub AllocCellTag(ByRef lpTag As LongPtr)"},
+        {"name":"AllowBigSelection","kind":"property","vis":"public","signature":"Public Property Get AllowBigSelection() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowBigSelection","kind":"property","vis":"public","signature":"Public Property Let AllowBigSelection(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowDropFiles","kind":"property","vis":"public","signature":"Public Property Get AllowDropFiles() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowDropFiles","kind":"property","vis":"public","signature":"Public Property Let AllowDropFiles(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowIncrementalSearch","kind":"property","vis":"public","signature":"Public Property Get AllowIncrementalSearch() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowIncrementalSearch","kind":"property","vis":"public","signature":"Public Property Let AllowIncrementalSearch(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowMultiSelection","kind":"property","vis":"public","signature":"Public Property Get AllowMultiSelection() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowMultiSelection","kind":"property","vis":"public","signature":"Public Property Let AllowMultiSelection(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowReaderMode","kind":"property","vis":"public","signature":"Public Property Get AllowReaderMode() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowReaderMode","kind":"property","vis":"public","signature":"Public Property Let AllowReaderMode(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowScrollLock","kind":"property","vis":"public","signature":"Public Property Get AllowScrollLock() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowScrollLock","kind":"property","vis":"public","signature":"Public Property Let AllowScrollLock(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowSelection","kind":"property","vis":"public","signature":"Public Property Get AllowSelection() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowSelection","kind":"property","vis":"public","signature":"Public Property Let AllowSelection(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowUserEditing","kind":"property","vis":"public","signature":"Public Property Get AllowUserEditing() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AllowUserEditing","kind":"property","vis":"public","signature":"Public Property Let AllowUserEditing(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AllowUserFreezing","kind":"property","vis":"public","signature":"Public Property Get AllowUserFreezing() As FlexAllowUserFreezingConstants","returnType":"FlexAllowUserFreezingConstants","accessor":"Get"},
+        {"name":"AllowUserFreezing","kind":"property","vis":"public","signature":"Public Property Let AllowUserFreezing(ByVal Value As FlexAllowUserFreezingConstants)","accessor":"Let"},
+        {"name":"AllowUserResizing","kind":"property","vis":"public","signature":"Public Property Get AllowUserResizing() As FlexAllowUserResizingConstants","returnType":"FlexAllowUserResizingConstants","accessor":"Get"},
+        {"name":"AllowUserResizing","kind":"property","vis":"public","signature":"Public Property Let AllowUserResizing(ByVal Value As FlexAllowUserResizingConstants)","accessor":"Let"},
+        {"name":"AlwaysAllowComboCues","kind":"property","vis":"public","signature":"Public Property Get AlwaysAllowComboCues() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AlwaysAllowComboCues","kind":"property","vis":"public","signature":"Public Property Let AlwaysAllowComboCues(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AutoClipboard","kind":"property","vis":"public","signature":"Public Property Get AutoClipboard() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"AutoClipboard","kind":"property","vis":"public","signature":"Public Property Let AutoClipboard(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"AutoSize","kind":"sub","vis":"public","signature":"Public Sub AutoSize(ByVal RowOrCol1 As Long, Optional ByVal RowOrCol2 As Long = -1, Optional ByVal Mode As FlexAutoSizeModeConstants, Optional ByVal Scope As FlexAutoSizeScopeConstants, Optional ByVal Equal As Boolean, Optional ByVal ExtraSpace As Long, Optional ByVal ExcludeHidden As Boolean)"},
+        {"name":"BackColor","kind":"property","vis":"public","signature":"Public Property Get BackColor() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"BackColor","kind":"property","vis":"public","signature":"Public Property Let BackColor(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"BackColorAlt","kind":"property","vis":"public","signature":"Public Property Get BackColorAlt() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"BackColorAlt","kind":"property","vis":"public","signature":"Public Property Let BackColorAlt(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"BackColorBkg","kind":"property","vis":"public","signature":"Public Property Get BackColorBkg() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"BackColorBkg","kind":"property","vis":"public","signature":"Public Property Let BackColorBkg(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"BackColorFixed","kind":"property","vis":"public","signature":"Public Property Get BackColorFixed() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"BackColorFixed","kind":"property","vis":"public","signature":"Public Property Let BackColorFixed(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"BackColorSel","kind":"property","vis":"public","signature":"Public Property Get BackColorSel() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"BackColorSel","kind":"property","vis":"public","signature":"Public Property Let BackColorSel(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"BeforeClipboardAction","kind":"event","vis":"public","signature":"Public Event BeforeClipboardAction(ByVal Action As FlexClipboardActionConstants, ByRef Text As String, ByRef Cancel As Boolean)"},
+        {"name":"BeforeEdit","kind":"event","vis":"public","signature":"Public Event BeforeEdit(ByRef Row As Long, ByRef Col As Long, ByVal Reason As FlexEditReasonConstants, ByRef Cancel As Boolean)"},
+        {"name":"BeforeMouseDown","kind":"event","vis":"public","signature":"Public Event BeforeMouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single, ByRef Cancel As Boolean)"},
+        {"name":"BeforeRowColChange","kind":"event","vis":"public","signature":"Public Event BeforeRowColChange(ByVal NewRow As Long, ByVal NewCol As Long, ByRef Cancel As Boolean)"},
+        {"name":"BeforeSelChange","kind":"event","vis":"public","signature":"Public Event BeforeSelChange(ByVal NewRowSel As Long, ByVal NewColSel As Long, ByRef Cancel As Boolean)"},
+        {"name":"BeforeUserResize","kind":"event","vis":"public","signature":"Public Event BeforeUserResize(ByVal Row As Long, ByVal Col As Long, ByRef Cancel As Boolean)"},
+        {"name":"BeginIncrementalSearch","kind":"event","vis":"public","signature":"Public Event BeginIncrementalSearch(ByRef Row As Long, ByRef Col As Long, ByRef CaseSensitive As Boolean, ByRef NoWrap As Boolean, ByRef Direction As FlexFindDirectionConstants, ByRef Cancel As Boolean)"},
+        {"name":"BeginPaint","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function BeginPaint Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpPaint As PAINTSTRUCT) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function BeginPaint Lib \"user32\" (ByVal hWnd As Long, ByRef lpPaint As PAINTSTRUCT) As Long","returnType":"Long"}]},
+        {"name":"BestFitMode","kind":"property","vis":"public","signature":"Public Property Get BestFitMode() As FlexBestFitModeConstants","returnType":"FlexBestFitModeConstants","accessor":"Get"},
+        {"name":"BestFitMode","kind":"property","vis":"public","signature":"Public Property Let BestFitMode(ByVal Value As FlexBestFitModeConstants)","accessor":"Let"},
+        {"name":"BitBlt","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function BitBlt Lib \"gdi32\" (ByVal hDestDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As LongPtr, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function BitBlt Lib \"gdi32\" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long"}]},
+        {"name":"BorderStyle","kind":"property","vis":"public","signature":"Public Property Get BorderStyle() As FlexBorderStyleConstants","returnType":"FlexBorderStyleConstants","accessor":"Get"},
+        {"name":"BorderStyle","kind":"property","vis":"public","signature":"Public Property Let BorderStyle(ByVal Value As FlexBorderStyleConstants)","accessor":"Let"},
+        {"name":"BottomRow","kind":"property","vis":"public","signature":"Public Property Get BottomRow(Optional ByVal Visibility As FlexVisibilityConstants) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"BubbleSortIter","kind":"sub","vis":"private","signature":"Private Sub BubbleSortIter(ByVal First As Long, ByVal Last As Long, ByVal Col As Long, ByRef Data() As TCOLS)"},
+        {"name":"CDDS_PREPAINT","kind":"const","vis":"private","signature":"Private Const CDDS_PREPAINT As Long = &H1"},
+        {"name":"CELL_TEXT_HEIGHT_PADDING_DIP","kind":"const","vis":"private","signature":"Private Const CELL_TEXT_HEIGHT_PADDING_DIP As Long = 1"},
+        {"name":"CELL_TEXT_WIDTH_PADDING_DIP","kind":"const","vis":"private","signature":"Private Const CELL_TEXT_WIDTH_PADDING_DIP As Long = 3"},
+        {"name":"CFM_ALIGNMENT","kind":"const","vis":"private","signature":"Private Const CFM_ALIGNMENT As Long = &H2"},
+        {"name":"CFM_BACKCOLOR","kind":"const","vis":"private","signature":"Private Const CFM_BACKCOLOR As Long = &H20"},
+        {"name":"CFM_CHECKED","kind":"const","vis":"private","signature":"Private Const CFM_CHECKED As Long = &H200"},
+        {"name":"CFM_COMBOCUE","kind":"const","vis":"private","signature":"Private Const CFM_COMBOCUE As Long = &H100"},
+        {"name":"CFM_FLOODCOLOR","kind":"const","vis":"private","signature":"Private Const CFM_FLOODCOLOR As Long = &H800"},
+        {"name":"CFM_FLOODPERCENT","kind":"const","vis":"private","signature":"Private Const CFM_FLOODPERCENT As Long = &H400"},
+        {"name":"CFM_FONT","kind":"const","vis":"private","signature":"Private Const CFM_FONT As Long = &H1000"},
+        {"name":"CFM_FORECOLOR","kind":"const","vis":"private","signature":"Private Const CFM_FORECOLOR As Long = &H40"},
+        {"name":"CFM_PICTURE","kind":"const","vis":"private","signature":"Private Const CFM_PICTURE As Long = &H4"},
+        {"name":"CFM_PICTUREALIGNMENT","kind":"const","vis":"private","signature":"Private Const CFM_PICTUREALIGNMENT As Long = &H10"},
+        {"name":"CFM_PICTURERENDERFLAG","kind":"const","vis":"private","signature":"Private Const CFM_PICTURERENDERFLAG As Long = &H8"},
+        {"name":"CFM_TEXTSTYLE","kind":"const","vis":"private","signature":"Private Const CFM_TEXTSTYLE As Long = &H1"},
+        {"name":"CFM_TOOLTIPTEXT","kind":"const","vis":"private","signature":"Private Const CFM_TOOLTIPTEXT As Long = &H80"},
+        {"name":"CLIS_CHECKBOXES","kind":"const","vis":"private","signature":"Private Const CLIS_CHECKBOXES As Long = &H10"},
+        {"name":"CLIS_CHECKBOXESHITTESTINVISIBLE","kind":"const","vis":"private","signature":"Private Const CLIS_CHECKBOXESHITTESTINVISIBLE As Long = &H20"},
+        {"name":"CLIS_CHECKBOXESHITTESTINVISIBLEDISABLEDONLY","kind":"const","vis":"private","signature":"Private Const CLIS_CHECKBOXESHITTESTINVISIBLEDISABLEDONLY As Long = &H40"},
+        {"name":"CLIS_CHECKBOXESHITTESTINVISIBLEFIXED","kind":"const","vis":"private","signature":"Private Const CLIS_CHECKBOXESHITTESTINVISIBLEFIXED As Long = &H80"},
+        {"name":"CLIS_CHECKBOXESHITTESTINVISIBLEFIXEDDISABLEDONLY","kind":"const","vis":"private","signature":"Private Const CLIS_CHECKBOXESHITTESTINVISIBLEFIXEDDISABLEDONLY As Long = &H100"},
+        {"name":"CLIS_HIDDEN","kind":"const","vis":"private","signature":"Private Const CLIS_HIDDEN As Long = &H1"},
+        {"name":"CLIS_MERGE","kind":"const","vis":"private","signature":"Private Const CLIS_MERGE As Long = &H2"},
+        {"name":"CLIS_NOSIZING","kind":"const","vis":"private","signature":"Private Const CLIS_NOSIZING As Long = &H8"},
+        {"name":"CLIS_NULLABLE","kind":"const","vis":"private","signature":"Private Const CLIS_NULLABLE As Long = &H4"},
+        {"name":"CLIS_TEXTINDENT","kind":"const","vis":"private","signature":"Private Const CLIS_TEXTINDENT As Long = &H200"},
+        {"name":"COLINFO_WIDTH_SPACING_DIP","kind":"const","vis":"private","signature":"Private Const COLINFO_WIDTH_SPACING_DIP As Long = 6"},
+        {"name":"COLOR_BTNFACE","kind":"const","vis":"private","signature":"Private Const COLOR_BTNFACE As Long = 15"},
+        {"name":"COLOR_BTNTEXT","kind":"const","vis":"private","signature":"Private Const COLOR_BTNTEXT As Long = 18"},
+        {"name":"COLOR_GRAYTEXT","kind":"const","vis":"private","signature":"Private Const COLOR_GRAYTEXT As Long = 17"},
+        {"name":"COLOR_HIGHLIGHT","kind":"const","vis":"private","signature":"Private Const COLOR_HIGHLIGHT As Long = 13"},
+        {"name":"COLOR_HIGHLIGHTTEXT","kind":"const","vis":"private","signature":"Private Const COLOR_HIGHLIGHTTEXT As Long = 14"},
+        {"name":"COLOR_HOTLIGHT","kind":"const","vis":"private","signature":"Private Const COLOR_HOTLIGHT As Long = 26"},
+        {"name":"COLOR_WINDOW","kind":"const","vis":"private","signature":"Private Const COLOR_WINDOW As Long = 5"},
+        {"name":"COLOR_WINDOWTEXT","kind":"const","vis":"private","signature":"Private Const COLOR_WINDOWTEXT As Long = 8"},
+        {"name":"CalcHash","kind":"function","vis":"private","signature":"Private Function CalcHash(ByRef Key As String, Optional ByVal CaseSensitive As Boolean) As Long","returnType":"Long"},
+        {"name":"CanPaste","kind":"function","vis":"public","signature":"Public Function CanPaste() As Boolean","returnType":"Boolean"},
+        {"name":"CanRedo","kind":"function","vis":"public","signature":"Public Function CanRedo() As Boolean","returnType":"Boolean"},
+        {"name":"CanUndo","kind":"function","vis":"public","signature":"Public Function CanUndo() As Boolean","returnType":"Boolean"},
+        {"name":"CancelEdit","kind":"function","vis":"public","signature":"Public Function CancelEdit() As Boolean","returnType":"Boolean"},
+        {"name":"CancelIncrementalSearch","kind":"sub","vis":"private","signature":"Private Sub CancelIncrementalSearch(Optional ByVal NoRedraw As Boolean)"},
+        {"name":"CancelScrollTip","kind":"sub","vis":"private","signature":"Private Sub CancelScrollTip()"},
+        {"name":"Cell","kind":"property","vis":"public","signature":"Public Property Get Cell(ByVal Setting As FlexCellSettings, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal RowSel As Long = -1, Optional ByVal ColSel As Long = -1) As Variant","returnType":"Variant","accessor":"Get"},
+        {"name":"Cell","kind":"property","vis":"public","signature":"Public Property Let Cell(ByVal Setting As FlexCellSettings, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal RowSel As Long = -1, Optional ByVal ColSel As Long = -1, ByVal Value As Variant)","accessor":"Let"},
+        {"name":"Cell","kind":"property","vis":"public","signature":"Public Property Set Cell(ByVal Setting As FlexCellSettings, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal RowSel As Long = -1, Optional ByVal ColSel As Long = -1, ByVal Value As Variant)","accessor":"Set"},
+        {"name":"CellAlignment","kind":"property","vis":"public","signature":"Public Property Get CellAlignment() As FlexAlignmentConstants","returnType":"FlexAlignmentConstants","accessor":"Get"},
+        {"name":"CellAlignment","kind":"property","vis":"public","signature":"Public Property Let CellAlignment(ByVal Value As FlexAlignmentConstants)","accessor":"Let"},
+        {"name":"CellBackColor","kind":"property","vis":"public","signature":"Public Property Get CellBackColor() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CellBackColor","kind":"property","vis":"public","signature":"Public Property Let CellBackColor(ByVal Value As Long)","accessor":"Let"},
+        {"name":"CellBeforeCheck","kind":"event","vis":"public","signature":"Public Event CellBeforeCheck(ByVal Row As Long, ByVal Col As Long, ByVal Reason As FlexCellCheckReasonConstants, ByRef Cancel As Boolean)"},
+        {"name":"CellCheck","kind":"event","vis":"public","signature":"Public Event CellCheck(ByVal Row As Long, ByVal Col As Long)"},
+        {"name":"CellChecked","kind":"property","vis":"public","signature":"Public Property Get CellChecked() As FlexCheckBoxConstants","returnType":"FlexCheckBoxConstants","accessor":"Get"},
+        {"name":"CellChecked","kind":"property","vis":"public","signature":"Public Property Let CellChecked(ByVal Value As FlexCheckBoxConstants)","accessor":"Let"},
+        {"name":"CellClick","kind":"event","vis":"public","signature":"Public Event CellClick(ByVal Row As Long, ByVal Col As Long, ByVal Button As Integer)"},
+        {"name":"CellComboCue","kind":"property","vis":"public","signature":"Public Property Get CellComboCue() As FlexComboCueConstants","returnType":"FlexComboCueConstants","accessor":"Get"},
+        {"name":"CellComboCue","kind":"property","vis":"public","signature":"Public Property Let CellComboCue(ByVal Value As FlexComboCueConstants)","accessor":"Let"},
+        {"name":"CellDblClick","kind":"event","vis":"public","signature":"Public Event CellDblClick(ByVal Row As Long, ByVal Col As Long, ByVal Button As Integer)"},
+        {"name":"CellEnsureVisible","kind":"sub","vis":"public","signature":"Public Sub CellEnsureVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1)"},
+        {"name":"CellFloodColor","kind":"property","vis":"public","signature":"Public Property Get CellFloodColor() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CellFloodColor","kind":"property","vis":"public","signature":"Public Property Let CellFloodColor(ByVal Value As Long)","accessor":"Let"},
+        {"name":"CellFloodPercent","kind":"property","vis":"public","signature":"Public Property Get CellFloodPercent() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"CellFloodPercent","kind":"property","vis":"public","signature":"Public Property Let CellFloodPercent(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"CellFontBold","kind":"property","vis":"public","signature":"Public Property Get CellFontBold() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"CellFontBold","kind":"property","vis":"public","signature":"Public Property Let CellFontBold(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"CellFontCharset","kind":"property","vis":"public","signature":"Public Property Get CellFontCharset() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"CellFontCharset","kind":"property","vis":"public","signature":"Public Property Let CellFontCharset(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"CellFontItalic","kind":"property","vis":"public","signature":"Public Property Get CellFontItalic() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"CellFontItalic","kind":"property","vis":"public","signature":"Public Property Let CellFontItalic(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"CellFontName","kind":"property","vis":"public","signature":"Public Property Get CellFontName() As String","returnType":"String","accessor":"Get"},
+        {"name":"CellFontName","kind":"property","vis":"public","signature":"Public Property Let CellFontName(ByVal Value As String)","accessor":"Let"},
+        {"name":"CellFontSize","kind":"property","vis":"public","signature":"Public Property Get CellFontSize() As Single","returnType":"Single","accessor":"Get"},
+        {"name":"CellFontSize","kind":"property","vis":"public","signature":"Public Property Let CellFontSize(ByVal Value As Single)","accessor":"Let"},
+        {"name":"CellFontStrikeThrough","kind":"property","vis":"public","signature":"Public Property Get CellFontStrikeThrough() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"CellFontStrikeThrough","kind":"property","vis":"public","signature":"Public Property Let CellFontStrikeThrough(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"CellFontUnderline","kind":"property","vis":"public","signature":"Public Property Get CellFontUnderline() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"CellFontUnderline","kind":"property","vis":"public","signature":"Public Property Let CellFontUnderline(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"CellForeColor","kind":"property","vis":"public","signature":"Public Property Get CellForeColor() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CellForeColor","kind":"property","vis":"public","signature":"Public Property Let CellForeColor(ByVal Value As Long)","accessor":"Let"},
+        {"name":"CellHasCustomFormatting","kind":"property","vis":"public","signature":"Public Property Get CellHasCustomFormatting() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"CellHasCustomFormatting","kind":"property","vis":"public","signature":"Public Property Let CellHasCustomFormatting(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"CellHasTag","kind":"property","vis":"public","signature":"Public Property Get CellHasTag() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"CellHasTag","kind":"property","vis":"public","signature":"Public Property Let CellHasTag(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"CellHeight","kind":"property","vis":"public","signature":"Public Property Get CellHeight() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CellImageCallback","kind":"event","vis":"public","signature":"Public Event CellImageCallback(ByVal Row As Long, ByVal Col As Long, ByRef Image As Variant, ByRef Handled As Boolean)"},
+        {"name":"CellLeft","kind":"property","vis":"public","signature":"Public Property Get CellLeft() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CellPicture","kind":"property","vis":"public","signature":"Public Property Get CellPicture() As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"CellPicture","kind":"property","vis":"public","signature":"Public Property Let CellPicture(ByVal Value As IPictureDisp)","accessor":"Let"},
+        {"name":"CellPicture","kind":"property","vis":"public","signature":"Public Property Set CellPicture(ByVal Value As IPictureDisp)","accessor":"Set"},
+        {"name":"CellPictureAlignment","kind":"property","vis":"public","signature":"Public Property Get CellPictureAlignment() As FlexPictureAlignmentConstants","returnType":"FlexPictureAlignmentConstants","accessor":"Get"},
+        {"name":"CellPictureAlignment","kind":"property","vis":"public","signature":"Public Property Let CellPictureAlignment(ByVal Value As FlexPictureAlignmentConstants)","accessor":"Let"},
+        {"name":"CellTag","kind":"property","vis":"public","signature":"Public Property Get CellTag() As Variant","returnType":"Variant","accessor":"Get"},
+        {"name":"CellTag","kind":"property","vis":"public","signature":"Public Property Let CellTag(ByVal Value As Variant)","accessor":"Let"},
+        {"name":"CellTag","kind":"property","vis":"public","signature":"Public Property Set CellTag(ByVal Value As Variant)","accessor":"Set"},
+        {"name":"CellTextDisplay","kind":"function","vis":"private","signature":"Private Function CellTextDisplay() As String","returnType":"String"},
+        {"name":"CellTextHidden","kind":"function","vis":"private","signature":"Private Function CellTextHidden() As Boolean","returnType":"Boolean"},
+        {"name":"CellTextIndent","kind":"event","vis":"public","signature":"Public Event CellTextIndent(ByVal Row As Long, ByVal Col As Long, ByRef Left As Long, ByRef Right As Long)"},
+        {"name":"CellTextStyle","kind":"property","vis":"public","signature":"Public Property Get CellTextStyle() As FlexTextStyleConstants","returnType":"FlexTextStyleConstants","accessor":"Get"},
+        {"name":"CellTextStyle","kind":"property","vis":"public","signature":"Public Property Let CellTextStyle(ByVal Value As FlexTextStyleConstants)","accessor":"Let"},
+        {"name":"CellToolTipText","kind":"property","vis":"public","signature":"Public Property Get CellToolTipText() As String","returnType":"String","accessor":"Get"},
+        {"name":"CellToolTipText","kind":"property","vis":"public","signature":"Public Property Let CellToolTipText(ByVal Value As String)","accessor":"Let"},
+        {"name":"CellTop","kind":"property","vis":"public","signature":"Public Property Get CellTop() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CellWidth","kind":"property","vis":"public","signature":"Public Property Get CellWidth() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"CheckBoxDrawMode","kind":"property","vis":"public","signature":"Public Property Get CheckBoxDrawMode() As FlexCheckBoxDrawModeConstants","returnType":"FlexCheckBoxDrawModeConstants","accessor":"Get"},
+        {"name":"CheckBoxDrawMode","kind":"property","vis":"public","signature":"Public Property Let CheckBoxDrawMode(ByVal Value As FlexCheckBoxDrawModeConstants)","accessor":"Let"},
+        {"name":"CheckBoxOwnerDraw","kind":"event","vis":"public","signature":"Public Event CheckBoxOwnerDraw(ByVal Row As Long, ByVal Col As Long, ByRef Cancel As Boolean, ByVal ItemState As Long, ByVal hDC As Long, ByVal Left As Long, ByVal Top As Long, ByVal Right As Long, ByVal Bottom As Long)"},
+        {"name":"CheckLeftCol","kind":"sub","vis":"private","signature":"Private Sub CheckLeftCol(ByRef LeftCol As Long)"},
+        {"name":"CheckToolTipRowCol","kind":"sub","vis":"private","signature":"Private Sub CheckToolTipRowCol(ByVal X As Long, ByVal Y As Long)"},
+        {"name":"CheckTopRow","kind":"sub","vis":"private","signature":"Private Sub CheckTopRow(ByRef TopRow As Long)"},
+        {"name":"ChildWindowFromPoint","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ChildWindowFromPoint Lib \"user32\" (ByVal hWndParent As LongPtr, ByVal XY As Currency) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function ChildWindowFromPoint Lib \"user32\" (ByVal hWndParent As Long, ByVal XY As Currency) As Long","returnType":"Long"}]},
+        {"name":"Clear","kind":"sub","vis":"public","signature":"Public Sub Clear(Optional ByVal Where As FlexClearWhereConstants, Optional ByVal What As FlexClearWhatConstants)"},
+        {"name":"ClearColInfo","kind":"sub","vis":"public","signature":"Public Sub ClearColInfo(ByVal Index As Long)"},
+        {"name":"ClearRowInfo","kind":"sub","vis":"public","signature":"Public Sub ClearRowInfo(ByVal Index As Long)"},
+        {"name":"ClearSelectedRows","kind":"function","vis":"private","signature":"Private Function ClearSelectedRows() As Boolean","returnType":"Boolean"},
+        {"name":"Click","kind":"event","vis":"public","signature":"Public Event Click()"},
+        {"name":"ClientHeight","kind":"property","vis":"public","signature":"Public Property Get ClientHeight() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ClientLeft","kind":"property","vis":"public","signature":"Public Property Get ClientLeft() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ClientToScreen","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ClientToScreen Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpPoint As POINTAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ClientToScreen Lib \"user32\" (ByVal hWnd As Long, ByRef lpPoint As POINTAPI) As Long"}]},
+        {"name":"ClientTop","kind":"property","vis":"public","signature":"Public Property Get ClientTop() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ClientWidth","kind":"property","vis":"public","signature":"Public Property Get ClientWidth() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"Clip","kind":"property","vis":"public","signature":"Public Property Get Clip() As String","returnType":"String","accessor":"Get"},
+        {"name":"Clip","kind":"property","vis":"public","signature":"Public Property Let Clip(ByVal Value As String)","accessor":"Let"},
+        {"name":"ClipCopyMode","kind":"property","vis":"public","signature":"Public Property Get ClipCopyMode() As FlexClipCopyModeConstants","returnType":"FlexClipCopyModeConstants","accessor":"Get"},
+        {"name":"ClipCopyMode","kind":"property","vis":"public","signature":"Public Property Let ClipCopyMode(ByVal Value As FlexClipCopyModeConstants)","accessor":"Let"},
+        {"name":"ClipCursor","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementClipCursor = True) And VBA7","signature":"Private Declare PtrSafe Function ClipCursor Lib \"user32\" (ByRef lpRect As Any) As Long"},{"cond":"(ImplementClipCursor = True) And Not (VBA7)","signature":"Private Declare Function ClipCursor Lib \"user32\" (ByRef lpRect As Any) As Long"}]},
+        {"name":"ClipMode","kind":"property","vis":"public","signature":"Public Property Get ClipMode() As FlexClipModeConstants","returnType":"FlexClipModeConstants","accessor":"Get"},
+        {"name":"ClipMode","kind":"property","vis":"public","signature":"Public Property Let ClipMode(ByVal Value As FlexClipModeConstants)","accessor":"Let"},
+        {"name":"ClipPasteMode","kind":"property","vis":"public","signature":"Public Property Get ClipPasteMode() As FlexClipPasteModeConstants","returnType":"FlexClipPasteModeConstants","accessor":"Get"},
+        {"name":"ClipPasteMode","kind":"property","vis":"public","signature":"Public Property Let ClipPasteMode(ByVal Value As FlexClipPasteModeConstants)","accessor":"Let"},
+        {"name":"ClipSeparatorCol","kind":"property","vis":"public","signature":"Public Property Get ClipSeparatorCol() As String","returnType":"String","accessor":"Get"},
+        {"name":"ClipSeparatorCol","kind":"property","vis":"public","signature":"Public Property Let ClipSeparatorCol(ByVal Value As String)","accessor":"Let"},
+        {"name":"ClipSeparatorRow","kind":"property","vis":"public","signature":"Public Property Get ClipSeparatorRow() As String","returnType":"String","accessor":"Get"},
+        {"name":"ClipSeparatorRow","kind":"property","vis":"public","signature":"Public Property Let ClipSeparatorRow(ByVal Value As String)","accessor":"Let"},
+        {"name":"ClipSeparators","kind":"property","vis":"public","signature":"Public Property Get ClipSeparators() As String","returnType":"String","accessor":"Get"},
+        {"name":"ClipSeparators","kind":"property","vis":"public","signature":"Public Property Let ClipSeparators(ByVal Value As String)","accessor":"Let"},
+        {"name":"CloseEnhMetaFile","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CloseEnhMetaFile Lib \"gdi32\" (ByVal hDC As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CloseEnhMetaFile Lib \"gdi32\" (ByVal hDC As Long) As Long","returnType":"Long"}]},
+        {"name":"CloseThemeData","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementThemedControls = True) And VBA7","signature":"Private Declare PtrSafe Function CloseThemeData Lib \"uxtheme\" (ByVal Theme As LongPtr) As Long"},{"cond":"(ImplementThemedControls = True) And Not (VBA7)","signature":"Private Declare Function CloseThemeData Lib \"uxtheme\" (ByVal Theme As Long) As Long"}]},
+        {"name":"Col","kind":"property","vis":"public","signature":"Public Property Get Col() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"Col","kind":"property","vis":"public","signature":"Public Property Let Col(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColAlignment","kind":"property","vis":"public","signature":"Public Property Get ColAlignment(ByVal Index As Long) As FlexAlignmentConstants","returnType":"FlexAlignmentConstants","accessor":"Get"},
+        {"name":"ColAlignment","kind":"property","vis":"public","signature":"Public Property Let ColAlignment(ByVal Index As Long, ByVal Value As FlexAlignmentConstants)","accessor":"Let"},
+        {"name":"ColCheckBoxAlignment","kind":"property","vis":"public","signature":"Public Property Get ColCheckBoxAlignment(ByVal Index As Long) As FlexCheckBoxAlignmentConstants","returnType":"FlexCheckBoxAlignmentConstants","accessor":"Get"},
+        {"name":"ColCheckBoxAlignment","kind":"property","vis":"public","signature":"Public Property Let ColCheckBoxAlignment(ByVal Index As Long, ByVal Value As FlexCheckBoxAlignmentConstants)","accessor":"Let"},
+        {"name":"ColCheckBoxes","kind":"property","vis":"public","signature":"Public Property Get ColCheckBoxes(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColCheckBoxes","kind":"property","vis":"public","signature":"Public Property Let ColCheckBoxes(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColCheckBoxesHitTestInvisible","kind":"property","vis":"public","signature":"Public Property Get ColCheckBoxesHitTestInvisible(ByVal Index As Long, Optional ByRef DisabledOnly As Boolean) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColCheckBoxesHitTestInvisible","kind":"property","vis":"public","signature":"Public Property Let ColCheckBoxesHitTestInvisible(ByVal Index As Long, Optional ByRef DisabledOnly As Boolean, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColCheckBoxesHitTestInvisibleFixed","kind":"property","vis":"public","signature":"Public Property Get ColCheckBoxesHitTestInvisibleFixed(ByVal Index As Long, Optional ByRef DisabledOnly As Boolean) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColCheckBoxesHitTestInvisibleFixed","kind":"property","vis":"public","signature":"Public Property Let ColCheckBoxesHitTestInvisibleFixed(ByVal Index As Long, Optional ByRef DisabledOnly As Boolean, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColComboBoundColumn","kind":"property","vis":"public","signature":"Public Property Get ColComboBoundColumn(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColComboBoundColumn","kind":"property","vis":"public","signature":"Public Property Let ColComboBoundColumn(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColComboButtonAlignment","kind":"property","vis":"public","signature":"Public Property Get ColComboButtonAlignment(ByVal Index As Long) As FlexLeftRightAlignmentConstants","returnType":"FlexLeftRightAlignmentConstants","accessor":"Get"},
+        {"name":"ColComboButtonAlignment","kind":"property","vis":"public","signature":"Public Property Let ColComboButtonAlignment(ByVal Index As Long, ByVal Value As FlexLeftRightAlignmentConstants)","accessor":"Let"},
+        {"name":"ColComboButtonPicture","kind":"property","vis":"public","signature":"Public Property Get ColComboButtonPicture(ByVal Index As Long) As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"ColComboButtonPicture","kind":"property","vis":"public","signature":"Public Property Let ColComboButtonPicture(ByVal Index As Long, ByVal Value As IPictureDisp)","accessor":"Let"},
+        {"name":"ColComboButtonPicture","kind":"property","vis":"public","signature":"Public Property Set ColComboButtonPicture(ByVal Index As Long, ByVal Value As IPictureDisp)","accessor":"Set"},
+        {"name":"ColComboButtonWidth","kind":"property","vis":"public","signature":"Public Property Get ColComboButtonWidth(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColComboButtonWidth","kind":"property","vis":"public","signature":"Public Property Let ColComboButtonWidth(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColComboCue","kind":"property","vis":"public","signature":"Public Property Get ColComboCue(ByVal Index As Long) As FlexComboCueConstants","returnType":"FlexComboCueConstants","accessor":"Get"},
+        {"name":"ColComboCue","kind":"property","vis":"public","signature":"Public Property Let ColComboCue(ByVal Index As Long, ByVal Value As FlexComboCueConstants)","accessor":"Let"},
+        {"name":"ColComboHeader","kind":"property","vis":"public","signature":"Public Property Get ColComboHeader(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"ColComboHeader","kind":"property","vis":"public","signature":"Public Property Let ColComboHeader(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"ColComboItems","kind":"property","vis":"public","signature":"Public Property Get ColComboItems(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"ColComboItems","kind":"property","vis":"public","signature":"Public Property Let ColComboItems(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"ColComboMode","kind":"property","vis":"public","signature":"Public Property Get ColComboMode(ByVal Index As Long) As FlexComboModeConstants","returnType":"FlexComboModeConstants","accessor":"Get"},
+        {"name":"ColComboMode","kind":"property","vis":"public","signature":"Public Property Let ColComboMode(ByVal Index As Long, ByVal Value As FlexComboModeConstants)","accessor":"Let"},
+        {"name":"ColData","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get ColData(ByVal Index As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get ColData(ByVal Index As Long) As Long","returnType":"Long"}]},
+        {"name":"ColData","kind":"property","vis":"public","accessor":"Let","signatures":[{"cond":"VBA7","signature":"Public Property Let ColData(ByVal Index As Long, ByVal Value As LongPtr)"},{"cond":"Not (VBA7)","signature":"Public Property Let ColData(ByVal Index As Long, ByVal Value As Long)"}]},
+        {"name":"ColDataCapacity","kind":"property","vis":"public","signature":"Public Property Get ColDataCapacity(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColDataCapacity","kind":"property","vis":"public","signature":"Public Property Let ColDataCapacity(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColDataType","kind":"property","vis":"public","signature":"Public Property Get ColDataType(ByVal Index As Long) As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"ColDataType","kind":"property","vis":"public","signature":"Public Property Let ColDataType(ByVal Index As Long, ByVal Value As Integer)","accessor":"Let"},
+        {"name":"ColFormat","kind":"property","vis":"public","signature":"Public Property Get ColFormat(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"ColFormat","kind":"property","vis":"public","signature":"Public Property Let ColFormat(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"ColHidden","kind":"property","vis":"public","signature":"Public Property Get ColHidden(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColHidden","kind":"property","vis":"public","signature":"Public Property Let ColHidden(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColImageList","kind":"property","vis":"public","signature":"Public Property Get ColImageList(ByVal Index As Long) As Variant","returnType":"Variant","accessor":"Get"},
+        {"name":"ColImageList","kind":"property","vis":"public","signature":"Public Property Set ColImageList(ByVal Index As Long, ByVal Value As Variant)","accessor":"Set"},
+        {"name":"ColImageList","kind":"property","vis":"public","signature":"Public Property Let ColImageList(ByVal Index As Long, ByVal Value As Variant)","accessor":"Let"},
+        {"name":"ColIndex","kind":"property","vis":"public","signature":"Public Property Get ColIndex(ByVal Key As String) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColIndex","kind":"property","vis":"public","signature":"Public Property Let ColIndex(ByVal Key As String, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColIsVisible","kind":"property","vis":"public","signature":"Public Property Get ColIsVisible(ByVal Index As Long, Optional ByVal Visibility As FlexVisibilityConstants) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColKey","kind":"property","vis":"public","signature":"Public Property Get ColKey(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"ColKey","kind":"property","vis":"public","signature":"Public Property Let ColKey(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"ColLookup","kind":"property","vis":"public","signature":"Public Property Get ColLookup(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"ColLookup","kind":"property","vis":"public","signature":"Public Property Let ColLookup(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"ColMimicTextBox","kind":"property","vis":"public","signature":"Public Property Get ColMimicTextBox(ByVal Index As Long) As FlexMimicTextBoxConstants","returnType":"FlexMimicTextBoxConstants","accessor":"Get"},
+        {"name":"ColMimicTextBox","kind":"property","vis":"public","signature":"Public Property Let ColMimicTextBox(ByVal Index As Long, ByVal Value As FlexMimicTextBoxConstants)","accessor":"Let"},
+        {"name":"ColMimicTextBoxFixed","kind":"property","vis":"public","signature":"Public Property Get ColMimicTextBoxFixed(ByVal Index As Long) As FlexMimicTextBoxConstants","returnType":"FlexMimicTextBoxConstants","accessor":"Get"},
+        {"name":"ColMimicTextBoxFixed","kind":"property","vis":"public","signature":"Public Property Let ColMimicTextBoxFixed(ByVal Index As Long, ByVal Value As FlexMimicTextBoxConstants)","accessor":"Let"},
+        {"name":"ColNonHiddenPosition","kind":"property","vis":"public","signature":"Public Property Get ColNonHiddenPosition(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColNullable","kind":"property","vis":"public","signature":"Public Property Get ColNullable(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColNullable","kind":"property","vis":"public","signature":"Public Property Let ColNullable(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColNumericPrecision","kind":"property","vis":"public","signature":"Public Property Get ColNumericPrecision(ByVal Index As Long) As Byte","returnType":"Byte","accessor":"Get"},
+        {"name":"ColNumericPrecision","kind":"property","vis":"public","signature":"Public Property Let ColNumericPrecision(ByVal Index As Long, ByVal Value As Byte)","accessor":"Let"},
+        {"name":"ColNumericScale","kind":"property","vis":"public","signature":"Public Property Get ColNumericScale(ByVal Index As Long) As Byte","returnType":"Byte","accessor":"Get"},
+        {"name":"ColNumericScale","kind":"property","vis":"public","signature":"Public Property Let ColNumericScale(ByVal Index As Long, ByVal Value As Byte)","accessor":"Let"},
+        {"name":"ColPos","kind":"property","vis":"public","signature":"Public Property Get ColPos(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColPosition","kind":"property","vis":"public","signature":"Public Property Get ColPosition(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColPosition","kind":"property","vis":"public","signature":"Public Property Let ColPosition(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColPositionFromNonHidden","kind":"property","vis":"public","signature":"Public Property Get ColPositionFromNonHidden(ByVal NonHiddenPosition As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColResizable","kind":"property","vis":"public","signature":"Public Property Get ColResizable(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColResizable","kind":"property","vis":"public","signature":"Public Property Let ColResizable(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColSel","kind":"property","vis":"public","signature":"Public Property Get ColSel() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColSel","kind":"property","vis":"public","signature":"Public Property Let ColSel(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColSort","kind":"property","vis":"public","signature":"Public Property Get ColSort(ByVal Index As Long) As FlexSortConstants","returnType":"FlexSortConstants","accessor":"Get"},
+        {"name":"ColSort","kind":"property","vis":"public","signature":"Public Property Let ColSort(ByVal Index As Long, ByVal Value As FlexSortConstants)","accessor":"Let"},
+        {"name":"ColSortArrow","kind":"property","vis":"public","signature":"Public Property Get ColSortArrow(ByVal Index As Long) As FlexSortArrowConstants","returnType":"FlexSortArrowConstants","accessor":"Get"},
+        {"name":"ColSortArrow","kind":"property","vis":"public","signature":"Public Property Let ColSortArrow(ByVal Index As Long, ByVal Value As FlexSortArrowConstants)","accessor":"Let"},
+        {"name":"ColSortArrowAlignment","kind":"property","vis":"public","signature":"Public Property Get ColSortArrowAlignment(ByVal Index As Long) As FlexLeftRightAlignmentConstants","returnType":"FlexLeftRightAlignmentConstants","accessor":"Get"},
+        {"name":"ColSortArrowAlignment","kind":"property","vis":"public","signature":"Public Property Let ColSortArrowAlignment(ByVal Index As Long, ByVal Value As FlexLeftRightAlignmentConstants)","accessor":"Let"},
+        {"name":"ColSortArrowColor","kind":"property","vis":"public","signature":"Public Property Get ColSortArrowColor(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColSortArrowColor","kind":"property","vis":"public","signature":"Public Property Let ColSortArrowColor(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColSortMode","kind":"property","vis":"public","signature":"Public Property Get ColSortMode(ByVal Index As Long) As FlexSortModeConstants","returnType":"FlexSortModeConstants","accessor":"Get"},
+        {"name":"ColSortMode","kind":"property","vis":"public","signature":"Public Property Let ColSortMode(ByVal Index As Long, ByVal Value As FlexSortModeConstants)","accessor":"Let"},
+        {"name":"ColTextIndent","kind":"property","vis":"public","signature":"Public Property Get ColTextIndent(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ColTextIndent","kind":"property","vis":"public","signature":"Public Property Let ColTextIndent(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ColWidth","kind":"property","vis":"public","signature":"Public Property Get ColWidth(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColWidth","kind":"property","vis":"public","signature":"Public Property Let ColWidth(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColWidthMax","kind":"property","vis":"public","signature":"Public Property Get ColWidthMax() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColWidthMax","kind":"property","vis":"public","signature":"Public Property Let ColWidthMax(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColWidthMin","kind":"property","vis":"public","signature":"Public Property Get ColWidthMin() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColWidthMin","kind":"property","vis":"public","signature":"Public Property Let ColWidthMin(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColWordWrapOption","kind":"property","vis":"public","signature":"Public Property Get ColWordWrapOption(ByVal Index As Long) As FlexWordWrapOptions","returnType":"FlexWordWrapOptions","accessor":"Get"},
+        {"name":"ColWordWrapOption","kind":"property","vis":"public","signature":"Public Property Let ColWordWrapOption(ByVal Index As Long, ByVal Value As FlexWordWrapOptions)","accessor":"Let"},
+        {"name":"ColWordWrapOptionFixed","kind":"property","vis":"public","signature":"Public Property Get ColWordWrapOptionFixed(ByVal Index As Long) As FlexWordWrapOptions","returnType":"FlexWordWrapOptions","accessor":"Get"},
+        {"name":"ColWordWrapOptionFixed","kind":"property","vis":"public","signature":"Public Property Let ColWordWrapOptionFixed(ByVal Index As Long, ByVal Value As FlexWordWrapOptions)","accessor":"Let"},
+        {"name":"Cols","kind":"property","vis":"public","signature":"Public Property Get Cols() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"Cols","kind":"property","vis":"public","signature":"Public Property Let Cols(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ColsNonHidden","kind":"property","vis":"public","signature":"Public Property Get ColsNonHidden() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColsPerPage","kind":"property","vis":"public","signature":"Public Property Get ColsPerPage() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ColsVisible","kind":"property","vis":"public","signature":"Public Property Get ColsVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboBeforeDropDown","kind":"event","vis":"public","signature":"Public Event ComboBeforeDropDown(ByVal Reason As FlexComboDropDownReasonConstants, ByRef Cancel As Boolean)"},
+        {"name":"ComboBoundColumn","kind":"property","vis":"public","signature":"Public Property Get ComboBoundColumn() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboBoundColumn","kind":"property","vis":"public","signature":"Public Property Let ComboBoundColumn(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ComboButtonAlignment","kind":"property","vis":"public","signature":"Public Property Get ComboButtonAlignment() As FlexLeftRightAlignmentConstants","returnType":"FlexLeftRightAlignmentConstants","accessor":"Get"},
+        {"name":"ComboButtonAlignment","kind":"property","vis":"public","signature":"Public Property Let ComboButtonAlignment(ByVal Value As FlexLeftRightAlignmentConstants)","accessor":"Let"},
+        {"name":"ComboButtonClick","kind":"event","vis":"public","signature":"Public Event ComboButtonClick()"},
+        {"name":"ComboButtonClientWidth","kind":"property","vis":"public","signature":"Public Property Get ComboButtonClientWidth() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboButtonCustomDraw","kind":"event","vis":"public","signature":"Public Event ComboButtonCustomDraw(ByVal Row As Long, ByVal Col As Long, ByRef Handled As Boolean, ByVal CtlType As Long, ByVal ItemAction As Long, ByVal ItemState As Long, ByVal hDC As Long, ByVal Left As Long, ByVal Top As Long, ByVal Right As Long, ByVal Bottom As Long, ByVal ContentLeft As Long, ByVal ContentTop As Long, ByVal ContentRight As Long, ByVal ContentBottom As Long)"},
+        {"name":"ComboButtonDraw","kind":"sub","vis":"private","signature":"Private Sub ComboButtonDraw(ByVal iRow As Long, ByVal iCol As Long, ByRef DIS As DRAWITEMSTRUCT)"},
+        {"name":"ComboButtonDrawEllipsis","kind":"sub","vis":"private","signature":"Private Sub ComboButtonDrawEllipsis(ByVal hDC As LongPtr, ByRef ContentRect As RECT)"},
+        {"name":"ComboButtonDrawMode","kind":"property","vis":"public","signature":"Public Property Get ComboButtonDrawMode() As FlexComboButtonDrawModeConstants","returnType":"FlexComboButtonDrawModeConstants","accessor":"Get"},
+        {"name":"ComboButtonDrawMode","kind":"property","vis":"public","signature":"Public Property Let ComboButtonDrawMode(ByVal Value As FlexComboButtonDrawModeConstants)","accessor":"Let"},
+        {"name":"ComboButtonDrawPicture","kind":"sub","vis":"private","signature":"Private Sub ComboButtonDrawPicture(ByVal hDC As LongPtr, ByRef ContentRect As RECT, ByVal ItemState As Long, ByVal Picture As IPictureDisp, ByRef RenderFlag As Integer)"},
+        {"name":"ComboButtonGetState","kind":"function","vis":"private","signature":"Private Function ComboButtonGetState(ByVal dwState As Long) As Boolean","returnType":"Boolean"},
+        {"name":"ComboButtonMeasure","kind":"event","vis":"public","signature":"Public Event ComboButtonMeasure(ByVal Row As Long, ByVal Col As Long, ByRef Width As Long)"},
+        {"name":"ComboButtonNonClientHeight","kind":"property","vis":"public","signature":"Public Property Get ComboButtonNonClientHeight() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboButtonNonClientWidth","kind":"property","vis":"public","signature":"Public Property Get ComboButtonNonClientWidth() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboButtonOwnerDraw","kind":"event","vis":"public","signature":"Public Event ComboButtonOwnerDraw(ByVal Row As Long, ByVal Col As Long, ByRef Cancel As Boolean, ByVal CtlType As Long, ByVal ItemAction As Long, ByVal ItemState As Long, ByVal hDC As Long, ByVal Left As Long, ByVal Top As Long, ByVal Right As Long, ByVal Bottom As Long)"},
+        {"name":"ComboButtonPerformClick","kind":"sub","vis":"private","signature":"Private Sub ComboButtonPerformClick()"},
+        {"name":"ComboButtonPicture","kind":"property","vis":"public","signature":"Public Property Get ComboButtonPicture() As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"ComboButtonPicture","kind":"property","vis":"public","signature":"Public Property Let ComboButtonPicture(ByVal Value As IPictureDisp)","accessor":"Let"},
+        {"name":"ComboButtonPicture","kind":"property","vis":"public","signature":"Public Property Set ComboButtonPicture(ByVal Value As IPictureDisp)","accessor":"Set"},
+        {"name":"ComboButtonSetState","kind":"sub","vis":"private","signature":"Private Sub ComboButtonSetState(ByVal dwState As Long, ByVal Value As Boolean, Optional ByVal UpdateNow As Boolean)"},
+        {"name":"ComboButtonValue","kind":"property","vis":"public","signature":"Public Property Get ComboButtonValue() As FlexComboButtonValueConstants","returnType":"FlexComboButtonValueConstants","accessor":"Get"},
+        {"name":"ComboButtonValue","kind":"property","vis":"public","signature":"Public Property Let ComboButtonValue(ByVal Value As FlexComboButtonValueConstants)","accessor":"Let"},
+        {"name":"ComboButtonWidth","kind":"property","vis":"public","signature":"Public Property Get ComboButtonWidth() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboButtonWidth","kind":"property","vis":"public","signature":"Public Property Let ComboButtonWidth(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ComboCalendarCommitST","kind":"sub","vis":"private","signature":"Private Sub ComboCalendarCommitST(ByRef ST As SYSTEMTIME)"},
+        {"name":"ComboCalendarCommitSel","kind":"sub","vis":"private","signature":"Private Sub ComboCalendarCommitSel()"},
+        {"name":"ComboCalendarMaxDate","kind":"property","vis":"public","signature":"Public Property Get ComboCalendarMaxDate() As Date","returnType":"Date","accessor":"Get"},
+        {"name":"ComboCalendarMaxDate","kind":"property","vis":"public","signature":"Public Property Let ComboCalendarMaxDate(ByVal Value As Date)","accessor":"Let"},
+        {"name":"ComboCalendarMinDate","kind":"property","vis":"public","signature":"Public Property Get ComboCalendarMinDate() As Date","returnType":"Date","accessor":"Get"},
+        {"name":"ComboCalendarMinDate","kind":"property","vis":"public","signature":"Public Property Let ComboCalendarMinDate(ByVal Value As Date)","accessor":"Let"},
+        {"name":"ComboCalendarValue","kind":"property","vis":"public","signature":"Public Property Get ComboCalendarValue() As Date","returnType":"Date","accessor":"Get"},
+        {"name":"ComboCalendarValue","kind":"property","vis":"public","signature":"Public Property Let ComboCalendarValue(ByVal Value As Date)","accessor":"Let"},
+        {"name":"ComboCloseUp","kind":"event","vis":"public","signature":"Public Event ComboCloseUp()"},
+        {"name":"ComboCue","kind":"property","vis":"public","signature":"Public Property Get ComboCue() As FlexComboCueConstants","returnType":"FlexComboCueConstants","accessor":"Get"},
+        {"name":"ComboCue","kind":"property","vis":"public","signature":"Public Property Let ComboCue(ByVal Value As FlexComboCueConstants)","accessor":"Let"},
+        {"name":"ComboCueClick","kind":"event","vis":"public","signature":"Public Event ComboCueClick(ByVal Row As Long, ByVal Col As Long, ByVal Reason As FlexEditReasonConstants)"},
+        {"name":"ComboCueCol","kind":"property","vis":"public","signature":"Public Property Get ComboCueCol() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboCueCol","kind":"property","vis":"public","signature":"Public Property Let ComboCueCol(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ComboCuePerformClick","kind":"sub","vis":"private","signature":"Private Sub ComboCuePerformClick(ByVal Reason As FlexEditReasonConstants, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1)"},
+        {"name":"ComboCueRow","kind":"property","vis":"public","signature":"Public Property Get ComboCueRow() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboCueRow","kind":"property","vis":"public","signature":"Public Property Let ComboCueRow(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ComboDropDown","kind":"event","vis":"public","signature":"Public Event ComboDropDown()"},
+        {"name":"ComboHeader","kind":"property","vis":"public","signature":"Public Property Get ComboHeader() As String","returnType":"String","accessor":"Get"},
+        {"name":"ComboHeader","kind":"property","vis":"public","signature":"Public Property Let ComboHeader(ByVal Value As String)","accessor":"Let"},
+        {"name":"ComboItems","kind":"property","vis":"public","signature":"Public Property Get ComboItems() As String","returnType":"String","accessor":"Get"},
+        {"name":"ComboItems","kind":"property","vis":"public","signature":"Public Property Let ComboItems(ByVal Value As String)","accessor":"Let"},
+        {"name":"ComboList","kind":"property","vis":"public","signature":"Public Property Get ComboList(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"ComboListCommitSel","kind":"sub","vis":"private","signature":"Private Sub ComboListCommitSel()"},
+        {"name":"ComboListCount","kind":"property","vis":"public","signature":"Public Property Get ComboListCount() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboListIndex","kind":"property","vis":"public","signature":"Public Property Get ComboListIndex() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"ComboListIndex","kind":"property","vis":"public","signature":"Public Property Let ComboListIndex(ByVal Value As Long)","accessor":"Let"},
+        {"name":"ComboListSelFromPt","kind":"function","vis":"private","signature":"Private Function ComboListSelFromPt(ByVal X As Long, ByVal Y As Long, ByVal AutoScroll As Boolean) As Long","returnType":"Long"},
+        {"name":"ComboMode","kind":"property","vis":"public","signature":"Public Property Get ComboMode() As FlexComboModeConstants","returnType":"FlexComboModeConstants","accessor":"Get"},
+        {"name":"ComboMode","kind":"property","vis":"public","signature":"Public Property Let ComboMode(ByVal Value As FlexComboModeConstants)","accessor":"Let"},
+        {"name":"ComboShowDropDown","kind":"sub","vis":"private","signature":"Private Sub ComboShowDropDown(ByVal Value As Boolean, ByVal Reason As FlexComboDropDownReasonConstants)"},
+        {"name":"CommitEdit","kind":"function","vis":"public","signature":"Public Function CommitEdit() As Boolean","returnType":"Boolean"},
+        {"name":"Compare","kind":"event","vis":"public","signature":"Public Event Compare(ByVal Row1 As Long, ByVal Row2 As Long, ByVal Col As Long, ByRef Cmp As Long)"},
+        {"name":"CompareText","kind":"event","vis":"public","signature":"Public Event CompareText(ByVal Text1 As String, ByVal Text2 As String, ByVal Col As Long, ByRef Cmp As Long)"},
+        {"name":"ConstructClip","kind":"function","vis":"public","signature":"Public Function ConstructClip(ByRef ArrRows As Variant) As String","returnType":"String"},
+        {"name":"Container","kind":"property","vis":"public","signature":"Public Property Get Container() As Object","returnType":"Object","accessor":"Get"},
+        {"name":"Container","kind":"property","vis":"public","signature":"Public Property Set Container(ByVal Value As Object)","accessor":"Set"},
+        {"name":"ContextMenu","kind":"event","vis":"public","signature":"Public Event ContextMenu(ByVal X As Single, ByVal Y As Single)"},
+        {"name":"Copy","kind":"sub","vis":"public","signature":"Public Sub Copy()"},
+        {"name":"CopyFromRecordset","kind":"function","vis":"public","signature":"Public Function CopyFromRecordset(ByRef Data As Object, Optional ByVal Rows As Long = -1, Optional ByVal Cols As Long = -1, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal Fields As Variant) As Long","returnType":"Long"},
+        {"name":"CopyMemory","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)"}]},
+        {"name":"CreateCompatibleBitmap","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateCompatibleBitmap Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nWidth As Long, ByVal nHeight As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateCompatibleBitmap Lib \"gdi32\" (ByVal hDC As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateCompatibleDC","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateCompatibleDC Lib \"gdi32\" (ByVal hDC As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateCompatibleDC Lib \"gdi32\" (ByVal hDC As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateEdit","kind":"function","vis":"private","signature":"Private Function CreateEdit(ByVal Reason As FlexEditReasonConstants, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1) As Boolean","returnType":"Boolean"},
+        {"name":"CreateEnhMetaFile","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateEnhMetaFile Lib \"gdi32\" Alias \"CreateEnhMetaFileW\" (ByVal hDC As LongPtr, ByVal lpFileName As LongPtr, ByRef lpRect As RECT, ByVal lpDescription As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateEnhMetaFile Lib \"gdi32\" Alias \"CreateEnhMetaFileW\" (ByVal hDC As Long, ByVal lpFileName As Long, ByRef lpRect As RECT, ByVal lpDescription As Long) As Long","returnType":"Long"}]},
+        {"name":"CreatePen","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreatePen Lib \"gdi32\" (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreatePen Lib \"gdi32\" (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateRectRgn","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateRectRgn Lib \"gdi32\" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateRectRgn Lib \"gdi32\" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateScrollTip","kind":"sub","vis":"private","signature":"Private Sub CreateScrollTip()"},
+        {"name":"CreateSolidBrush","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateSolidBrush Lib \"gdi32\" (ByVal crColor As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateSolidBrush Lib \"gdi32\" (ByVal crColor As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateToolTip","kind":"sub","vis":"private","signature":"Private Sub CreateToolTip()"},
+        {"name":"CreateVBFlexGrid","kind":"sub","vis":"private","signature":"Private Sub CreateVBFlexGrid()"},
+        {"name":"CreateWindowEx","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateWindowEx Lib \"user32\" Alias \"CreateWindowExW\" (ByVal dwExStyle As Long, ByVal lpClassName As LongPtr, ByVal lpWindowName As LongPtr, ByVal dwStyle As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As LongPtr, ByVal hMenu As LongPtr, ByVal hInstance As LongPtr, ByRef lpParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateWindowEx Lib \"user32\" Alias \"CreateWindowExW\" (ByVal dwExStyle As Long, ByVal lpClassName As Long, ByVal lpWindowName As Long, ByVal dwStyle As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, ByRef lpParam As Any) As Long","returnType":"Long"}]},
+        {"name":"CustomMergeSortRec","kind":"sub","vis":"private","signature":"Private Sub CustomMergeSortRec(ByVal Left As Long, ByVal Right As Long, ByVal Col As Long, ByRef Data() As TINDIRECTMERGESORTDATA)"},
+        {"name":"Cut","kind":"sub","vis":"public","signature":"Public Sub Cut()"},
+        {"name":"DCX_INTERSECTRGN","kind":"const","vis":"private","signature":"Private Const DCX_INTERSECTRGN As Long = &H80"},
+        {"name":"DCX_KEEPCLIPRGN","kind":"const","vis":"private","signature":"Private Const DCX_KEEPCLIPRGN As Long = &H40000"},
+        {"name":"DCX_USESTYLE","kind":"const","vis":"private","signature":"Private Const DCX_USESTYLE As Long = &H10000"},
+        {"name":"DCX_WINDOW","kind":"const","vis":"private","signature":"Private Const DCX_WINDOW As Long = &H1"},
+        {"name":"DFCS_ADJUSTRECT","kind":"const","vis":"private","signature":"Private Const DFCS_ADJUSTRECT As Long = &H2000"},
+        {"name":"DFCS_BUTTONCHECK","kind":"const","vis":"private","signature":"Private Const DFCS_BUTTONCHECK As Long = &H0"},
+        {"name":"DFCS_BUTTONPUSH","kind":"const","vis":"private","signature":"Private Const DFCS_BUTTONPUSH As Long = &H10"},
+        {"name":"DFCS_CHECKED","kind":"const","vis":"private","signature":"Private Const DFCS_CHECKED As Long = &H400"},
+        {"name":"DFCS_FLAT","kind":"const","vis":"private","signature":"Private Const DFCS_FLAT As Long = &H4000"},
+        {"name":"DFCS_HOT","kind":"const","vis":"private","signature":"Private Const DFCS_HOT As Long = &H1000"},
+        {"name":"DFCS_INACTIVE","kind":"const","vis":"private","signature":"Private Const DFCS_INACTIVE As Long = &H100"},
+        {"name":"DFCS_PUSHED","kind":"const","vis":"private","signature":"Private Const DFCS_PUSHED As Long = &H200"},
+        {"name":"DFCS_SCROLLCOMBOBOX","kind":"const","vis":"private","signature":"Private Const DFCS_SCROLLCOMBOBOX As Long = &H5"},
+        {"name":"DFC_BUTTON","kind":"const","vis":"private","signature":"Private Const DFC_BUTTON As Long = &H4"},
+        {"name":"DFC_SCROLL","kind":"const","vis":"private","signature":"Private Const DFC_SCROLL As Long = &H3"},
+        {"name":"DIB_RGB_COLORS","kind":"const","vis":"private","signature":"Private Const DIB_RGB_COLORS As Long = 0"},
+        {"name":"DISP_E_OVERFLOW","kind":"const","vis":"private","signature":"Private Const DISP_E_OVERFLOW As Long = &H8002000A"},
+        {"name":"DISP_E_TYPEMISMATCH","kind":"const","vis":"private","signature":"Private Const DISP_E_TYPEMISMATCH As Long = &H80020005"},
+        {"name":"DIVIDER_SPACING_DIP","kind":"const","vis":"private","signature":"Private Const DIVIDER_SPACING_DIP As Long = 2"},
+        {"name":"DRAWINFO_FLAG_WALLPAPER","kind":"const","vis":"private","signature":"Private Const DRAWINFO_FLAG_WALLPAPER As Long = &H1"},
+        {"name":"DSS_DISABLED","kind":"const","vis":"private","signature":"Private Const DSS_DISABLED As Long = &H20"},
+        {"name":"DST_BITMAP","kind":"const","vis":"private","signature":"Private Const DST_BITMAP As Long = &H4"},
+        {"name":"DST_ICON","kind":"const","vis":"private","signature":"Private Const DST_ICON As Long = &H3"},
+        {"name":"DT_BOTTOM","kind":"const","vis":"private","signature":"Private Const DT_BOTTOM As Long = &H8"},
+        {"name":"DT_CALCRECT","kind":"const","vis":"private","signature":"Private Const DT_CALCRECT As Long = &H400"},
+        {"name":"DT_CENTER","kind":"const","vis":"private","signature":"Private Const DT_CENTER As Long = &H1"},
+        {"name":"DT_EDITCONTROL","kind":"const","vis":"private","signature":"Private Const DT_EDITCONTROL As Long = &H2000"},
+        {"name":"DT_END_ELLIPSIS","kind":"const","vis":"private","signature":"Private Const DT_END_ELLIPSIS As Long = &H8000&"},
+        {"name":"DT_LEFT","kind":"const","vis":"private","signature":"Private Const DT_LEFT As Long = &H0"},
+        {"name":"DT_NOPREFIX","kind":"const","vis":"private","signature":"Private Const DT_NOPREFIX As Long = &H800"},
+        {"name":"DT_PATH_ELLIPSIS","kind":"const","vis":"private","signature":"Private Const DT_PATH_ELLIPSIS As Long = &H4000"},
+        {"name":"DT_RIGHT","kind":"const","vis":"private","signature":"Private Const DT_RIGHT As Long = &H2"},
+        {"name":"DT_RTLREADING","kind":"const","vis":"private","signature":"Private Const DT_RTLREADING As Long = &H20000"},
+        {"name":"DT_SINGLELINE","kind":"const","vis":"private","signature":"Private Const DT_SINGLELINE As Long = &H20"},
+        {"name":"DT_VCENTER","kind":"const","vis":"private","signature":"Private Const DT_VCENTER As Long = &H4"},
+        {"name":"DT_WORDBREAK","kind":"const","vis":"private","signature":"Private Const DT_WORDBREAK As Long = &H10"},
+        {"name":"DT_WORD_ELLIPSIS","kind":"const","vis":"private","signature":"Private Const DT_WORD_ELLIPSIS As Long = &H40000"},
+        {"name":"DataMember","kind":"property","vis":"public","signature":"Public Property Get DataMember() As MSDATASRC.DataMember","returnType":"MSDATASRC.DataMember","accessor":"Get"},
+        {"name":"DataMember","kind":"property","vis":"public","signature":"Public Property Let DataMember(ByVal Value As MSDATASRC.DataMember)","accessor":"Let"},
+        {"name":"DataRefresh","kind":"sub","vis":"public","signature":"Public Sub DataRefresh()"},
+        {"name":"DataSource","kind":"property","vis":"public","signature":"Public Property Get DataSource() As MSDATASRC.DataSource","returnType":"MSDATASRC.DataSource","accessor":"Get"},
+        {"name":"DataSource","kind":"property","vis":"public","signature":"Public Property Let DataSource(ByVal Value As MSDATASRC.DataSource)","accessor":"Let"},
+        {"name":"DataSource","kind":"property","vis":"public","signature":"Public Property Set DataSource(ByVal Value As MSDATASRC.DataSource)","accessor":"Set"},
+        {"name":"DblClick","kind":"event","vis":"public","signature":"Public Event DblClick()"},
+        {"name":"DefWindowProc","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DefWindowProc Lib \"user32\" Alias \"DefWindowProcW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function DefWindowProc Lib \"user32\" Alias \"DefWindowProcW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long","returnType":"Long"}]},
+        {"name":"Delete","kind":"sub","vis":"public","signature":"Public Sub Delete()"},
+        {"name":"DeleteDC","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DeleteDC Lib \"gdi32\" (ByVal hDC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DeleteDC Lib \"gdi32\" (ByVal hDC As Long) As Long"}]},
+        {"name":"DeleteEnhMetaFile","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DeleteEnhMetaFile Lib \"gdi32\" (ByVal hEMF As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DeleteEnhMetaFile Lib \"gdi32\" (ByVal hEMF As Long) As Long"}]},
+        {"name":"DeleteObject","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DeleteObject Lib \"gdi32\" (ByVal hObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DeleteObject Lib \"gdi32\" (ByVal hObject As Long) As Long"}]},
+        {"name":"DestroyEdit","kind":"function","vis":"private","signature":"Private Function DestroyEdit(ByVal Discard As Boolean, ByVal CloseMode As FlexEditCloseModeConstants) As Boolean","returnType":"Boolean"},
+        {"name":"DestroyScrollTip","kind":"sub","vis":"private","signature":"Private Sub DestroyScrollTip()"},
+        {"name":"DestroyToolTip","kind":"sub","vis":"private","signature":"Private Sub DestroyToolTip()"},
+        {"name":"DestroyVBFlexGrid","kind":"sub","vis":"private","signature":"Private Sub DestroyVBFlexGrid()"},
+        {"name":"DestroyWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DestroyWindow Lib \"user32\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DestroyWindow Lib \"user32\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"DirectionAfterReturn","kind":"property","vis":"public","signature":"Public Property Get DirectionAfterReturn() As FlexDirectionAfterReturnConstants","returnType":"FlexDirectionAfterReturnConstants","accessor":"Get"},
+        {"name":"DirectionAfterReturn","kind":"property","vis":"public","signature":"Public Property Let DirectionAfterReturn(ByVal Value As FlexDirectionAfterReturnConstants)","accessor":"Let"},
+        {"name":"DisableNoScroll","kind":"property","vis":"public","signature":"Public Property Get DisableNoScroll() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"DisableNoScroll","kind":"property","vis":"public","signature":"Public Property Let DisableNoScroll(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"DispatchMessage","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DispatchMessage Lib \"user32\" Alias \"DispatchMessageW\" (ByRef lpMsg As TMSG) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function DispatchMessage Lib \"user32\" Alias \"DispatchMessageW\" (ByRef lpMsg As TMSG) As Long","returnType":"Long"}]},
+        {"name":"DividerDblClick","kind":"event","vis":"public","signature":"Public Event DividerDblClick(ByVal Row As Long, ByVal Col As Long)"},
+        {"name":"DoDragRowCol","kind":"function","vis":"private","signature":"Private Function DoDragRowCol(ByVal Row As Long, ByVal Col As Long) As Long","returnType":"Long"},
+        {"name":"DoScroll","kind":"function","vis":"private","signature":"Private Function DoScroll(ByVal wBar As Long, ByVal TopRowOrLeftCol As Long) As Boolean","returnType":"Boolean"},
+        {"name":"DoubleBuffer","kind":"property","vis":"public","signature":"Public Property Get DoubleBuffer() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"DoubleBuffer","kind":"property","vis":"public","signature":"Public Property Let DoubleBuffer(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"Drag","kind":"sub","vis":"public","signature":"Public Sub Drag(Optional ByRef Action As Variant)"},
+        {"name":"DragAcceptFiles","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub DragAcceptFiles Lib \"shell32\" (ByVal hWnd As LongPtr, ByVal fAccept As Long)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub DragAcceptFiles Lib \"shell32\" (ByVal hWnd As Long, ByVal fAccept As Long)"}]},
+        {"name":"DragCol","kind":"function","vis":"public","signature":"Public Function DragCol(ByVal Index As Long) As Long","returnType":"Long"},
+        {"name":"DragFinish","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub DragFinish Lib \"shell32\" (ByVal hDrop As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub DragFinish Lib \"shell32\" (ByVal hDrop As Long)"}]},
+        {"name":"DragIcon","kind":"property","vis":"public","signature":"Public Property Get DragIcon() As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"DragIcon","kind":"property","vis":"public","signature":"Public Property Let DragIcon(ByVal Value As IPictureDisp)","accessor":"Let"},
+        {"name":"DragIcon","kind":"property","vis":"public","signature":"Public Property Set DragIcon(ByVal Value As IPictureDisp)","accessor":"Set"},
+        {"name":"DragMode","kind":"property","vis":"public","signature":"Public Property Get DragMode() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"DragMode","kind":"property","vis":"public","signature":"Public Property Let DragMode(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"DragQueryFile","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DragQueryFile Lib \"shell32\" Alias \"DragQueryFileW\" (ByVal hDrop As LongPtr, ByVal iFile As Long, ByVal lpszFile As LongPtr, ByVal cch As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DragQueryFile Lib \"shell32\" Alias \"DragQueryFileW\" (ByVal hDrop As Long, ByVal iFile As Long, ByVal lpszFile As Long, ByVal cch As Long) As Long"}]},
+        {"name":"DragQueryPoint","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DragQueryPoint Lib \"shell32\" (ByVal hDrop As LongPtr, ByRef lpPoint As POINTAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DragQueryPoint Lib \"shell32\" (ByVal hDrop As Long, ByRef lpPoint As POINTAPI) As Long"}]},
+        {"name":"DragRow","kind":"function","vis":"public","signature":"Public Function DragRow(ByVal Index As Long) As Long","returnType":"Long"},
+        {"name":"DrawCell","kind":"sub","vis":"private","signature":"Private Sub DrawCell(ByRef hDC As LongPtr, ByRef CellRect As RECT, ByVal iRow As Long, ByVal iCol As Long)"},
+        {"name":"DrawCellCheckBox","kind":"sub","vis":"private","signature":"Private Sub DrawCellCheckBox(ByVal hDC As LongPtr, ByRef RC As RECT, ByRef ClipRect As RECT, ByRef Text As String, ByVal iRow As Long, ByVal iCol As Long, ByVal Checked As Integer)"},
+        {"name":"DrawCellFlooding","kind":"sub","vis":"private","signature":"Private Sub DrawCellFlooding(ByVal hDC As LongPtr, ByRef FloodRect As RECT, ByVal Percent As Integer, ByVal Color As Long)"},
+        {"name":"DrawDividerDragSplitter","kind":"sub","vis":"private","signature":"Private Sub DrawDividerDragSplitter(Optional ByVal hRgn As LongPtr)"},
+        {"name":"DrawFixedCell","kind":"sub","vis":"private","signature":"Private Sub DrawFixedCell(ByRef hDC As LongPtr, ByRef CellRect As RECT, ByVal iRow As Long, ByVal iCol As Long)"},
+        {"name":"DrawFocusRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawFocusRect Lib \"user32\" (ByVal hDC As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawFocusRect Lib \"user32\" (ByVal hDC As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"DrawFrameControl","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawFrameControl Lib \"user32\" (ByVal hDC As LongPtr, ByRef lpRect As RECT, ByVal nCtlType As Long, ByVal nFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawFrameControl Lib \"user32\" (ByVal hDC As Long, ByRef lpRect As RECT, ByVal nCtlType As Long, ByVal nFlags As Long) As Long"}]},
+        {"name":"DrawGrid","kind":"sub","vis":"private","signature":"Private Sub DrawGrid(ByVal hDC As LongPtr, ByRef hRgn As LongPtr, ByVal NoRgn As Boolean, Optional ByVal NoClip As Boolean, Optional ByVal lpCellRange As LongPtr)"},
+        {"name":"DrawIncrementalSearch","kind":"sub","vis":"private","signature":"Private Sub DrawIncrementalSearch(ByVal hDC As LongPtr, ByRef Text As String, ByRef TextRect As RECT, ByVal DrawFlags As Long, Optional ByRef SearchOffset As Long)"},
+        {"name":"DrawSortArrow","kind":"sub","vis":"private","signature":"Private Sub DrawSortArrow(ByVal hDC As LongPtr, ByVal Color As Long, ByRef P() As POINTAPI, ByRef ClipRgn As RECT)"},
+        {"name":"DrawState","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawState Lib \"user32\" Alias \"DrawStateW\" (ByVal hDC As LongPtr, ByVal hBrush As LongPtr, ByVal lpDrawStateProc As LongPtr, ByVal lData As LongPtr, ByVal wData As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal CX As Long, ByVal CY As Long, ByVal fFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawState Lib \"user32\" Alias \"DrawStateW\" (ByVal hDC As Long, ByVal hBrush As Long, ByVal lpDrawStateProc As Long, ByVal lData As Long, ByVal wData As Long, ByVal X As Long, ByVal Y As Long, ByVal CX As Long, ByVal CY As Long, ByVal fFlags As Long) As Long"}]},
+        {"name":"DrawText","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawText Lib \"user32\" Alias \"DrawTextW\" (ByVal hDC As LongPtr, ByVal lpchText As LongPtr, ByVal nCount As Long, ByRef lpRect As RECT, ByVal uFormat As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawText Lib \"user32\" Alias \"DrawTextW\" (ByVal hDC As Long, ByVal lpchText As Long, ByVal nCount As Long, ByRef lpRect As RECT, ByVal uFormat As Long) As Long"}]},
+        {"name":"DrawTextEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawTextEx Lib \"user32\" Alias \"DrawTextExW\" (ByVal hDC As LongPtr, ByVal lpchText As LongPtr, ByVal nCount As Long, ByRef lpRect As RECT, ByVal uFormat As Long, ByRef lpDrawTextParams As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawTextEx Lib \"user32\" Alias \"DrawTextExW\" (ByVal hDC As Long, ByVal lpchText As Long, ByVal nCount As Long, ByRef lpRect As RECT, ByVal uFormat As Long, ByRef lpDrawTextParams As Any) As Long"}]},
+        {"name":"DrawThemeBackground","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementThemedControls = True) And VBA7","signature":"Private Declare PtrSafe Function DrawThemeBackground Lib \"uxtheme\" (ByVal Theme As LongPtr, ByVal hDC As LongPtr, ByVal iPartId As Long, ByVal iStateId As Long, ByRef pRect As RECT, ByRef pClipRect As Any) As Long"},{"cond":"(ImplementThemedControls = True) And Not (VBA7)","signature":"Private Declare Function DrawThemeBackground Lib \"uxtheme\" (ByVal Theme As Long, ByVal hDC As Long, ByVal iPartId As Long, ByVal iStateId As Long, ByRef pRect As RECT, ByRef pClipRect As Any) As Long"}]},
+        {"name":"DrawThemeParentBackground","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementThemedControls = True) And VBA7","signature":"Private Declare PtrSafe Function DrawThemeParentBackground Lib \"uxtheme\" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr, ByRef pRect As RECT) As Long"},{"cond":"(ImplementThemedControls = True) And Not (VBA7)","signature":"Private Declare Function DrawThemeParentBackground Lib \"uxtheme\" (ByVal hWnd As Long, ByVal hDC As Long, ByRef pRect As RECT) As Long"}]},
+        {"name":"DropFiles","kind":"event","vis":"public","signature":"Public Event DropFiles(ByRef FileList As Variant, ByVal X As Single, ByVal Y As Single)"},
+        {"name":"DropHighlight","kind":"property","vis":"public","signature":"Public Property Get DropHighlight() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"DropHighlight","kind":"property","vis":"public","signature":"Public Property Let DropHighlight(ByVal Value As Long)","accessor":"Let"},
+        {"name":"DropHighlightMode","kind":"property","vis":"public","signature":"Public Property Get DropHighlightMode() As FlexDropTargetModeConstants","returnType":"FlexDropTargetModeConstants","accessor":"Get"},
+        {"name":"DropHighlightMode","kind":"property","vis":"public","signature":"Public Property Let DropHighlightMode(ByVal Value As FlexDropTargetModeConstants)","accessor":"Let"},
+        {"name":"EC_LEFTMARGIN","kind":"const","vis":"private","signature":"Private Const EC_LEFTMARGIN As Long = &H1"},
+        {"name":"EC_RIGHTMARGIN","kind":"const","vis":"private","signature":"Private Const EC_RIGHTMARGIN As Long = &H2"},
+        {"name":"EM_GETLIMITTEXT","kind":"const","vis":"private","signature":"Private Const EM_GETLIMITTEXT As Long = &HD5"},
+        {"name":"EM_GETLINECOUNT","kind":"const","vis":"private","signature":"Private Const EM_GETLINECOUNT As Long = &HBA"},
+        {"name":"EM_GETMARGINS","kind":"const","vis":"private","signature":"Private Const EM_GETMARGINS As Long = &HD4"},
+        {"name":"EM_GETSEL","kind":"const","vis":"private","signature":"Private Const EM_GETSEL As Long = &HB0"},
+        {"name":"EM_LIMITTEXT","kind":"const","vis":"private","signature":"Private Const EM_LIMITTEXT As Long = &HC5"},
+        {"name":"EM_LINEFROMCHAR","kind":"const","vis":"private","signature":"Private Const EM_LINEFROMCHAR As Long = &HC9"},
+        {"name":"EM_LINEINDEX","kind":"const","vis":"private","signature":"Private Const EM_LINEINDEX As Long = &HBB"},
+        {"name":"EM_LINELENGTH","kind":"const","vis":"private","signature":"Private Const EM_LINELENGTH As Long = &HC1"},
+        {"name":"EM_REPLACESEL","kind":"const","vis":"private","signature":"Private Const EM_REPLACESEL As Long = &HC2"},
+        {"name":"EM_SETLIMITTEXT","kind":"const","vis":"private","signature":"Private Const EM_SETLIMITTEXT As Long = EM_LIMITTEXT"},
+        {"name":"EM_SETMARGINS","kind":"const","vis":"private","signature":"Private Const EM_SETMARGINS As Long = &HD3"},
+        {"name":"EM_SETREADONLY","kind":"const","vis":"private","signature":"Private Const EM_SETREADONLY As Long = &HCF"},
+        {"name":"EM_SETSEL","kind":"const","vis":"private","signature":"Private Const EM_SETSEL As Long = &HB1"},
+        {"name":"EN_CHANGE","kind":"const","vis":"private","signature":"Private Const EN_CHANGE As Long = &H300"},
+        {"name":"ES_AUTOHSCROLL","kind":"const","vis":"private","signature":"Private Const ES_AUTOHSCROLL As Long = &H80"},
+        {"name":"ES_AUTOVSCROLL","kind":"const","vis":"private","signature":"Private Const ES_AUTOVSCROLL As Long = &H40"},
+        {"name":"ES_CENTER","kind":"const","vis":"private","signature":"Private Const ES_CENTER As Long = &H1"},
+        {"name":"ES_LEFT","kind":"const","vis":"private","signature":"Private Const ES_LEFT As Long = &H0"},
+        {"name":"ES_MULTILINE","kind":"const","vis":"private","signature":"Private Const ES_MULTILINE As Long = &H4"},
+        {"name":"ES_READONLY","kind":"const","vis":"private","signature":"Private Const ES_READONLY As Long = &H800"},
+        {"name":"ES_RIGHT","kind":"const","vis":"private","signature":"Private Const ES_RIGHT As Long = &H2"},
+        {"name":"ETO_CLIPPED","kind":"const","vis":"private","signature":"Private Const ETO_CLIPPED As Long = 4"},
+        {"name":"ETO_OPAQUE","kind":"const","vis":"private","signature":"Private Const ETO_OPAQUE As Long = 2"},
+        {"name":"EditChange","kind":"event","vis":"public","signature":"Public Event EditChange()"},
+        {"name":"EditCloseMode","kind":"property","vis":"public","signature":"Public Property Get EditCloseMode() As FlexEditCloseModeConstants","returnType":"FlexEditCloseModeConstants","accessor":"Get"},
+        {"name":"EditCol","kind":"property","vis":"public","signature":"Public Property Get EditCol() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"EditContextMenu","kind":"event","vis":"public","signature":"Public Event EditContextMenu(ByRef Handled As Boolean, ByVal X As Single, ByVal Y As Single)"},
+        {"name":"EditKeyDown","kind":"event","vis":"public","signature":"Public Event EditKeyDown(KeyCode As Integer, Shift As Integer)"},
+        {"name":"EditKeyPress","kind":"event","vis":"public","signature":"Public Event EditKeyPress(KeyChar As Integer)"},
+        {"name":"EditKeyUp","kind":"event","vis":"public","signature":"Public Event EditKeyUp(KeyCode As Integer, Shift As Integer)"},
+        {"name":"EditLocked","kind":"property","vis":"public","signature":"Public Property Get EditLocked() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"EditLocked","kind":"property","vis":"public","signature":"Public Property Let EditLocked(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"EditMaxLength","kind":"property","vis":"public","signature":"Public Property Get EditMaxLength() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"EditMaxLength","kind":"property","vis":"public","signature":"Public Property Let EditMaxLength(ByVal Value As Long)","accessor":"Let"},
+        {"name":"EditQueryClose","kind":"event","vis":"public","signature":"Public Event EditQueryClose(ByVal CloseMode As FlexEditCloseModeConstants, ByRef Cancel As Boolean)"},
+        {"name":"EditReason","kind":"property","vis":"public","signature":"Public Property Get EditReason() As FlexEditReasonConstants","returnType":"FlexEditReasonConstants","accessor":"Get"},
+        {"name":"EditRow","kind":"property","vis":"public","signature":"Public Property Get EditRow() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"EditSelLength","kind":"property","vis":"public","signature":"Public Property Get EditSelLength() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"EditSelLength","kind":"property","vis":"public","signature":"Public Property Let EditSelLength(ByVal Value As Long)","accessor":"Let"},
+        {"name":"EditSelStart","kind":"property","vis":"public","signature":"Public Property Get EditSelStart() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"EditSelStart","kind":"property","vis":"public","signature":"Public Property Let EditSelStart(ByVal Value As Long)","accessor":"Let"},
+        {"name":"EditSelText","kind":"property","vis":"public","signature":"Public Property Get EditSelText() As String","returnType":"String","accessor":"Get"},
+        {"name":"EditSelText","kind":"property","vis":"public","signature":"Public Property Let EditSelText(ByVal Value As String)","accessor":"Let"},
+        {"name":"EditSetupStyle","kind":"event","vis":"public","signature":"Public Event EditSetupStyle(ByRef dwStyle As Long, ByRef dwExStyle As Long)"},
+        {"name":"EditSetupWindow","kind":"event","vis":"public","signature":"Public Event EditSetupWindow(ByRef BackColor As OLE_COLOR, ByRef ForeColor As OLE_COLOR)"},
+        {"name":"EditText","kind":"property","vis":"public","signature":"Public Property Get EditText() As String","returnType":"String","accessor":"Get"},
+        {"name":"EditText","kind":"property","vis":"public","signature":"Public Property Let EditText(ByVal Value As String)","accessor":"Let"},
+        {"name":"EllipsisFormat","kind":"property","vis":"public","signature":"Public Property Get EllipsisFormat() As FlexEllipsisFormatConstants","returnType":"FlexEllipsisFormatConstants","accessor":"Get"},
+        {"name":"EllipsisFormat","kind":"property","vis":"public","signature":"Public Property Let EllipsisFormat(ByVal Value As FlexEllipsisFormatConstants)","accessor":"Let"},
+        {"name":"EllipsisFormatFixed","kind":"property","vis":"public","signature":"Public Property Get EllipsisFormatFixed() As FlexEllipsisFormatConstants","returnType":"FlexEllipsisFormatConstants","accessor":"Get"},
+        {"name":"EllipsisFormatFixed","kind":"property","vis":"public","signature":"Public Property Let EllipsisFormatFixed(ByVal Value As FlexEllipsisFormatConstants)","accessor":"Let"},
+        {"name":"EnableWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function EnableWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal fEnable As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function EnableWindow Lib \"user32\" (ByVal hWnd As Long, ByVal fEnable As Long) As Long"}]},
+        {"name":"Enabled","kind":"property","vis":"public","signature":"Public Property Get Enabled() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"Enabled","kind":"property","vis":"public","signature":"Public Property Let Enabled(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"EndIncrementalSearch","kind":"event","vis":"public","signature":"Public Event EndIncrementalSearch(ByVal Row As Long, ByVal Col As Long)"},
+        {"name":"EndPaint","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function EndPaint Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpPaint As PAINTSTRUCT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function EndPaint Lib \"user32\" (ByVal hWnd As Long, ByRef lpPaint As PAINTSTRUCT) As Long"}]},
+        {"name":"EnterCell","kind":"event","vis":"public","signature":"Public Event EnterCell()"},
+        {"name":"EnterEdit","kind":"event","vis":"public","signature":"Public Event EnterEdit()"},
+        {"name":"EraseFlexGridCells","kind":"sub","vis":"private","signature":"Private Sub EraseFlexGridCells()"},
+        {"name":"ExpandSelectedRows","kind":"function","vis":"private","signature":"Private Function ExpandSelectedRows(Optional ByVal Initialize As Boolean) As Boolean","returnType":"Boolean"},
+        {"name":"ExtSelectClipRgn","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ExtSelectClipRgn Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal hRgn As LongPtr, ByVal fnMode As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ExtSelectClipRgn Lib \"gdi32\" (ByVal hDC As Long, ByVal hRgn As Long, ByVal fnMode As Long) As Long"}]},
+        {"name":"ExtTextOut","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ExtTextOut Lib \"gdi32\" Alias \"ExtTextOutW\" (ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal wOptions As Long, ByRef lpRect As Any, ByVal lpString As LongPtr, ByVal nCount As Long, ByVal lpDX As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ExtTextOut Lib \"gdi32\" Alias \"ExtTextOutW\" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByVal wOptions As Long, ByRef lpRect As Any, ByVal lpString As Long, ByVal nCount As Long, ByVal lpDX As Long) As Long"}]},
+        {"name":"ExtendLastCol","kind":"property","vis":"public","signature":"Public Property Get ExtendLastCol() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ExtendLastCol","kind":"property","vis":"public","signature":"Public Property Let ExtendLastCol(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"FReaderModeScroll","kind":"sub","vis":"friend","signature":"Friend Sub FReaderModeScroll(ByVal DX As Long, ByVal DY As Long)"},
+        {"name":"FS_BOLD","kind":"const","vis":"private","signature":"Private Const FS_BOLD As Integer = &H1"},
+        {"name":"FS_ITALIC","kind":"const","vis":"private","signature":"Private Const FS_ITALIC As Integer = &H2"},
+        {"name":"FS_STRIKEOUT","kind":"const","vis":"private","signature":"Private Const FS_STRIKEOUT As Integer = &H8"},
+        {"name":"FS_UNDERLINE","kind":"const","vis":"private","signature":"Private Const FS_UNDERLINE As Integer = &H4"},
+        {"name":"FSubclass_Message","kind":"function","vis":"friend","signatures":[{"cond":"VBA7","signature":"Friend Function FSubclass_Message(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByVal dwRefData As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Friend Function FSubclass_Message(ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal dwRefData As Long) As Long","returnType":"Long"}]},
+        {"name":"FillRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FillRect Lib \"user32\" (ByVal hDC As LongPtr, ByRef lpRect As RECT, ByVal hBrush As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FillRect Lib \"user32\" (ByVal hDC As Long, ByRef lpRect As RECT, ByVal hBrush As Long) As Long"}]},
+        {"name":"FillStyle","kind":"property","vis":"public","signature":"Public Property Get FillStyle() As FlexFillStyleConstants","returnType":"FlexFillStyleConstants","accessor":"Get"},
+        {"name":"FillStyle","kind":"property","vis":"public","signature":"Public Property Let FillStyle(ByVal Value As FlexFillStyleConstants)","accessor":"Let"},
+        {"name":"FindItem","kind":"function","vis":"public","signature":"Public Function FindItem(ByVal Text As String, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal Match As FlexFindMatchConstants, Optional ByVal CaseSensitive As Boolean, Optional ByVal ExcludeHidden As Boolean, Optional ByVal Wrap As Boolean, Optional ByVal Direction As FlexFindDirectionConstants, Optional ByVal TextDisplay As Boolean) As Long","returnType":"Long"},
+        {"name":"FindTag","kind":"function","vis":"public","signature":"Public Function FindTag(ByVal Value As Variant, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal Match As FlexFindMatchConstants, Optional ByVal CaseSensitive As Boolean, Optional ByVal ExcludeHidden As Boolean, Optional ByVal Wrap As Boolean, Optional ByVal Direction As FlexFindDirectionConstants, Optional ByVal AllowCoercing As Boolean) As Long","returnType":"Long"},
+        {"name":"FixGridLineOffsets","kind":"property","vis":"public","signature":"Public Property Get FixGridLineOffsets() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"FixGridLineOffsets","kind":"property","vis":"public","signature":"Public Property Let FixGridLineOffsets(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"FixedAlignment","kind":"property","vis":"public","signature":"Public Property Get FixedAlignment(ByVal Index As Long) As FlexAlignmentConstants","returnType":"FlexAlignmentConstants","accessor":"Get"},
+        {"name":"FixedAlignment","kind":"property","vis":"public","signature":"Public Property Let FixedAlignment(ByVal Index As Long, ByVal Value As FlexAlignmentConstants)","accessor":"Let"},
+        {"name":"FixedCheckBoxAlignment","kind":"property","vis":"public","signature":"Public Property Get FixedCheckBoxAlignment(ByVal Index As Long) As FlexCheckBoxAlignmentConstants","returnType":"FlexCheckBoxAlignmentConstants","accessor":"Get"},
+        {"name":"FixedCheckBoxAlignment","kind":"property","vis":"public","signature":"Public Property Let FixedCheckBoxAlignment(ByVal Index As Long, ByVal Value As FlexCheckBoxAlignmentConstants)","accessor":"Let"},
+        {"name":"FixedCols","kind":"property","vis":"public","signature":"Public Property Get FixedCols() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FixedCols","kind":"property","vis":"public","signature":"Public Property Let FixedCols(ByVal Value As Long)","accessor":"Let"},
+        {"name":"FixedColsVisible","kind":"property","vis":"public","signature":"Public Property Get FixedColsVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FixedFormat","kind":"property","vis":"public","signature":"Public Property Get FixedFormat(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"FixedFormat","kind":"property","vis":"public","signature":"Public Property Let FixedFormat(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"FixedRows","kind":"property","vis":"public","signature":"Public Property Get FixedRows() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FixedRows","kind":"property","vis":"public","signature":"Public Property Let FixedRows(ByVal Value As Long)","accessor":"Let"},
+        {"name":"FixedRowsVisible","kind":"property","vis":"public","signature":"Public Property Get FixedRowsVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FlexAlignmentCenterBottom","kind":"field","vis":"private","signature":"Private FlexAlignmentCenterBottom"},
+        {"name":"FlexAlignmentCenterCenter","kind":"field","vis":"private","signature":"Private FlexAlignmentCenterCenter"},
+        {"name":"FlexAlignmentCenterTop","kind":"field","vis":"private","signature":"Private FlexAlignmentCenterTop"},
+        {"name":"FlexAlignmentGeneral","kind":"field","vis":"private","signature":"Private FlexAlignmentGeneral"},
+        {"name":"FlexAlignmentGeneralBottom","kind":"field","vis":"private","signature":"Private FlexAlignmentGeneralBottom"},
+        {"name":"FlexAlignmentGeneralCenter","kind":"field","vis":"private","signature":"Private FlexAlignmentGeneralCenter"},
+        {"name":"FlexAlignmentGeneralTop","kind":"field","vis":"private","signature":"Private FlexAlignmentGeneralTop"},
+        {"name":"FlexAlignmentLeftBottom","kind":"field","vis":"private","signature":"Private FlexAlignmentLeftBottom"},
+        {"name":"FlexAlignmentLeftCenter","kind":"field","vis":"private","signature":"Private FlexAlignmentLeftCenter"},
+        {"name":"FlexAlignmentLeftTop","kind":"field","vis":"private","signature":"Private FlexAlignmentLeftTop"},
+        {"name":"FlexAlignmentRightBottom","kind":"field","vis":"private","signature":"Private FlexAlignmentRightBottom"},
+        {"name":"FlexAlignmentRightCenter","kind":"field","vis":"private","signature":"Private FlexAlignmentRightCenter"},
+        {"name":"FlexAlignmentRightTop","kind":"field","vis":"private","signature":"Private FlexAlignmentRightTop"},
+        {"name":"FlexAllowUserFreezingBoth","kind":"field","vis":"private","signature":"Private FlexAllowUserFreezingBoth"},
+        {"name":"FlexAllowUserFreezingColumns","kind":"field","vis":"private","signature":"Private FlexAllowUserFreezingColumns"},
+        {"name":"FlexAllowUserFreezingNone","kind":"field","vis":"private","signature":"Private FlexAllowUserFreezingNone"},
+        {"name":"FlexAllowUserFreezingRows","kind":"field","vis":"private","signature":"Private FlexAllowUserFreezingRows"},
+        {"name":"FlexAllowUserResizingBoth","kind":"field","vis":"private","signature":"Private FlexAllowUserResizingBoth"},
+        {"name":"FlexAllowUserResizingColumns","kind":"field","vis":"private","signature":"Private FlexAllowUserResizingColumns"},
+        {"name":"FlexAllowUserResizingNone","kind":"field","vis":"private","signature":"Private FlexAllowUserResizingNone"},
+        {"name":"FlexAllowUserResizingRows","kind":"field","vis":"private","signature":"Private FlexAllowUserResizingRows"},
+        {"name":"FlexAutoSizeModeColWidth","kind":"field","vis":"private","signature":"Private FlexAutoSizeModeColWidth"},
+        {"name":"FlexAutoSizeModeRowHeight","kind":"field","vis":"private","signature":"Private FlexAutoSizeModeRowHeight"},
+        {"name":"FlexAutoSizeScopeAll","kind":"field","vis":"private","signature":"Private FlexAutoSizeScopeAll"},
+        {"name":"FlexAutoSizeScopeFixed","kind":"field","vis":"private","signature":"Private FlexAutoSizeScopeFixed"},
+        {"name":"FlexAutoSizeScopeFrozen","kind":"field","vis":"private","signature":"Private FlexAutoSizeScopeFrozen"},
+        {"name":"FlexAutoSizeScopeMovable","kind":"field","vis":"private","signature":"Private FlexAutoSizeScopeMovable"},
+        {"name":"FlexAutoSizeScopeScrollable","kind":"field","vis":"private","signature":"Private FlexAutoSizeScopeScrollable"},
+        {"name":"FlexBestFitModeFull","kind":"field","vis":"private","signature":"Private FlexBestFitModeFull"},
+        {"name":"FlexBestFitModeOtherText","kind":"field","vis":"private","signature":"Private FlexBestFitModeOtherText"},
+        {"name":"FlexBestFitModeSortArrowText","kind":"field","vis":"private","signature":"Private FlexBestFitModeSortArrowText"},
+        {"name":"FlexBestFitModeTextOnly","kind":"field","vis":"private","signature":"Private FlexBestFitModeTextOnly"},
+        {"name":"FlexBorderStyleNone","kind":"field","vis":"private","signature":"Private FlexBorderStyleNone"},
+        {"name":"FlexBorderStyleRaised","kind":"field","vis":"private","signature":"Private FlexBorderStyleRaised"},
+        {"name":"FlexBorderStyleSingle","kind":"field","vis":"private","signature":"Private FlexBorderStyleSingle"},
+        {"name":"FlexBorderStyleSunken","kind":"field","vis":"private","signature":"Private FlexBorderStyleSunken"},
+        {"name":"FlexBorderStyleThin","kind":"field","vis":"private","signature":"Private FlexBorderStyleThin"},
+        {"name":"FlexCellAlignment","kind":"field","vis":"private","signature":"Private FlexCellAlignment"},
+        {"name":"FlexCellBackColor","kind":"field","vis":"private","signature":"Private FlexCellBackColor"},
+        {"name":"FlexCellCheckReasonKeyboard","kind":"field","vis":"private","signature":"Private FlexCellCheckReasonKeyboard"},
+        {"name":"FlexCellCheckReasonMouse","kind":"field","vis":"private","signature":"Private FlexCellCheckReasonMouse"},
+        {"name":"FlexCellChecked","kind":"field","vis":"private","signature":"Private FlexCellChecked"},
+        {"name":"FlexCellClip","kind":"field","vis":"private","signature":"Private FlexCellClip"},
+        {"name":"FlexCellComboCue","kind":"field","vis":"private","signature":"Private FlexCellComboCue"},
+        {"name":"FlexCellFloodColor","kind":"field","vis":"private","signature":"Private FlexCellFloodColor"},
+        {"name":"FlexCellFloodPercent","kind":"field","vis":"private","signature":"Private FlexCellFloodPercent"},
+        {"name":"FlexCellFontBold","kind":"field","vis":"private","signature":"Private FlexCellFontBold"},
+        {"name":"FlexCellFontCharset","kind":"field","vis":"private","signature":"Private FlexCellFontCharset"},
+        {"name":"FlexCellFontItalic","kind":"field","vis":"private","signature":"Private FlexCellFontItalic"},
+        {"name":"FlexCellFontName","kind":"field","vis":"private","signature":"Private FlexCellFontName"},
+        {"name":"FlexCellFontSize","kind":"field","vis":"private","signature":"Private FlexCellFontSize"},
+        {"name":"FlexCellFontStrikeThrough","kind":"field","vis":"private","signature":"Private FlexCellFontStrikeThrough"},
+        {"name":"FlexCellFontUnderline","kind":"field","vis":"private","signature":"Private FlexCellFontUnderline"},
+        {"name":"FlexCellForeColor","kind":"field","vis":"private","signature":"Private FlexCellForeColor"},
+        {"name":"FlexCellHasCustomFormatting","kind":"field","vis":"private","signature":"Private FlexCellHasCustomFormatting"},
+        {"name":"FlexCellHasTag","kind":"field","vis":"private","signature":"Private FlexCellHasTag"},
+        {"name":"FlexCellHeight","kind":"field","vis":"private","signature":"Private FlexCellHeight"},
+        {"name":"FlexCellLeft","kind":"field","vis":"private","signature":"Private FlexCellLeft"},
+        {"name":"FlexCellPicture","kind":"field","vis":"private","signature":"Private FlexCellPicture"},
+        {"name":"FlexCellPictureAlignment","kind":"field","vis":"private","signature":"Private FlexCellPictureAlignment"},
+        {"name":"FlexCellSort","kind":"field","vis":"private","signature":"Private FlexCellSort"},
+        {"name":"FlexCellTag","kind":"field","vis":"private","signature":"Private FlexCellTag"},
+        {"name":"FlexCellText","kind":"field","vis":"private","signature":"Private FlexCellText"},
+        {"name":"FlexCellTextDisplay","kind":"field","vis":"private","signature":"Private FlexCellTextDisplay"},
+        {"name":"FlexCellTextHidden","kind":"field","vis":"private","signature":"Private FlexCellTextHidden"},
+        {"name":"FlexCellTextStyle","kind":"field","vis":"private","signature":"Private FlexCellTextStyle"},
+        {"name":"FlexCellToolTipText","kind":"field","vis":"private","signature":"Private FlexCellToolTipText"},
+        {"name":"FlexCellTop","kind":"field","vis":"private","signature":"Private FlexCellTop"},
+        {"name":"FlexCellWidth","kind":"field","vis":"private","signature":"Private FlexCellWidth"},
+        {"name":"FlexCheckBoxAlignmentCenterBottom","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentCenterBottom"},
+        {"name":"FlexCheckBoxAlignmentCenterCenter","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentCenterCenter"},
+        {"name":"FlexCheckBoxAlignmentCenterTop","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentCenterTop"},
+        {"name":"FlexCheckBoxAlignmentLeftBottom","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentLeftBottom"},
+        {"name":"FlexCheckBoxAlignmentLeftCenter","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentLeftCenter"},
+        {"name":"FlexCheckBoxAlignmentLeftTop","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentLeftTop"},
+        {"name":"FlexCheckBoxAlignmentRightBottom","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentRightBottom"},
+        {"name":"FlexCheckBoxAlignmentRightCenter","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentRightCenter"},
+        {"name":"FlexCheckBoxAlignmentRightTop","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentRightTop"},
+        {"name":"FlexCheckBoxAlignmentUsePictureAlignment","kind":"field","vis":"private","signature":"Private FlexCheckBoxAlignmentUsePictureAlignment"},
+        {"name":"FlexCheckBoxDrawModeNormal","kind":"field","vis":"private","signature":"Private FlexCheckBoxDrawModeNormal"},
+        {"name":"FlexCheckBoxDrawModeOwnerDraw","kind":"field","vis":"private","signature":"Private FlexCheckBoxDrawModeOwnerDraw"},
+        {"name":"FlexChecked","kind":"field","vis":"private","signature":"Private FlexChecked"},
+        {"name":"FlexClearClip","kind":"field","vis":"private","signature":"Private FlexClearClip"},
+        {"name":"FlexClearEverything","kind":"field","vis":"private","signature":"Private FlexClearEverything"},
+        {"name":"FlexClearEverywhere","kind":"field","vis":"private","signature":"Private FlexClearEverywhere"},
+        {"name":"FlexClearFixed","kind":"field","vis":"private","signature":"Private FlexClearFixed"},
+        {"name":"FlexClearFormatting","kind":"field","vis":"private","signature":"Private FlexClearFormatting"},
+        {"name":"FlexClearFrozen","kind":"field","vis":"private","signature":"Private FlexClearFrozen"},
+        {"name":"FlexClearMovable","kind":"field","vis":"private","signature":"Private FlexClearMovable"},
+        {"name":"FlexClearScrollable","kind":"field","vis":"private","signature":"Private FlexClearScrollable"},
+        {"name":"FlexClearSelection","kind":"field","vis":"private","signature":"Private FlexClearSelection"},
+        {"name":"FlexClearTag","kind":"field","vis":"private","signature":"Private FlexClearTag"},
+        {"name":"FlexClearText","kind":"field","vis":"private","signature":"Private FlexClearText"},
+        {"name":"FlexClipCopyModeExtended","kind":"field","vis":"private","signature":"Private FlexClipCopyModeExtended"},
+        {"name":"FlexClipCopyModeExtendedFixedAll","kind":"field","vis":"private","signature":"Private FlexClipCopyModeExtendedFixedAll"},
+        {"name":"FlexClipCopyModeExtendedFixedColumns","kind":"field","vis":"private","signature":"Private FlexClipCopyModeExtendedFixedColumns"},
+        {"name":"FlexClipCopyModeExtendedFixedRows","kind":"field","vis":"private","signature":"Private FlexClipCopyModeExtendedFixedRows"},
+        {"name":"FlexClipCopyModeIncludeFixedAll","kind":"field","vis":"private","signature":"Private FlexClipCopyModeIncludeFixedAll"},
+        {"name":"FlexClipCopyModeIncludeFixedColumns","kind":"field","vis":"private","signature":"Private FlexClipCopyModeIncludeFixedColumns"},
+        {"name":"FlexClipCopyModeIncludeFixedRows","kind":"field","vis":"private","signature":"Private FlexClipCopyModeIncludeFixedRows"},
+        {"name":"FlexClipCopyModeNormal","kind":"field","vis":"private","signature":"Private FlexClipCopyModeNormal"},
+        {"name":"FlexClipModeExcludeHidden","kind":"field","vis":"private","signature":"Private FlexClipModeExcludeHidden"},
+        {"name":"FlexClipModeLookupConv","kind":"field","vis":"private","signature":"Private FlexClipModeLookupConv"},
+        {"name":"FlexClipModeLookupConvExcludeHidden","kind":"field","vis":"private","signature":"Private FlexClipModeLookupConvExcludeHidden"},
+        {"name":"FlexClipModeNormal","kind":"field","vis":"private","signature":"Private FlexClipModeNormal"},
+        {"name":"FlexClipPasteModeAutoSelection","kind":"field","vis":"private","signature":"Private FlexClipPasteModeAutoSelection"},
+        {"name":"FlexClipPasteModeExtended","kind":"field","vis":"private","signature":"Private FlexClipPasteModeExtended"},
+        {"name":"FlexClipPasteModeExtendedAutoSelection","kind":"field","vis":"private","signature":"Private FlexClipPasteModeExtendedAutoSelection"},
+        {"name":"FlexClipPasteModeNormal","kind":"field","vis":"private","signature":"Private FlexClipPasteModeNormal"},
+        {"name":"FlexClipboardActionCopy","kind":"field","vis":"private","signature":"Private FlexClipboardActionCopy"},
+        {"name":"FlexClipboardActionCut","kind":"field","vis":"private","signature":"Private FlexClipboardActionCut"},
+        {"name":"FlexClipboardActionDelete","kind":"field","vis":"private","signature":"Private FlexClipboardActionDelete"},
+        {"name":"FlexClipboardActionPaste","kind":"field","vis":"private","signature":"Private FlexClipboardActionPaste"},
+        {"name":"FlexColumnMajor","kind":"field","vis":"private","signature":"Private FlexColumnMajor"},
+        {"name":"FlexComboButtonDrawModeNormal","kind":"field","vis":"private","signature":"Private FlexComboButtonDrawModeNormal"},
+        {"name":"FlexComboButtonDrawModeOwnerDraw","kind":"field","vis":"private","signature":"Private FlexComboButtonDrawModeOwnerDraw"},
+        {"name":"FlexComboButtonValueDisabled","kind":"field","vis":"private","signature":"Private FlexComboButtonValueDisabled"},
+        {"name":"FlexComboButtonValuePressed","kind":"field","vis":"private","signature":"Private FlexComboButtonValuePressed"},
+        {"name":"FlexComboButtonValueUnpressed","kind":"field","vis":"private","signature":"Private FlexComboButtonValueUnpressed"},
+        {"name":"FlexComboCueButton","kind":"field","vis":"private","signature":"Private FlexComboCueButton"},
+        {"name":"FlexComboCueDisabledButton","kind":"field","vis":"private","signature":"Private FlexComboCueDisabledButton"},
+        {"name":"FlexComboCueDisabledDropDown","kind":"field","vis":"private","signature":"Private FlexComboCueDisabledDropDown"},
+        {"name":"FlexComboCueDropDown","kind":"field","vis":"private","signature":"Private FlexComboCueDropDown"},
+        {"name":"FlexComboCueHidden","kind":"field","vis":"private","signature":"Private FlexComboCueHidden"},
+        {"name":"FlexComboCueNone","kind":"field","vis":"private","signature":"Private FlexComboCueNone"},
+        {"name":"FlexComboDropDownReasonCode","kind":"field","vis":"private","signature":"Private FlexComboDropDownReasonCode"},
+        {"name":"FlexComboDropDownReasonInitialize","kind":"field","vis":"private","signature":"Private FlexComboDropDownReasonInitialize"},
+        {"name":"FlexComboDropDownReasonKeyboard","kind":"field","vis":"private","signature":"Private FlexComboDropDownReasonKeyboard"},
+        {"name":"FlexComboDropDownReasonMouse","kind":"field","vis":"private","signature":"Private FlexComboDropDownReasonMouse"},
+        {"name":"FlexComboModeButton","kind":"field","vis":"private","signature":"Private FlexComboModeButton"},
+        {"name":"FlexComboModeCalendar","kind":"field","vis":"private","signature":"Private FlexComboModeCalendar"},
+        {"name":"FlexComboModeDropDown","kind":"field","vis":"private","signature":"Private FlexComboModeDropDown"},
+        {"name":"FlexComboModeEditable","kind":"field","vis":"private","signature":"Private FlexComboModeEditable"},
+        {"name":"FlexComboModeNone","kind":"field","vis":"private","signature":"Private FlexComboModeNone"},
+        {"name":"FlexDataSource","kind":"property","vis":"public","signature":"Public Property Get FlexDataSource() As IVBFlexDataSource","returnType":"IVBFlexDataSource","accessor":"Get"},
+        {"name":"FlexDataSource","kind":"property","vis":"public","signature":"Public Property Let FlexDataSource(ByVal Value As IVBFlexDataSource)","accessor":"Let"},
+        {"name":"FlexDataSource","kind":"property","vis":"public","signature":"Public Property Set FlexDataSource(ByVal Value As IVBFlexDataSource)","accessor":"Set"},
+        {"name":"FlexDataSourceChecked","kind":"field","vis":"private","signature":"Private FlexDataSourceChecked"},
+        {"name":"FlexDataSourceNoData","kind":"field","vis":"private","signature":"Private FlexDataSourceNoData"},
+        {"name":"FlexDataSourceNoFieldNames","kind":"field","vis":"private","signature":"Private FlexDataSourceNoFieldNames"},
+        {"name":"FlexDataSourceToolTipText","kind":"field","vis":"private","signature":"Private FlexDataSourceToolTipText"},
+        {"name":"FlexDataSourceUnboundFixedColumns","kind":"field","vis":"private","signature":"Private FlexDataSourceUnboundFixedColumns"},
+        {"name":"FlexDirectionAfterReturnDown","kind":"field","vis":"private","signature":"Private FlexDirectionAfterReturnDown"},
+        {"name":"FlexDirectionAfterReturnEdit","kind":"field","vis":"private","signature":"Private FlexDirectionAfterReturnEdit"},
+        {"name":"FlexDirectionAfterReturnLeft","kind":"field","vis":"private","signature":"Private FlexDirectionAfterReturnLeft"},
+        {"name":"FlexDirectionAfterReturnNone","kind":"field","vis":"private","signature":"Private FlexDirectionAfterReturnNone"},
+        {"name":"FlexDirectionAfterReturnRight","kind":"field","vis":"private","signature":"Private FlexDirectionAfterReturnRight"},
+        {"name":"FlexDirectionAfterReturnUp","kind":"field","vis":"private","signature":"Private FlexDirectionAfterReturnUp"},
+        {"name":"FlexDisabledChecked","kind":"field","vis":"private","signature":"Private FlexDisabledChecked"},
+        {"name":"FlexDisabledGrayed","kind":"field","vis":"private","signature":"Private FlexDisabledGrayed"},
+        {"name":"FlexDisabledTextAsCheckBox","kind":"field","vis":"private","signature":"Private FlexDisabledTextAsCheckBox"},
+        {"name":"FlexDisabledUnchecked","kind":"field","vis":"private","signature":"Private FlexDisabledUnchecked"},
+        {"name":"FlexDropTargetModeByColumn","kind":"field","vis":"private","signature":"Private FlexDropTargetModeByColumn"},
+        {"name":"FlexDropTargetModeByRow","kind":"field","vis":"private","signature":"Private FlexDropTargetModeByRow"},
+        {"name":"FlexEditCloseModeCode","kind":"field","vis":"private","signature":"Private FlexEditCloseModeCode"},
+        {"name":"FlexEditCloseModeEscape","kind":"field","vis":"private","signature":"Private FlexEditCloseModeEscape"},
+        {"name":"FlexEditCloseModeLostFocus","kind":"field","vis":"private","signature":"Private FlexEditCloseModeLostFocus"},
+        {"name":"FlexEditCloseModeNavigationKey","kind":"field","vis":"private","signature":"Private FlexEditCloseModeNavigationKey"},
+        {"name":"FlexEditCloseModeReturn","kind":"field","vis":"private","signature":"Private FlexEditCloseModeReturn"},
+        {"name":"FlexEditCloseModeShiftTab","kind":"field","vis":"private","signature":"Private FlexEditCloseModeShiftTab"},
+        {"name":"FlexEditCloseModeTab","kind":"field","vis":"private","signature":"Private FlexEditCloseModeTab"},
+        {"name":"FlexEditReasonBackSpace","kind":"field","vis":"private","signature":"Private FlexEditReasonBackSpace"},
+        {"name":"FlexEditReasonCode","kind":"field","vis":"private","signature":"Private FlexEditReasonCode"},
+        {"name":"FlexEditReasonComboCueAltUpDown","kind":"field","vis":"private","signature":"Private FlexEditReasonComboCueAltUpDown"},
+        {"name":"FlexEditReasonComboCueClick","kind":"field","vis":"private","signature":"Private FlexEditReasonComboCueClick"},
+        {"name":"FlexEditReasonComboCueDblClick","kind":"field","vis":"private","signature":"Private FlexEditReasonComboCueDblClick"},
+        {"name":"FlexEditReasonComboCueF4","kind":"field","vis":"private","signature":"Private FlexEditReasonComboCueF4"},
+        {"name":"FlexEditReasonDblClick","kind":"field","vis":"private","signature":"Private FlexEditReasonDblClick"},
+        {"name":"FlexEditReasonF2","kind":"field","vis":"private","signature":"Private FlexEditReasonF2"},
+        {"name":"FlexEditReasonKeyPress","kind":"field","vis":"private","signature":"Private FlexEditReasonKeyPress"},
+        {"name":"FlexEditReasonReturn","kind":"field","vis":"private","signature":"Private FlexEditReasonReturn"},
+        {"name":"FlexEditReasonSpace","kind":"field","vis":"private","signature":"Private FlexEditReasonSpace"},
+        {"name":"FlexEllipsisFormatEnd","kind":"field","vis":"private","signature":"Private FlexEllipsisFormatEnd"},
+        {"name":"FlexEllipsisFormatNone","kind":"field","vis":"private","signature":"Private FlexEllipsisFormatNone"},
+        {"name":"FlexEllipsisFormatPath","kind":"field","vis":"private","signature":"Private FlexEllipsisFormatPath"},
+        {"name":"FlexEllipsisFormatWord","kind":"field","vis":"private","signature":"Private FlexEllipsisFormatWord"},
+        {"name":"FlexEndEllipsis","kind":"field","vis":"private","signature":"Private FlexEndEllipsis"},
+        {"name":"FlexFillStyleRepeat","kind":"field","vis":"private","signature":"Private FlexFillStyleRepeat"},
+        {"name":"FlexFillStyleSingle","kind":"field","vis":"private","signature":"Private FlexFillStyleSingle"},
+        {"name":"FlexFindDirectionDown","kind":"field","vis":"private","signature":"Private FlexFindDirectionDown"},
+        {"name":"FlexFindDirectionLeft","kind":"field","vis":"private","signature":"Private FlexFindDirectionLeft"},
+        {"name":"FlexFindDirectionRight","kind":"field","vis":"private","signature":"Private FlexFindDirectionRight"},
+        {"name":"FlexFindDirectionUp","kind":"field","vis":"private","signature":"Private FlexFindDirectionUp"},
+        {"name":"FlexFindMatchEndsWith","kind":"field","vis":"private","signature":"Private FlexFindMatchEndsWith"},
+        {"name":"FlexFindMatchExact","kind":"field","vis":"private","signature":"Private FlexFindMatchExact"},
+        {"name":"FlexFindMatchPartial","kind":"field","vis":"private","signature":"Private FlexFindMatchPartial"},
+        {"name":"FlexFindMatchStartsWith","kind":"field","vis":"private","signature":"Private FlexFindMatchStartsWith"},
+        {"name":"FlexFocusRectFlat","kind":"field","vis":"private","signature":"Private FlexFocusRectFlat"},
+        {"name":"FlexFocusRectHeavy","kind":"field","vis":"private","signature":"Private FlexFocusRectHeavy"},
+        {"name":"FlexFocusRectLight","kind":"field","vis":"private","signature":"Private FlexFocusRectLight"},
+        {"name":"FlexFocusRectNone","kind":"field","vis":"private","signature":"Private FlexFocusRectNone"},
+        {"name":"FlexFontQualityAntiAliased","kind":"field","vis":"private","signature":"Private FlexFontQualityAntiAliased"},
+        {"name":"FlexFontQualityClearType","kind":"field","vis":"private","signature":"Private FlexFontQualityClearType"},
+        {"name":"FlexFontQualityClearTypeNatural","kind":"field","vis":"private","signature":"Private FlexFontQualityClearTypeNatural"},
+        {"name":"FlexFontQualityDefault","kind":"field","vis":"private","signature":"Private FlexFontQualityDefault"},
+        {"name":"FlexFontQualityDraft","kind":"field","vis":"private","signature":"Private FlexFontQualityDraft"},
+        {"name":"FlexFontQualityNonAntiAliased","kind":"field","vis":"private","signature":"Private FlexFontQualityNonAntiAliased"},
+        {"name":"FlexFontQualityProof","kind":"field","vis":"private","signature":"Private FlexFontQualityProof"},
+        {"name":"FlexGrayed","kind":"field","vis":"private","signature":"Private FlexGrayed"},
+        {"name":"FlexGridLineDashes","kind":"field","vis":"private","signature":"Private FlexGridLineDashes"},
+        {"name":"FlexGridLineDashesHorz","kind":"field","vis":"private","signature":"Private FlexGridLineDashesHorz"},
+        {"name":"FlexGridLineDashesVert","kind":"field","vis":"private","signature":"Private FlexGridLineDashesVert"},
+        {"name":"FlexGridLineDots","kind":"field","vis":"private","signature":"Private FlexGridLineDots"},
+        {"name":"FlexGridLineDotsHorz","kind":"field","vis":"private","signature":"Private FlexGridLineDotsHorz"},
+        {"name":"FlexGridLineDotsVert","kind":"field","vis":"private","signature":"Private FlexGridLineDotsVert"},
+        {"name":"FlexGridLineFlat","kind":"field","vis":"private","signature":"Private FlexGridLineFlat"},
+        {"name":"FlexGridLineFlatHorz","kind":"field","vis":"private","signature":"Private FlexGridLineFlatHorz"},
+        {"name":"FlexGridLineFlatVert","kind":"field","vis":"private","signature":"Private FlexGridLineFlatVert"},
+        {"name":"FlexGridLineInset","kind":"field","vis":"private","signature":"Private FlexGridLineInset"},
+        {"name":"FlexGridLineInsetHorz","kind":"field","vis":"private","signature":"Private FlexGridLineInsetHorz"},
+        {"name":"FlexGridLineInsetVert","kind":"field","vis":"private","signature":"Private FlexGridLineInsetVert"},
+        {"name":"FlexGridLineNone","kind":"field","vis":"private","signature":"Private FlexGridLineNone"},
+        {"name":"FlexGridLineRaised","kind":"field","vis":"private","signature":"Private FlexGridLineRaised"},
+        {"name":"FlexGridLineRaisedHorz","kind":"field","vis":"private","signature":"Private FlexGridLineRaisedHorz"},
+        {"name":"FlexGridLineRaisedVert","kind":"field","vis":"private","signature":"Private FlexGridLineRaisedVert"},
+        {"name":"FlexHighLightAlways","kind":"field","vis":"private","signature":"Private FlexHighLightAlways"},
+        {"name":"FlexHighLightAlwaysFocusRect","kind":"field","vis":"private","signature":"Private FlexHighLightAlwaysFocusRect"},
+        {"name":"FlexHighLightNever","kind":"field","vis":"private","signature":"Private FlexHighLightNever"},
+        {"name":"FlexHighLightWithFocus","kind":"field","vis":"private","signature":"Private FlexHighLightWithFocus"},
+        {"name":"FlexHitResultCell","kind":"field","vis":"private","signature":"Private FlexHitResultCell"},
+        {"name":"FlexHitResultCheckBox","kind":"field","vis":"private","signature":"Private FlexHitResultCheckBox"},
+        {"name":"FlexHitResultCheckBoxDisabled","kind":"field","vis":"private","signature":"Private FlexHitResultCheckBoxDisabled"},
+        {"name":"FlexHitResultComboCue","kind":"field","vis":"private","signature":"Private FlexHitResultComboCue"},
+        {"name":"FlexHitResultComboCueDisabled","kind":"field","vis":"private","signature":"Private FlexHitResultComboCueDisabled"},
+        {"name":"FlexHitResultDividerColumnLeft","kind":"field","vis":"private","signature":"Private FlexHitResultDividerColumnLeft"},
+        {"name":"FlexHitResultDividerColumnRight","kind":"field","vis":"private","signature":"Private FlexHitResultDividerColumnRight"},
+        {"name":"FlexHitResultDividerFrozenColumnLeft","kind":"field","vis":"private","signature":"Private FlexHitResultDividerFrozenColumnLeft"},
+        {"name":"FlexHitResultDividerFrozenColumnRight","kind":"field","vis":"private","signature":"Private FlexHitResultDividerFrozenColumnRight"},
+        {"name":"FlexHitResultDividerFrozenRowBottom","kind":"field","vis":"private","signature":"Private FlexHitResultDividerFrozenRowBottom"},
+        {"name":"FlexHitResultDividerFrozenRowTop","kind":"field","vis":"private","signature":"Private FlexHitResultDividerFrozenRowTop"},
+        {"name":"FlexHitResultDividerRowBottom","kind":"field","vis":"private","signature":"Private FlexHitResultDividerRowBottom"},
+        {"name":"FlexHitResultDividerRowTop","kind":"field","vis":"private","signature":"Private FlexHitResultDividerRowTop"},
+        {"name":"FlexHitResultNoWhere","kind":"field","vis":"private","signature":"Private FlexHitResultNoWhere"},
+        {"name":"FlexIMEModeAlpha","kind":"field","vis":"private","signature":"Private FlexIMEModeAlpha"},
+        {"name":"FlexIMEModeAlphaFull","kind":"field","vis":"private","signature":"Private FlexIMEModeAlphaFull"},
+        {"name":"FlexIMEModeDisable","kind":"field","vis":"private","signature":"Private FlexIMEModeDisable"},
+        {"name":"FlexIMEModeHangul","kind":"field","vis":"private","signature":"Private FlexIMEModeHangul"},
+        {"name":"FlexIMEModeHangulFull","kind":"field","vis":"private","signature":"Private FlexIMEModeHangulFull"},
+        {"name":"FlexIMEModeHiragana","kind":"field","vis":"private","signature":"Private FlexIMEModeHiragana"},
+        {"name":"FlexIMEModeKatakana","kind":"field","vis":"private","signature":"Private FlexIMEModeKatakana"},
+        {"name":"FlexIMEModeKatakanaHalf","kind":"field","vis":"private","signature":"Private FlexIMEModeKatakanaHalf"},
+        {"name":"FlexIMEModeNoControl","kind":"field","vis":"private","signature":"Private FlexIMEModeNoControl"},
+        {"name":"FlexIMEModeOff","kind":"field","vis":"private","signature":"Private FlexIMEModeOff"},
+        {"name":"FlexIMEModeOn","kind":"field","vis":"private","signature":"Private FlexIMEModeOn"},
+        {"name":"FlexLeftRightAlignmentLeft","kind":"field","vis":"private","signature":"Private FlexLeftRightAlignmentLeft"},
+        {"name":"FlexLeftRightAlignmentRight","kind":"field","vis":"private","signature":"Private FlexLeftRightAlignmentRight"},
+        {"name":"FlexLookupConvKey","kind":"field","vis":"private","signature":"Private FlexLookupConvKey"},
+        {"name":"FlexLookupConvValue","kind":"field","vis":"private","signature":"Private FlexLookupConvValue"},
+        {"name":"FlexMergeCellsFixedOnly","kind":"field","vis":"private","signature":"Private FlexMergeCellsFixedOnly"},
+        {"name":"FlexMergeCellsFree","kind":"field","vis":"private","signature":"Private FlexMergeCellsFree"},
+        {"name":"FlexMergeCellsNever","kind":"field","vis":"private","signature":"Private FlexMergeCellsNever"},
+        {"name":"FlexMergeCellsRestrictAll","kind":"field","vis":"private","signature":"Private FlexMergeCellsRestrictAll"},
+        {"name":"FlexMergeCellsRestrictColumns","kind":"field","vis":"private","signature":"Private FlexMergeCellsRestrictColumns"},
+        {"name":"FlexMergeCellsRestrictRows","kind":"field","vis":"private","signature":"Private FlexMergeCellsRestrictRows"},
+        {"name":"FlexMetricCellSpacing","kind":"field","vis":"private","signature":"Private FlexMetricCellSpacing"},
+        {"name":"FlexMetricCheckBoxSize","kind":"field","vis":"private","signature":"Private FlexMetricCheckBoxSize"},
+        {"name":"FlexMetricDividerSpacing","kind":"field","vis":"private","signature":"Private FlexMetricDividerSpacing"},
+        {"name":"FlexMetricScrollBarSize","kind":"field","vis":"private","signature":"Private FlexMetricScrollBarSize"},
+        {"name":"FlexMetricTextPadding","kind":"field","vis":"private","signature":"Private FlexMetricTextPadding"},
+        {"name":"FlexMimicTextBoxOff","kind":"field","vis":"private","signature":"Private FlexMimicTextBoxOff"},
+        {"name":"FlexMimicTextBoxOn","kind":"field","vis":"private","signature":"Private FlexMimicTextBoxOn"},
+        {"name":"FlexMousePointerArrow","kind":"field","vis":"private","signature":"Private FlexMousePointerArrow"},
+        {"name":"FlexMousePointerArrowCD","kind":"field","vis":"private","signature":"Private FlexMousePointerArrowCD"},
+        {"name":"FlexMousePointerArrowHourglass","kind":"field","vis":"private","signature":"Private FlexMousePointerArrowHourglass"},
+        {"name":"FlexMousePointerArrowQuestion","kind":"field","vis":"private","signature":"Private FlexMousePointerArrowQuestion"},
+        {"name":"FlexMousePointerCrosshair","kind":"field","vis":"private","signature":"Private FlexMousePointerCrosshair"},
+        {"name":"FlexMousePointerCustom","kind":"field","vis":"private","signature":"Private FlexMousePointerCustom"},
+        {"name":"FlexMousePointerDefault","kind":"field","vis":"private","signature":"Private FlexMousePointerDefault"},
+        {"name":"FlexMousePointerHand","kind":"field","vis":"private","signature":"Private FlexMousePointerHand"},
+        {"name":"FlexMousePointerHourglass","kind":"field","vis":"private","signature":"Private FlexMousePointerHourglass"},
+        {"name":"FlexMousePointerIbeam","kind":"field","vis":"private","signature":"Private FlexMousePointerIbeam"},
+        {"name":"FlexMousePointerNoDrop","kind":"field","vis":"private","signature":"Private FlexMousePointerNoDrop"},
+        {"name":"FlexMousePointerPen","kind":"field","vis":"private","signature":"Private FlexMousePointerPen"},
+        {"name":"FlexMousePointerPerson","kind":"field","vis":"private","signature":"Private FlexMousePointerPerson"},
+        {"name":"FlexMousePointerPin","kind":"field","vis":"private","signature":"Private FlexMousePointerPin"},
+        {"name":"FlexMousePointerScrollAll","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollAll"},
+        {"name":"FlexMousePointerScrollE","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollE"},
+        {"name":"FlexMousePointerScrollN","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollN"},
+        {"name":"FlexMousePointerScrollNE","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollNE"},
+        {"name":"FlexMousePointerScrollNS","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollNS"},
+        {"name":"FlexMousePointerScrollNW","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollNW"},
+        {"name":"FlexMousePointerScrollS","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollS"},
+        {"name":"FlexMousePointerScrollSE","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollSE"},
+        {"name":"FlexMousePointerScrollSW","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollSW"},
+        {"name":"FlexMousePointerScrollW","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollW"},
+        {"name":"FlexMousePointerScrollWE","kind":"field","vis":"private","signature":"Private FlexMousePointerScrollWE"},
+        {"name":"FlexMousePointerSizeAll","kind":"field","vis":"private","signature":"Private FlexMousePointerSizeAll"},
+        {"name":"FlexMousePointerSizeNESW","kind":"field","vis":"private","signature":"Private FlexMousePointerSizeNESW"},
+        {"name":"FlexMousePointerSizeNS","kind":"field","vis":"private","signature":"Private FlexMousePointerSizeNS"},
+        {"name":"FlexMousePointerSizeNWSE","kind":"field","vis":"private","signature":"Private FlexMousePointerSizeNWSE"},
+        {"name":"FlexMousePointerSizePointer","kind":"field","vis":"private","signature":"Private FlexMousePointerSizePointer"},
+        {"name":"FlexMousePointerSizeWE","kind":"field","vis":"private","signature":"Private FlexMousePointerSizeWE"},
+        {"name":"FlexMousePointerUpArrow","kind":"field","vis":"private","signature":"Private FlexMousePointerUpArrow"},
+        {"name":"FlexNoCheckBox","kind":"field","vis":"private","signature":"Private FlexNoCheckBox"},
+        {"name":"FlexNoCheckBoxEver","kind":"field","vis":"private","signature":"Private FlexNoCheckBoxEver"},
+        {"name":"FlexOLEDropModeManual","kind":"field","vis":"private","signature":"Private FlexOLEDropModeManual"},
+        {"name":"FlexOLEDropModeNone","kind":"field","vis":"private","signature":"Private FlexOLEDropModeNone"},
+        {"name":"FlexPathEllipsis","kind":"field","vis":"private","signature":"Private FlexPathEllipsis"},
+        {"name":"FlexPictureAlignmentCenterBottom","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentCenterBottom"},
+        {"name":"FlexPictureAlignmentCenterCenter","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentCenterCenter"},
+        {"name":"FlexPictureAlignmentCenterTop","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentCenterTop"},
+        {"name":"FlexPictureAlignmentLeftBottom","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentLeftBottom"},
+        {"name":"FlexPictureAlignmentLeftBottomNoOverlap","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentLeftBottomNoOverlap"},
+        {"name":"FlexPictureAlignmentLeftCenter","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentLeftCenter"},
+        {"name":"FlexPictureAlignmentLeftCenterNoOverlap","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentLeftCenterNoOverlap"},
+        {"name":"FlexPictureAlignmentLeftTop","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentLeftTop"},
+        {"name":"FlexPictureAlignmentLeftTopNoOverlap","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentLeftTopNoOverlap"},
+        {"name":"FlexPictureAlignmentRightBottom","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentRightBottom"},
+        {"name":"FlexPictureAlignmentRightBottomNoOverlap","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentRightBottomNoOverlap"},
+        {"name":"FlexPictureAlignmentRightCenter","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentRightCenter"},
+        {"name":"FlexPictureAlignmentRightCenterNoOverlap","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentRightCenterNoOverlap"},
+        {"name":"FlexPictureAlignmentRightTop","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentRightTop"},
+        {"name":"FlexPictureAlignmentRightTopNoOverlap","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentRightTopNoOverlap"},
+        {"name":"FlexPictureAlignmentStretch","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentStretch"},
+        {"name":"FlexPictureAlignmentTile","kind":"field","vis":"private","signature":"Private FlexPictureAlignmentTile"},
+        {"name":"FlexPictureTypeColor","kind":"field","vis":"private","signature":"Private FlexPictureTypeColor"},
+        {"name":"FlexPictureTypeEnhMetafile","kind":"field","vis":"private","signature":"Private FlexPictureTypeEnhMetafile"},
+        {"name":"FlexPictureTypeMonochrome","kind":"field","vis":"private","signature":"Private FlexPictureTypeMonochrome"},
+        {"name":"FlexRightToLeftModeNoControl","kind":"field","vis":"private","signature":"Private FlexRightToLeftModeNoControl"},
+        {"name":"FlexRightToLeftModeOSLanguage","kind":"field","vis":"private","signature":"Private FlexRightToLeftModeOSLanguage"},
+        {"name":"FlexRightToLeftModeSystemLocale","kind":"field","vis":"private","signature":"Private FlexRightToLeftModeSystemLocale"},
+        {"name":"FlexRightToLeftModeUserLocale","kind":"field","vis":"private","signature":"Private FlexRightToLeftModeUserLocale"},
+        {"name":"FlexRightToLeftModeVBAME","kind":"field","vis":"private","signature":"Private FlexRightToLeftModeVBAME"},
+        {"name":"FlexRowMajor","kind":"field","vis":"private","signature":"Private FlexRowMajor"},
+        {"name":"FlexRowSizingModeAll","kind":"field","vis":"private","signature":"Private FlexRowSizingModeAll"},
+        {"name":"FlexRowSizingModeIndividual","kind":"field","vis":"private","signature":"Private FlexRowSizingModeIndividual"},
+        {"name":"FlexRowSizingModeUniform","kind":"field","vis":"private","signature":"Private FlexRowSizingModeUniform"},
+        {"name":"FlexScrollOrientationBoth","kind":"field","vis":"private","signature":"Private FlexScrollOrientationBoth"},
+        {"name":"FlexScrollOrientationHorizontal","kind":"field","vis":"private","signature":"Private FlexScrollOrientationHorizontal"},
+        {"name":"FlexScrollOrientationVertical","kind":"field","vis":"private","signature":"Private FlexScrollOrientationVertical"},
+        {"name":"FlexSelectionModeByColumn","kind":"field","vis":"private","signature":"Private FlexSelectionModeByColumn"},
+        {"name":"FlexSelectionModeByRow","kind":"field","vis":"private","signature":"Private FlexSelectionModeByRow"},
+        {"name":"FlexSelectionModeFree","kind":"field","vis":"private","signature":"Private FlexSelectionModeFree"},
+        {"name":"FlexSelectionModeFreeByColumn","kind":"field","vis":"private","signature":"Private FlexSelectionModeFreeByColumn"},
+        {"name":"FlexSelectionModeFreeByRow","kind":"field","vis":"private","signature":"Private FlexSelectionModeFreeByRow"},
+        {"name":"FlexSingleLine","kind":"field","vis":"private","signature":"Private FlexSingleLine"},
+        {"name":"FlexSingleLineEndEllipsis","kind":"field","vis":"private","signature":"Private FlexSingleLineEndEllipsis"},
+        {"name":"FlexSingleLinePathEllipsis","kind":"field","vis":"private","signature":"Private FlexSingleLinePathEllipsis"},
+        {"name":"FlexSingleLineWordEllipsis","kind":"field","vis":"private","signature":"Private FlexSingleLineWordEllipsis"},
+        {"name":"FlexSortArrowAscending","kind":"field","vis":"private","signature":"Private FlexSortArrowAscending"},
+        {"name":"FlexSortArrowDescending","kind":"field","vis":"private","signature":"Private FlexSortArrowDescending"},
+        {"name":"FlexSortArrowNone","kind":"field","vis":"private","signature":"Private FlexSortArrowNone"},
+        {"name":"FlexSortCurrencyAscending","kind":"field","vis":"private","signature":"Private FlexSortCurrencyAscending"},
+        {"name":"FlexSortCurrencyDescending","kind":"field","vis":"private","signature":"Private FlexSortCurrencyDescending"},
+        {"name":"FlexSortCustom","kind":"field","vis":"private","signature":"Private FlexSortCustom"},
+        {"name":"FlexSortCustomText","kind":"field","vis":"private","signature":"Private FlexSortCustomText"},
+        {"name":"FlexSortDateAscending","kind":"field","vis":"private","signature":"Private FlexSortDateAscending"},
+        {"name":"FlexSortDateDescending","kind":"field","vis":"private","signature":"Private FlexSortDateDescending"},
+        {"name":"FlexSortGenericAscending","kind":"field","vis":"private","signature":"Private FlexSortGenericAscending"},
+        {"name":"FlexSortGenericDescending","kind":"field","vis":"private","signature":"Private FlexSortGenericDescending"},
+        {"name":"FlexSortModeNormal","kind":"field","vis":"private","signature":"Private FlexSortModeNormal"},
+        {"name":"FlexSortModeTextDisplay","kind":"field","vis":"private","signature":"Private FlexSortModeTextDisplay"},
+        {"name":"FlexSortNone","kind":"field","vis":"private","signature":"Private FlexSortNone"},
+        {"name":"FlexSortNumericAscending","kind":"field","vis":"private","signature":"Private FlexSortNumericAscending"},
+        {"name":"FlexSortNumericDescending","kind":"field","vis":"private","signature":"Private FlexSortNumericDescending"},
+        {"name":"FlexSortStringAscending","kind":"field","vis":"private","signature":"Private FlexSortStringAscending"},
+        {"name":"FlexSortStringDescending","kind":"field","vis":"private","signature":"Private FlexSortStringDescending"},
+        {"name":"FlexSortStringNoCaseAscending","kind":"field","vis":"private","signature":"Private FlexSortStringNoCaseAscending"},
+        {"name":"FlexSortStringNoCaseDescending","kind":"field","vis":"private","signature":"Private FlexSortStringNoCaseDescending"},
+        {"name":"FlexSortUseColSort","kind":"field","vis":"private","signature":"Private FlexSortUseColSort"},
+        {"name":"FlexTabCells","kind":"field","vis":"private","signature":"Private FlexTabCells"},
+        {"name":"FlexTabControls","kind":"field","vis":"private","signature":"Private FlexTabControls"},
+        {"name":"FlexTabNext","kind":"field","vis":"private","signature":"Private FlexTabNext"},
+        {"name":"FlexTextAsCheckBox","kind":"field","vis":"private","signature":"Private FlexTextAsCheckBox"},
+        {"name":"FlexTextStyleFlat","kind":"field","vis":"private","signature":"Private FlexTextStyleFlat"},
+        {"name":"FlexTextStyleInset","kind":"field","vis":"private","signature":"Private FlexTextStyleInset"},
+        {"name":"FlexTextStyleInsetLight","kind":"field","vis":"private","signature":"Private FlexTextStyleInsetLight"},
+        {"name":"FlexTextStyleRaised","kind":"field","vis":"private","signature":"Private FlexTextStyleRaised"},
+        {"name":"FlexTextStyleRaisedLight","kind":"field","vis":"private","signature":"Private FlexTextStyleRaisedLight"},
+        {"name":"FlexUnchecked","kind":"field","vis":"private","signature":"Private FlexUnchecked"},
+        {"name":"FlexVisibilityCompleteOnly","kind":"field","vis":"private","signature":"Private FlexVisibilityCompleteOnly"},
+        {"name":"FlexVisibilityPartialOK","kind":"field","vis":"private","signature":"Private FlexVisibilityPartialOK"},
+        {"name":"FlexWallPaperAlignmentCenterBottom","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentCenterBottom"},
+        {"name":"FlexWallPaperAlignmentCenterCenter","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentCenterCenter"},
+        {"name":"FlexWallPaperAlignmentCenterTop","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentCenterTop"},
+        {"name":"FlexWallPaperAlignmentLeftBottom","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentLeftBottom"},
+        {"name":"FlexWallPaperAlignmentLeftCenter","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentLeftCenter"},
+        {"name":"FlexWallPaperAlignmentLeftTop","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentLeftTop"},
+        {"name":"FlexWallPaperAlignmentRightBottom","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentRightBottom"},
+        {"name":"FlexWallPaperAlignmentRightCenter","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentRightCenter"},
+        {"name":"FlexWallPaperAlignmentRightTop","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentRightTop"},
+        {"name":"FlexWallPaperAlignmentStretch","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentStretch"},
+        {"name":"FlexWallPaperAlignmentTile","kind":"field","vis":"private","signature":"Private FlexWallPaperAlignmentTile"},
+        {"name":"FlexWordBreak","kind":"field","vis":"private","signature":"Private FlexWordBreak"},
+        {"name":"FlexWordBreakEndEllipsis","kind":"field","vis":"private","signature":"Private FlexWordBreakEndEllipsis"},
+        {"name":"FlexWordBreakPathEllipsis","kind":"field","vis":"private","signature":"Private FlexWordBreakPathEllipsis"},
+        {"name":"FlexWordBreakWordEllipsis","kind":"field","vis":"private","signature":"Private FlexWordBreakWordEllipsis"},
+        {"name":"FlexWordEllipsis","kind":"field","vis":"private","signature":"Private FlexWordEllipsis"},
+        {"name":"FlexWordWrapNone","kind":"field","vis":"private","signature":"Private FlexWordWrapNone"},
+        {"name":"FlexWrapGrid","kind":"field","vis":"private","signature":"Private FlexWrapGrid"},
+        {"name":"FlexWrapNone","kind":"field","vis":"private","signature":"Private FlexWrapNone"},
+        {"name":"FlexWrapRow","kind":"field","vis":"private","signature":"Private FlexWrapRow"},
+        {"name":"FloodColor","kind":"property","vis":"public","signature":"Public Property Get FloodColor() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"FloodColor","kind":"property","vis":"public","signature":"Public Property Let FloodColor(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"FocusRect","kind":"property","vis":"public","signature":"Public Property Get FocusRect() As FlexFocusRectConstants","returnType":"FlexFocusRectConstants","accessor":"Get"},
+        {"name":"FocusRect","kind":"property","vis":"public","signature":"Public Property Let FocusRect(ByVal Value As FlexFocusRectConstants)","accessor":"Let"},
+        {"name":"FocusRectWidth","kind":"property","vis":"public","signature":"Public Property Get FocusRectWidth() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"FocusRectWidth","kind":"property","vis":"public","signature":"Public Property Let FocusRectWidth(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"Font","kind":"property","vis":"public","signature":"Public Property Get Font() As StdFont","returnType":"StdFont","accessor":"Get"},
+        {"name":"Font","kind":"property","vis":"public","signature":"Public Property Let Font(ByVal NewFont As StdFont)","accessor":"Let"},
+        {"name":"Font","kind":"property","vis":"public","signature":"Public Property Set Font(ByVal NewFont As StdFont)","accessor":"Set"},
+        {"name":"FontFixed","kind":"property","vis":"public","signature":"Public Property Get FontFixed() As StdFont","returnType":"StdFont","accessor":"Get"},
+        {"name":"FontFixed","kind":"property","vis":"public","signature":"Public Property Let FontFixed(ByVal NewFont As StdFont)","accessor":"Let"},
+        {"name":"FontFixed","kind":"property","vis":"public","signature":"Public Property Set FontFixed(ByVal NewFont As StdFont)","accessor":"Set"},
+        {"name":"FontQuality","kind":"property","vis":"public","signature":"Public Property Get FontQuality() As FlexFontQualityConstants","returnType":"FlexFontQualityConstants","accessor":"Get"},
+        {"name":"FontQuality","kind":"property","vis":"public","signature":"Public Property Let FontQuality(ByVal Value As FlexFontQualityConstants)","accessor":"Let"},
+        {"name":"ForeColor","kind":"property","vis":"public","signature":"Public Property Get ForeColor() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"ForeColor","kind":"property","vis":"public","signature":"Public Property Let ForeColor(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"ForeColorFixed","kind":"property","vis":"public","signature":"Public Property Get ForeColorFixed() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"ForeColorFixed","kind":"property","vis":"public","signature":"Public Property Let ForeColorFixed(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"ForeColorSel","kind":"property","vis":"public","signature":"Public Property Get ForeColorSel() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"ForeColorSel","kind":"property","vis":"public","signature":"Public Property Let ForeColorSel(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"FormatString","kind":"property","vis":"public","signature":"Public Property Get FormatString() As String","returnType":"String","accessor":"Get"},
+        {"name":"FormatString","kind":"property","vis":"public","signature":"Public Property Let FormatString(ByVal Value As String)","accessor":"Let"},
+        {"name":"FreeCellFmtg","kind":"sub","vis":"private","signature":"Private Sub FreeCellFmtg(ByRef lpFmtg As LongPtr)"},
+        {"name":"FreeCellTag","kind":"sub","vis":"private","signature":"Private Sub FreeCellTag(ByRef lpTag As LongPtr)"},
+        {"name":"FrozenCols","kind":"property","vis":"public","signature":"Public Property Get FrozenCols() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FrozenCols","kind":"property","vis":"public","signature":"Public Property Let FrozenCols(ByVal Value As Long)","accessor":"Let"},
+        {"name":"FrozenColsVisible","kind":"property","vis":"public","signature":"Public Property Get FrozenColsVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FrozenRows","kind":"property","vis":"public","signature":"Public Property Get FrozenRows() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"FrozenRows","kind":"property","vis":"public","signature":"Public Property Let FrozenRows(ByVal Value As Long)","accessor":"Let"},
+        {"name":"FrozenRowsVisible","kind":"property","vis":"public","signature":"Public Property Get FrozenRowsVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"GDTR_MAX","kind":"const","vis":"private","signature":"Private Const GDTR_MAX As Long = 2"},
+        {"name":"GDTR_MIN","kind":"const","vis":"private","signature":"Private Const GDTR_MIN As Long = 1"},
+        {"name":"GWL_EXSTYLE","kind":"const","vis":"private","signature":"Private Const GWL_EXSTYLE As Long = (-20)"},
+        {"name":"GWL_STYLE","kind":"const","vis":"private","signature":"Private Const GWL_STYLE As Long = (-16)"},
+        {"name":"GWL_USERDATA","kind":"const","vis":"private","signature":"Private Const GWL_USERDATA As Long = (-21)"},
+        {"name":"GetBestHeight","kind":"function","vis":"private","signature":"Private Function GetBestHeight(ByVal iRow As Long, ByVal iCol As Long, ByRef Text As String, Optional ByVal hDC As LongPtr) As Long","returnType":"Long"},
+        {"name":"GetBestWidth","kind":"function","vis":"private","signature":"Private Function GetBestWidth(ByVal iRow As Long, ByVal iCol As Long, ByRef Text As String, Optional ByVal hDC As LongPtr) As Long","returnType":"Long"},
+        {"name":"GetCapture","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCapture Lib \"user32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCapture Lib \"user32\" () As Long","returnType":"Long"}]},
+        {"name":"GetCellChecked","kind":"function","vis":"private","signature":"Private Function GetCellChecked(ByVal iRow As Long, ByVal iCol As Long) As Integer","returnType":"Integer"},
+        {"name":"GetCellChecked_HitTest","kind":"function","vis":"private","signature":"Private Function GetCellChecked_HitTest(ByVal iRow As Long, ByVal iCol As Long) As Integer","returnType":"Integer"},
+        {"name":"GetCellFmtg","kind":"sub","vis":"private","signature":"Private Sub GetCellFmtg(ByVal iRow As Long, ByVal iCol As Long, ByVal Mask As Long, ByRef CellFmtg As TCELLFMTG)"},
+        {"name":"GetCellFmtgChecked","kind":"function","vis":"private","signature":"Private Function GetCellFmtgChecked(ByVal iRow As Long, ByVal iCol As Long) As Integer","returnType":"Integer"},
+        {"name":"GetCellFmtgToolTipText","kind":"sub","vis":"private","signature":"Private Sub GetCellFmtgToolTipText(ByVal iRow As Long, ByVal iCol As Long, ByRef TextOut As String)"},
+        {"name":"GetCellRangeRect","kind":"sub","vis":"private","signature":"Private Sub GetCellRangeRect(ByRef CellRange As TCELLRANGE, ByRef CellRangeRect As RECT)"},
+        {"name":"GetCellRect","kind":"sub","vis":"private","signature":"Private Sub GetCellRect(ByVal iRow As Long, ByVal iCol As Long, ByRef CellRect As RECT)"},
+        {"name":"GetCellTag","kind":"sub","vis":"private","signature":"Private Sub GetCellTag(ByVal iRow As Long, ByVal iCol As Long, ByRef TagOut As Variant)"},
+        {"name":"GetCellText","kind":"sub","vis":"private","signature":"Private Sub GetCellText(ByVal iRow As Long, ByVal iCol As Long, ByRef TextOut As String)"},
+        {"name":"GetCellToolTipText","kind":"sub","vis":"private","signature":"Private Sub GetCellToolTipText(ByVal iRow As Long, ByVal iCol As Long, ByRef TextOut As String)"},
+        {"name":"GetClientRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetClientRect Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetClientRect Lib \"user32\" (ByVal hWnd As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"GetClipRgn","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetClipRgn Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal hRgn As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetClipRgn Lib \"gdi32\" (ByVal hDC As Long, ByVal hRgn As Long) As Long"}]},
+        {"name":"GetClipSeparatorCol","kind":"function","vis":"private","signature":"Private Function GetClipSeparatorCol() As String","returnType":"String"},
+        {"name":"GetClipSeparatorRow","kind":"function","vis":"private","signature":"Private Function GetClipSeparatorRow() As String","returnType":"String"},
+        {"name":"GetColDividerFrozenLeft","kind":"function","vis":"private","signature":"Private Function GetColDividerFrozenLeft(ByVal iCol As Long) As Long","returnType":"Long"},
+        {"name":"GetColDividerLeft","kind":"function","vis":"private","signature":"Private Function GetColDividerLeft(ByVal iCol As Long) As Long","returnType":"Long"},
+        {"name":"GetColWidth","kind":"function","vis":"private","signature":"Private Function GetColWidth(ByVal iCol As Long) As Long","returnType":"Long"},
+        {"name":"GetColWidth_NoExtendLastCol","kind":"function","vis":"private","signature":"Private Function GetColWidth_NoExtendLastCol(ByVal iCol As Long) As Long","returnType":"Long"},
+        {"name":"GetColsPerPage","kind":"function","vis":"private","signature":"Private Function GetColsPerPage(ByVal LeftCol As Long) As Long","returnType":"Long"},
+        {"name":"GetColsPerPageRev","kind":"function","vis":"private","signature":"Private Function GetColsPerPageRev(ByVal RightCol As Long) As Long","returnType":"Long"},
+        {"name":"GetComboButtonWidth","kind":"function","vis":"private","signature":"Private Function GetComboButtonWidth(ByVal iRow As Long, ByVal iCol As Long, ByVal ComboCue As FlexComboCueConstants) As Long","returnType":"Long"},
+        {"name":"GetComboCueActive","kind":"function","vis":"private","signature":"Private Function GetComboCueActive(ByVal iRow As Long, ByVal iCol As Long) As FlexComboCueConstants","returnType":"FlexComboCueConstants"},
+        {"name":"GetComboCueCol","kind":"function","vis":"private","signature":"Private Function GetComboCueCol() As Long","returnType":"Long"},
+        {"name":"GetComboCueRow","kind":"function","vis":"private","signature":"Private Function GetComboCueRow() As Long","returnType":"Long"},
+        {"name":"GetCursor","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCursor Lib \"user32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCursor Lib \"user32\" () As Long","returnType":"Long"}]},
+        {"name":"GetCursorPos","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCursorPos Lib \"user32\" (ByRef lpPoint As POINTAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCursorPos Lib \"user32\" (ByRef lpPoint As POINTAPI) As Long"}]},
+        {"name":"GetDC","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDC Lib \"user32\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDC Lib \"user32\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"GetDCEx","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDCEx Lib \"user32\" (ByVal hWnd As LongPtr, ByVal hRgnClip As LongPtr, ByVal fdwOptions As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDCEx Lib \"user32\" (ByVal hWnd As Long, ByVal hRgnClip As Long, ByVal fdwOptions As Long) As Long","returnType":"Long"}]},
+        {"name":"GetDIBits","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDIBits Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal hBmp As LongPtr, ByVal nStartScan As Long, ByVal nNumScans As Long, ByVal lpBits As LongPtr, ByRef pBitmapInfo As BITMAPINFO, ByVal wUsage As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDIBits Lib \"gdi32\" (ByVal hDC As Long, ByVal hBmp As Long, ByVal nStartScan As Long, ByVal nNumScans As Long, ByVal lpBits As Long, ByRef pBitmapInfo As BITMAPINFO, ByVal wUsage As Long) As Long"}]},
+        {"name":"GetDeviceCaps","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDeviceCaps Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nIndex As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDeviceCaps Lib \"gdi32\" (ByVal hDC As Long, ByVal nIndex As Long) As Long"}]},
+        {"name":"GetDoubleClickTime","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetDoubleClickTime Lib \"user32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetDoubleClickTime Lib \"user32\" () As Long"}]},
+        {"name":"GetExtendLastCol","kind":"function","vis":"private","signature":"Private Function GetExtendLastCol() As Long","returnType":"Long"},
+        {"name":"GetFirstMovableCol","kind":"function","vis":"private","signature":"Private Function GetFirstMovableCol() As Long","returnType":"Long"},
+        {"name":"GetFirstMovableRow","kind":"function","vis":"private","signature":"Private Function GetFirstMovableRow() As Long","returnType":"Long"},
+        {"name":"GetFocus","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetFocus Lib \"user32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetFocus Lib \"user32\" () As Long","returnType":"Long"}]},
+        {"name":"GetFocusRectWidth","kind":"function","vis":"private","signature":"Private Function GetFocusRectWidth() As Integer","returnType":"Integer"},
+        {"name":"GetFrozenCol","kind":"function","vis":"private","signature":"Private Function GetFrozenCol(ByVal Adjacent As Boolean) As Long","returnType":"Long"},
+        {"name":"GetFrozenRow","kind":"function","vis":"private","signature":"Private Function GetFrozenRow(ByVal Adjacent As Boolean) As Long","returnType":"Long"},
+        {"name":"GetGridLineOffsets","kind":"sub","vis":"public","signature":"Public Sub GetGridLineOffsets(ByRef Left As Long, ByRef Top As Long, ByRef Right As Long, ByRef Bottom As Long, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1)"},
+        {"name":"GetGridLineOffsetsStruct","kind":"sub","vis":"private","signature":"Private Sub GetGridLineOffsetsStruct(ByVal iRow As Long, ByVal iCol As Long, ByRef GridLineOffsets As TGRIDLINEOFFSETS)"},
+        {"name":"GetHitTestInfo","kind":"sub","vis":"private","signature":"Private Sub GetHitTestInfo(ByRef HTI As THITTESTINFO)"},
+        {"name":"GetImageIndex","kind":"function","vis":"private","signature":"Private Function GetImageIndex(ByVal iRow As Long, ByVal iCol As Long, ByRef Text As String) As Long","returnType":"Long"},
+        {"name":"GetIncrementalSearchTime","kind":"function","vis":"private","signature":"Private Function GetIncrementalSearchTime() As Long","returnType":"Long"},
+        {"name":"GetKeyboardLayout","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetKeyboardLayout Lib \"user32\" (ByVal dwThreadID As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetKeyboardLayout Lib \"user32\" (ByVal dwThreadID As Long) As Long","returnType":"Long"}]},
+        {"name":"GetLabelInfo","kind":"sub","vis":"private","signature":"Private Sub GetLabelInfo(ByVal iRow As Long, ByVal iCol As Long, ByRef LBLI As TLABELINFO, Optional ByVal hDC As LongPtr)"},
+        {"name":"GetLastMovableCol","kind":"function","vis":"private","signature":"Private Function GetLastMovableCol() As Long","returnType":"Long"},
+        {"name":"GetLastMovableRow","kind":"function","vis":"private","signature":"Private Function GetLastMovableRow() As Long","returnType":"Long"},
+        {"name":"GetLocaleInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetLocaleInfo Lib \"kernel32\" Alias \"GetLocaleInfoW\" (ByVal LCID As Long, ByVal LCType As Long, ByVal lpLCData As LongPtr, ByVal cchData As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetLocaleInfo Lib \"kernel32\" Alias \"GetLocaleInfoW\" (ByVal LCID As Long, ByVal LCType As Long, ByVal lpLCData As Long, ByVal cchData As Long) As Long"}]},
+        {"name":"GetMergedRange","kind":"sub","vis":"public","signature":"Public Sub GetMergedRange(ByVal Row As Long, ByVal Col As Long, ByRef Row1 As Long, ByRef Col1 As Long, ByRef Row2 As Long, ByRef Col2 As Long)"},
+        {"name":"GetMergedRangeStruct","kind":"sub","vis":"private","signature":"Private Sub GetMergedRangeStruct(ByVal iRow As Long, ByVal iCol As Long, ByRef MergedRange As TCELLRANGE)"},
+        {"name":"GetMessagePos","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetMessagePos Lib \"user32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetMessagePos Lib \"user32\" () As Long"}]},
+        {"name":"GetMetrics","kind":"sub","vis":"public","signature":"Public Sub GetMetrics(ByVal Metric As FlexMetricConstants, ByRef CX As Long, ByRef CY As Long)"},
+        {"name":"GetMonitorInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetMonitorInfo Lib \"user32\" Alias \"GetMonitorInfoW\" (ByVal hMonitor As LongPtr, ByRef lpMI As MONITORINFO) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetMonitorInfo Lib \"user32\" Alias \"GetMonitorInfoW\" (ByVal hMonitor As Long, ByRef lpMI As MONITORINFO) As Long"}]},
+        {"name":"GetProcessHeap","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetProcessHeap Lib \"kernel32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetProcessHeap Lib \"kernel32\" () As Long","returnType":"Long"}]},
+        {"name":"GetRowDividerFrozenTop","kind":"function","vis":"private","signature":"Private Function GetRowDividerFrozenTop(ByVal iRow As Long) As Long","returnType":"Long"},
+        {"name":"GetRowDividerTop","kind":"function","vis":"private","signature":"Private Function GetRowDividerTop(ByVal iRow As Long) As Long","returnType":"Long"},
+        {"name":"GetRowHeight","kind":"function","vis":"private","signature":"Private Function GetRowHeight(ByVal iRow As Long) As Long","returnType":"Long"},
+        {"name":"GetRowsPerPage","kind":"function","vis":"private","signature":"Private Function GetRowsPerPage(ByVal TopRow As Long) As Long","returnType":"Long"},
+        {"name":"GetRowsPerPageRev","kind":"function","vis":"private","signature":"Private Function GetRowsPerPageRev(ByVal BottomRow As Long) As Long","returnType":"Long"},
+        {"name":"GetScrollInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetScrollInfo Lib \"user32\" (ByVal hWnd As LongPtr, ByVal wBar As Long, ByRef lpScrollInfo As SCROLLINFO) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetScrollInfo Lib \"user32\" (ByVal hWnd As Long, ByVal wBar As Long, ByRef lpScrollInfo As SCROLLINFO) As Long"}]},
+        {"name":"GetSelRange","kind":"sub","vis":"public","signature":"Public Sub GetSelRange(ByRef Row1 As Long, ByRef Col1 As Long, ByRef Row2 As Long, ByRef Col2 As Long)"},
+        {"name":"GetSelRangeStruct","kind":"sub","vis":"private","signature":"Private Sub GetSelRangeStruct(ByRef SelRange As TCELLRANGE)"},
+        {"name":"GetSelectedRow","kind":"function","vis":"private","signature":"Private Function GetSelectedRow() As Boolean","returnType":"Boolean"},
+        {"name":"GetSheetBorderCol","kind":"function","vis":"private","signature":"Private Function GetSheetBorderCol() As Long","returnType":"Long"},
+        {"name":"GetSheetBorderRow","kind":"function","vis":"private","signature":"Private Function GetSheetBorderRow() As Long","returnType":"Long"},
+        {"name":"GetSortArrowMetrics","kind":"sub","vis":"private","signature":"Private Sub GetSortArrowMetrics(ByVal hDC As LongPtr, ByRef SortArrowMetrics As TSORTARROWMETRICS)"},
+        {"name":"GetStockObject","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetStockObject Lib \"gdi32\" (ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetStockObject Lib \"gdi32\" (ByVal nIndex As Long) As Long","returnType":"Long"}]},
+        {"name":"GetSysColor","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSysColor Lib \"user32\" (ByVal nIndex As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSysColor Lib \"user32\" (ByVal nIndex As Long) As Long"}]},
+        {"name":"GetSysColorBrush","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSysColorBrush Lib \"user32\" (ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSysColorBrush Lib \"user32\" (ByVal nIndex As Long) As Long","returnType":"Long"}]},
+        {"name":"GetSystemDefaultLangID","kind":"function","vis":"private","declare":true,"returnType":"Integer","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSystemDefaultLangID Lib \"kernel32\" () As Integer"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSystemDefaultLangID Lib \"kernel32\" () As Integer"}]},
+        {"name":"GetSystemMetrics","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetSystemMetrics Lib \"user32\" (ByVal nIndex As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetSystemMetrics Lib \"user32\" (ByVal nIndex As Long) As Long"}]},
+        {"name":"GetTextColor","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetTextColor Lib \"gdi32\" (ByVal hDC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetTextColor Lib \"gdi32\" (ByVal hDC As Long) As Long"}]},
+        {"name":"GetTextDisplay","kind":"sub","vis":"private","signature":"Private Sub GetTextDisplay(ByVal iRow As Long, ByVal iCol As Long, ByRef Text As String)"},
+        {"name":"GetTextExtentPoint32","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetTextExtentPoint32 Lib \"gdi32\" Alias \"GetTextExtentPoint32W\" (ByVal hDC As LongPtr, ByVal lpsz As LongPtr, ByVal cbString As Long, ByRef lpSize As SIZEAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetTextExtentPoint32 Lib \"gdi32\" Alias \"GetTextExtentPoint32W\" (ByVal hDC As Long, ByVal lpsz As Long, ByVal cbString As Long, ByRef lpSize As SIZEAPI) As Long"}]},
+        {"name":"GetTextMetrics","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetTextMetrics Lib \"gdi32\" Alias \"GetTextMetricsW\" (ByVal hDC As LongPtr, ByRef lpMetrics As TEXTMETRIC) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetTextMetrics Lib \"gdi32\" Alias \"GetTextMetricsW\" (ByVal hDC As Long, ByRef lpMetrics As TEXTMETRIC) As Long"}]},
+        {"name":"GetTextSize","kind":"function","vis":"private","signature":"Private Function GetTextSize(ByVal iRow As Long, ByVal iCol As Long, ByVal Text As String, Optional ByVal hDC As LongPtr) As SIZEAPI","returnType":"SIZEAPI"},
+        {"name":"GetThemeBackgroundContentRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementThemedControls = True) And VBA7","signature":"Private Declare PtrSafe Function GetThemeBackgroundContentRect Lib \"uxtheme\" (ByVal Theme As LongPtr, ByVal hDC As LongPtr, ByVal iPartId As Long, ByVal iStateId As Long, ByRef pBoundingRect As RECT, ByRef pContentRect As RECT) As Long"},{"cond":"(ImplementThemedControls = True) And Not (VBA7)","signature":"Private Declare Function GetThemeBackgroundContentRect Lib \"uxtheme\" (ByVal Theme As Long, ByVal hDC As Long, ByVal iPartId As Long, ByVal iStateId As Long, ByRef pBoundingRect As RECT, ByRef pContentRect As RECT) As Long"}]},
+        {"name":"GetUserDefaultLCID","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetUserDefaultLCID Lib \"kernel32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetUserDefaultLCID Lib \"kernel32\" () As Long"}]},
+        {"name":"GetUserDefaultLangID","kind":"function","vis":"private","declare":true,"returnType":"Integer","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetUserDefaultLangID Lib \"kernel32\" () As Integer"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetUserDefaultLangID Lib \"kernel32\" () As Integer"}]},
+        {"name":"GetUserDefaultUILanguage","kind":"function","vis":"private","declare":true,"returnType":"Integer","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetUserDefaultUILanguage Lib \"kernel32\" () As Integer"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetUserDefaultUILanguage Lib \"kernel32\" () As Integer"}]},
+        {"name":"GetWheelScrollLines","kind":"function","vis":"private","signature":"Private Function GetWheelScrollLines() As Long","returnType":"Long"},
+        {"name":"GetWindowDC","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowDC Lib \"user32\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowDC Lib \"user32\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"GetWindowLong","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowLong Lib \"user32\" Alias \"GetWindowLongW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowLong Lib \"user32\" Alias \"GetWindowLongW\" (ByVal hWnd As Long, ByVal nIndex As Long) As Long"}]},
+        {"name":"GetWindowLongPtr","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7 And Win64","signature":"Private Declare PtrSafe Function GetWindowLongPtr Lib \"user32\" Alias \"GetWindowLongPtrW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"VBA7 And Not (Win64)","signature":"Private Declare PtrSafe Function GetWindowLongPtr Lib \"user32\" Alias \"GetWindowLongW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowLongPtr Lib \"user32\" Alias \"GetWindowLongW\" (ByVal hWnd As Long, ByVal nIndex As Long) As Long","returnType":"Long"}]},
+        {"name":"GetWindowRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetWindowRect Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowRect Lib \"user32\" (ByVal hWnd As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"GridColor","kind":"property","vis":"public","signature":"Public Property Get GridColor() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"GridColor","kind":"property","vis":"public","signature":"Public Property Let GridColor(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"GridColorFixed","kind":"property","vis":"public","signature":"Public Property Get GridColorFixed() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"GridColorFixed","kind":"property","vis":"public","signature":"Public Property Let GridColorFixed(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"GridColorFrozen","kind":"property","vis":"public","signature":"Public Property Get GridColorFrozen() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"GridColorFrozen","kind":"property","vis":"public","signature":"Public Property Let GridColorFrozen(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"GridLineWidth","kind":"property","vis":"public","signature":"Public Property Get GridLineWidth() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"GridLineWidth","kind":"property","vis":"public","signature":"Public Property Let GridLineWidth(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"GridLineWidthFixed","kind":"property","vis":"public","signature":"Public Property Get GridLineWidthFixed() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"GridLineWidthFixed","kind":"property","vis":"public","signature":"Public Property Let GridLineWidthFixed(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"GridLineWidthFrozen","kind":"property","vis":"public","signature":"Public Property Get GridLineWidthFrozen() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"GridLineWidthFrozen","kind":"property","vis":"public","signature":"Public Property Let GridLineWidthFrozen(ByVal Value As Integer)","accessor":"Let"},
+        {"name":"GridLines","kind":"property","vis":"public","signature":"Public Property Get GridLines() As FlexGridLineConstants","returnType":"FlexGridLineConstants","accessor":"Get"},
+        {"name":"GridLines","kind":"property","vis":"public","signature":"Public Property Let GridLines(ByVal Value As FlexGridLineConstants)","accessor":"Let"},
+        {"name":"GridLinesFixed","kind":"property","vis":"public","signature":"Public Property Get GridLinesFixed() As FlexGridLineConstants","returnType":"FlexGridLineConstants","accessor":"Get"},
+        {"name":"GridLinesFixed","kind":"property","vis":"public","signature":"Public Property Let GridLinesFixed(ByVal Value As FlexGridLineConstants)","accessor":"Let"},
+        {"name":"GridLinesFrozen","kind":"property","vis":"public","signature":"Public Property Get GridLinesFrozen() As FlexGridLineConstants","returnType":"FlexGridLineConstants","accessor":"Get"},
+        {"name":"GridLinesFrozen","kind":"property","vis":"public","signature":"Public Property Let GridLinesFrozen(ByVal Value As FlexGridLineConstants)","accessor":"Let"},
+        {"name":"HORZRES","kind":"const","vis":"private","signature":"Private Const HORZRES As Long = 8"},
+        {"name":"HORZSIZE","kind":"const","vis":"private","signature":"Private Const HORZSIZE As Long = 4"},
+        {"name":"HTBORDER","kind":"const","vis":"private","signature":"Private Const HTBORDER As Long = 18"},
+        {"name":"HTCLIENT","kind":"const","vis":"private","signature":"Private Const HTCLIENT As Long = 1"},
+        {"name":"HTHSCROLL","kind":"const","vis":"private","signature":"Private Const HTHSCROLL As Long = 6"},
+        {"name":"HTVSCROLL","kind":"const","vis":"private","signature":"Private Const HTVSCROLL As Long = 7"},
+        {"name":"HWND_DESKTOP","kind":"const","vis":"private","signatures":[{"cond":"VBA7","signature":"Private Const HWND_DESKTOP As LongPtr = &H0"},{"cond":"Not (VBA7)","signature":"Private Const HWND_DESKTOP As Long = &H0"}]},
+        {"name":"HeapAlloc","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function HeapAlloc Lib \"kernel32\" (ByVal hHeap As LongPtr, ByVal dwFlags As Long, ByVal dwBytes As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function HeapAlloc Lib \"kernel32\" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal dwBytes As Long) As Long","returnType":"Long"}]},
+        {"name":"HeapFree","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function HeapFree Lib \"kernel32\" (ByVal hHeap As LongPtr, ByVal dwFlags As Long, ByVal lpMem As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function HeapFree Lib \"kernel32\" (ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long"}]},
+        {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Single","returnType":"Single","accessor":"Get"},
+        {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Single)","accessor":"Let"},
+        {"name":"HelpContextID","kind":"property","vis":"public","signature":"Public Property Get HelpContextID() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"HelpContextID","kind":"property","vis":"public","signature":"Public Property Let HelpContextID(ByVal Value As Long)","accessor":"Let"},
+        {"name":"HighLight","kind":"property","vis":"public","signature":"Public Property Get HighLight() As FlexHighLightConstants","returnType":"FlexHighLightConstants","accessor":"Get"},
+        {"name":"HighLight","kind":"property","vis":"public","signature":"Public Property Let HighLight(ByVal Value As FlexHighLightConstants)","accessor":"Let"},
+        {"name":"HitCol","kind":"property","vis":"public","signature":"Public Property Get HitCol() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"HitColDivider","kind":"property","vis":"public","signature":"Public Property Get HitColDivider() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"HitResult","kind":"property","vis":"public","signature":"Public Property Get HitResult() As FlexHitResultConstants","returnType":"FlexHitResultConstants","accessor":"Get"},
+        {"name":"HitRow","kind":"property","vis":"public","signature":"Public Property Get HitRow() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"HitRowDivider","kind":"property","vis":"public","signature":"Public Property Get HitRowDivider() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"HitTest","kind":"sub","vis":"public","signature":"Public Sub HitTest(ByVal X As Single, ByVal Y As Single)"},
+        {"name":"HitTestInsertMark","kind":"function","vis":"public","signature":"Public Function HitTestInsertMark(ByVal X As Single, ByVal Y As Single, Optional ByRef After As Boolean) As Long","returnType":"Long"},
+        {"name":"ICC_DATE_CLASSES","kind":"const","vis":"private","signature":"Private Const ICC_DATE_CLASSES As Long = &H100"},
+        {"name":"ICC_STANDARD_CLASSES","kind":"const","vis":"private","signature":"Private Const ICC_STANDARD_CLASSES As Long = &H4000"},
+        {"name":"ICC_TAB_CLASSES","kind":"const","vis":"private","signature":"Private Const ICC_TAB_CLASSES As Long = &H8"},
+        {"name":"IDT_MULTISELCHANGE","kind":"const","vis":"private","signatures":[{"cond":"VBA7","signature":"Const IDT_MULTISELCHANGE As LongPtr = 100"},{"cond":"Not (VBA7)","signature":"Const IDT_MULTISELCHANGE As Long = 100"}]},
+        {"name":"ID_COMBOBUTTONCHILD","kind":"const","vis":"private","signature":"Private Const ID_COMBOBUTTONCHILD As Long = 101"},
+        {"name":"ID_EDITCHILD","kind":"const","vis":"private","signature":"Private Const ID_EDITCHILD As Long = 100"},
+        {"name":"ILD_TRANSPARENT","kind":"const","vis":"private","signature":"Private Const ILD_TRANSPARENT As Long = &H1"},
+        {"name":"IMEMode","kind":"property","vis":"public","signature":"Public Property Get IMEMode() As FlexIMEModeConstants","returnType":"FlexIMEModeConstants","accessor":"Get"},
+        {"name":"IMEMode","kind":"property","vis":"public","signature":"Public Property Let IMEMode(ByVal Value As FlexIMEModeConstants)","accessor":"Let"},
+        {"name":"INFOTIPSIZE","kind":"const","vis":"private","signature":"Private Const INFOTIPSIZE As Long = 1024"},
+        {"name":"IObjectSafety_GetInterfaceSafetyOptions","kind":"sub","vis":"private","signature":"Private Sub IObjectSafety_GetInterfaceSafetyOptions(ByRef riid As OLEGuids.OLECLSID, ByRef pdwSupportedOptions As Long, ByRef pdwEnabledOptions As Long)"},
+        {"name":"IObjectSafety_SetInterfaceSafetyOptions","kind":"sub","vis":"private","signature":"Private Sub IObjectSafety_SetInterfaceSafetyOptions(ByRef riid As OLEGuids.OLECLSID, ByVal dwOptionsSetMask As Long, ByVal dwEnabledOptions As Long)"},
+        {"name":"IOleControlVB_GetControlInfo","kind":"sub","vis":"private","signatures":[{"cond":"VBA7","signature":"Private Sub IOleControlVB_GetControlInfo(ByRef Handled As Boolean, ByRef AccelCount As Integer, ByRef AccelTable As LongPtr, ByRef Flags As Long)"},{"cond":"Not (VBA7)","signature":"Private Sub IOleControlVB_GetControlInfo(ByRef Handled As Boolean, ByRef AccelCount As Integer, ByRef AccelTable As Long, ByRef Flags As Long)"}]},
+        {"name":"IOleControlVB_OnMnemonic","kind":"sub","vis":"private","signatures":[{"cond":"VBA7","signature":"Private Sub IOleControlVB_OnMnemonic(ByRef Handled As Boolean, ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByVal Shift As Long)"},{"cond":"Not (VBA7)","signature":"Private Sub IOleControlVB_OnMnemonic(ByRef Handled As Boolean, ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal Shift As Long)"}]},
+        {"name":"IOleInPlaceActiveObjectVB_TranslateAccelerator","kind":"sub","vis":"private","signatures":[{"cond":"VBA7","signature":"Private Sub IOleInPlaceActiveObjectVB_TranslateAccelerator(ByRef Handled As Boolean, ByRef RetVal As Long, ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByVal Shift As Long)"},{"cond":"Not (VBA7)","signature":"Private Sub IOleInPlaceActiveObjectVB_TranslateAccelerator(ByRef Handled As Boolean, ByRef RetVal As Long, ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal Shift As Long)"}]},
+        {"name":"ImageList_Draw","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImageList_Draw Lib \"comctl32\" (ByVal hImageList As LongPtr, ByVal ImgIndex As Long, ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal fStyle As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImageList_Draw Lib \"comctl32\" (ByVal hImageList As Long, ByVal ImgIndex As Long, ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByVal fStyle As Long) As Long"}]},
+        {"name":"ImageList_GetIconSize","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImageList_GetIconSize Lib \"comctl32\" (ByVal hImageList As LongPtr, ByRef CX As Long, ByRef CY As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImageList_GetIconSize Lib \"comctl32\" (ByVal hImageList As Long, ByRef CX As Long, ByRef CY As Long) As Long"}]},
+        {"name":"ImageList_GetImageCount","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImageList_GetImageCount Lib \"comctl32\" (ByVal hImageList As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImageList_GetImageCount Lib \"comctl32\" (ByVal hImageList As Long) As Long"}]},
+        {"name":"ImmAssociateContext","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmAssociateContext Lib \"imm32\" (ByVal hWnd As LongPtr, ByVal hIMC As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmAssociateContext Lib \"imm32\" (ByVal hWnd As Long, ByVal hIMC As Long) As Long","returnType":"Long"}]},
+        {"name":"ImmCreateContext","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmCreateContext Lib \"imm32\" () As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmCreateContext Lib \"imm32\" () As Long","returnType":"Long"}]},
+        {"name":"ImmDestroyContext","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmDestroyContext Lib \"imm32\" (ByVal hIMC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmDestroyContext Lib \"imm32\" (ByVal hIMC As Long) As Long"}]},
+        {"name":"ImmGetContext","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmGetContext Lib \"imm32\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmGetContext Lib \"imm32\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"ImmGetConversionStatus","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmGetConversionStatus Lib \"imm32\" (ByVal hIMC As LongPtr, ByVal lpfdwConversion As LongPtr, ByVal lpfdwSentence As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmGetConversionStatus Lib \"imm32\" (ByVal hIMC As Long, ByVal lpfdwConversion As Long, ByVal lpfdwSentence As Long) As Long"}]},
+        {"name":"ImmGetOpenStatus","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmGetOpenStatus Lib \"imm32\" (ByVal hIMC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmGetOpenStatus Lib \"imm32\" (ByVal hIMC As Long) As Long"}]},
+        {"name":"ImmIsIME","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmIsIME Lib \"imm32\" (ByVal hKL As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmIsIME Lib \"imm32\" (ByVal hKL As Long) As Long"}]},
+        {"name":"ImmReleaseContext","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmReleaseContext Lib \"imm32\" (ByVal hWnd As LongPtr, ByVal hIMC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmReleaseContext Lib \"imm32\" (ByVal hWnd As Long, ByVal hIMC As Long) As Long"}]},
+        {"name":"ImmSetConversionStatus","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmSetConversionStatus Lib \"imm32\" (ByVal hIMC As LongPtr, ByVal fdwConversion As Long, ByVal fdwSentence As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmSetConversionStatus Lib \"imm32\" (ByVal hIMC As Long, ByVal fdwConversion As Long, ByVal fdwSentence As Long) As Long"}]},
+        {"name":"ImmSetOpenStatus","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ImmSetOpenStatus Lib \"imm32\" (ByVal hIMC As LongPtr, ByVal fOpen As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ImmSetOpenStatus Lib \"imm32\" (ByVal hIMC As Long, ByVal fOpen As Long) As Long"}]},
+        {"name":"IncrementalSearch","kind":"event","vis":"public","signature":"Public Event IncrementalSearch(ByVal Row As Long, ByVal Col As Long, ByVal CharCode As Long, ByVal CaseSensitive As Boolean, ByVal NoWrap As Boolean, ByVal Direction As FlexFindDirectionConstants, ByVal FoundIndex As Long)"},
+        {"name":"IncrementalSearchCol","kind":"property","vis":"public","signature":"Public Property Get IncrementalSearchCol() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"IncrementalSearchRow","kind":"property","vis":"public","signature":"Public Property Get IncrementalSearchRow() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"IncrementalSearchString","kind":"property","vis":"public","signature":"Public Property Get IncrementalSearchString() As String","returnType":"String","accessor":"Get"},
+        {"name":"IncrementalSearchTime","kind":"property","vis":"public","signature":"Public Property Get IncrementalSearchTime() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"IncrementalSearchTime","kind":"property","vis":"public","signature":"Public Property Let IncrementalSearchTime(ByVal Value As Long)","accessor":"Let"},
+        {"name":"InitFlexGridCells","kind":"sub","vis":"private","signature":"Private Sub InitFlexGridCells()"},
+        {"name":"InitSelectedRow","kind":"function","vis":"private","signature":"Private Function InitSelectedRow() As Boolean","returnType":"Boolean"},
+        {"name":"InitSelectedRows","kind":"function","vis":"private","signature":"Private Function InitSelectedRows() As Boolean","returnType":"Boolean"},
+        {"name":"InplaceCustomMergeSort","kind":"sub","vis":"private","signature":"Private Sub InplaceCustomMergeSort(ByVal Left As Long, ByVal Middle As Long, ByVal Right As Long, ByVal Col As Long, ByRef Data() As TINDIRECTMERGESORTDATA)"},
+        {"name":"InplaceMergeSort","kind":"sub","vis":"private","signature":"Private Sub InplaceMergeSort(ByVal Left As Long, ByVal Middle As Long, ByVal Right As Long, ByVal Col As Long, ByRef Data() As TCOLS, ByVal Sort As FlexSortConstants)"},
+        {"name":"InplaceTextDisplayMergeSort","kind":"sub","vis":"private","signature":"Private Sub InplaceTextDisplayMergeSort(ByVal Left As Long, ByVal Middle As Long, ByVal Right As Long, ByVal Col As Long, ByRef Data() As TINDIRECTMERGESORTDATA, ByVal Sort As FlexSortConstants)"},
+        {"name":"InsertMark","kind":"property","vis":"public","signature":"Public Property Get InsertMark(Optional ByRef After As Boolean) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"InsertMark","kind":"property","vis":"public","signature":"Public Property Let InsertMark(Optional ByRef After As Boolean, ByVal Value As Long)","accessor":"Let"},
+        {"name":"InsertMarkColor","kind":"property","vis":"public","signature":"Public Property Get InsertMarkColor() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"InsertMarkColor","kind":"property","vis":"public","signature":"Public Property Let InsertMarkColor(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"InsertMarkMode","kind":"property","vis":"public","signature":"Public Property Get InsertMarkMode() As FlexDropTargetModeConstants","returnType":"FlexDropTargetModeConstants","accessor":"Get"},
+        {"name":"InsertMarkMode","kind":"property","vis":"public","signature":"Public Property Let InsertMarkMode(ByVal Value As FlexDropTargetModeConstants)","accessor":"Let"},
+        {"name":"IntersectClipRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function IntersectClipRect Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function IntersectClipRect Lib \"gdi32\" (ByVal hDC As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long"}]},
+        {"name":"InvalidateRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function InvalidateRect Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpRect As Any, ByVal bErase As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function InvalidateRect Lib \"user32\" (ByVal hWnd As Long, ByRef lpRect As Any, ByVal bErase As Long) As Long"}]},
+        {"name":"InvertRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function InvertRect Lib \"user32\" (ByVal hDC As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function InvertRect Lib \"user32\" (ByVal hDC As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"IsThemeBackgroundPartiallyTransparent","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementThemedControls = True) And VBA7","signature":"Private Declare PtrSafe Function IsThemeBackgroundPartiallyTransparent Lib \"uxtheme\" (ByVal Theme As LongPtr, ByVal iPartId As Long, ByVal iStateId As Long) As Long"},{"cond":"(ImplementThemedControls = True) And Not (VBA7)","signature":"Private Declare Function IsThemeBackgroundPartiallyTransparent Lib \"uxtheme\" (ByVal Theme As Long, ByVal iPartId As Long, ByVal iStateId As Long) As Long"}]},
+        {"name":"IsWindowEnabled","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function IsWindowEnabled Lib \"user32\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function IsWindowEnabled Lib \"user32\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"IsWindowVisible","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function IsWindowVisible Lib \"user32\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function IsWindowVisible Lib \"user32\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"KeyDown","kind":"event","vis":"public","signature":"Public Event KeyDown(KeyCode As Integer, Shift As Integer)"},
+        {"name":"KeyPress","kind":"event","vis":"public","signature":"Public Event KeyPress(KeyChar As Integer)"},
+        {"name":"KeyUp","kind":"event","vis":"public","signature":"Public Event KeyUp(KeyCode As Integer, Shift As Integer)"},
+        {"name":"KillTimer","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function KillTimer Lib \"user32\" (ByVal hWnd As LongPtr, ByVal nIDEvent As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function KillTimer Lib \"user32\" (ByVal hWnd As Long, ByVal nIDEvent As Long) As Long"}]},
+        {"name":"LAYOUT_RTL","kind":"const","vis":"private","signature":"Private Const LAYOUT_RTL As Long = &H1"},
+        {"name":"LBItemFromPt","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function LBItemFromPt Lib \"comctl32\" (ByVal hLB As LongPtr, ByVal XY As Currency, ByVal bAutoScroll As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function LBItemFromPt Lib \"comctl32\" (ByVal hLB As Long, ByVal XY As Currency, ByVal bAutoScroll As Long) As Long"}]},
+        {"name":"LBLI_HIDDEN","kind":"const","vis":"private","signature":"Private Const LBLI_HIDDEN As Long = &H4"},
+        {"name":"LBLI_UNFOLDED","kind":"const","vis":"private","signature":"Private Const LBLI_UNFOLDED As Long = &H2"},
+        {"name":"LBLI_VALID","kind":"const","vis":"private","signature":"Private Const LBLI_VALID As Long = &H1"},
+        {"name":"LBN_SELCHANGE","kind":"const","vis":"private","signature":"Private Const LBN_SELCHANGE As Long = 1"},
+        {"name":"LBS_HASSTRINGS","kind":"const","vis":"private","signature":"Private Const LBS_HASSTRINGS As Long = &H40"},
+        {"name":"LBS_NOINTEGRALHEIGHT","kind":"const","vis":"private","signature":"Private Const LBS_NOINTEGRALHEIGHT As Long = &H100"},
+        {"name":"LBS_NOTIFY","kind":"const","vis":"private","signature":"Private Const LBS_NOTIFY As Long = &H1"},
+        {"name":"LBS_OWNERDRAWFIXED","kind":"const","vis":"private","signature":"Private Const LBS_OWNERDRAWFIXED As Long = &H10"},
+        {"name":"LBS_SORT","kind":"const","vis":"private","signature":"Private Const LBS_SORT As Long = &H2"},
+        {"name":"LB_ADDSTRING","kind":"const","vis":"private","signature":"Private Const LB_ADDSTRING As Long = &H180"},
+        {"name":"LB_CARETON","kind":"const","vis":"private","signature":"Private Const LB_CARETON As Long = &H1A3"},
+        {"name":"LB_ERR","kind":"const","vis":"private","signature":"Private Const LB_ERR As Long = (-1)"},
+        {"name":"LB_FINDSTRINGEXACT","kind":"const","vis":"private","signature":"Private Const LB_FINDSTRINGEXACT As Long = &H1A2"},
+        {"name":"LB_GETCOUNT","kind":"const","vis":"private","signature":"Private Const LB_GETCOUNT As Long = &H18B"},
+        {"name":"LB_GETCURSEL","kind":"const","vis":"private","signature":"Private Const LB_GETCURSEL As Long = &H188"},
+        {"name":"LB_GETITEMHEIGHT","kind":"const","vis":"private","signature":"Private Const LB_GETITEMHEIGHT As Long = &H1A1"},
+        {"name":"LB_GETTEXT","kind":"const","vis":"private","signature":"Private Const LB_GETTEXT As Long = &H189"},
+        {"name":"LB_GETTEXTLEN","kind":"const","vis":"private","signature":"Private Const LB_GETTEXTLEN As Long = &H18A"},
+        {"name":"LB_INSERTSTRING","kind":"const","vis":"private","signature":"Private Const LB_INSERTSTRING As Long = &H181"},
+        {"name":"LB_SETCURSEL","kind":"const","vis":"private","signature":"Private Const LB_SETCURSEL As Long = &H186"},
+        {"name":"LB_SETITEMHEIGHT","kind":"const","vis":"private","signature":"Private Const LB_SETITEMHEIGHT As Long = &H1A0"},
+        {"name":"LCMapString","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function LCMapString Lib \"kernel32\" Alias \"LCMapStringW\" (ByVal LCID As Long, ByVal dwMapFlags As Long, ByVal lpSrcStr As LongPtr, ByVal cchSrcStr As Long, ByVal lpDestStr As LongPtr, ByVal cchDestStr As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function LCMapString Lib \"kernel32\" Alias \"LCMapStringW\" (ByVal LCID As Long, ByVal dwMapFlags As Long, ByVal lpSrcStr As Long, ByVal cchSrcStr As Long, ByVal lpDestStr As Long, ByVal cchDestStr As Long) As Long"}]},
+        {"name":"LOGPIXELSX","kind":"const","vis":"private","signature":"Private Const LOGPIXELSX As Long = 88"},
+        {"name":"LOGPIXELSY","kind":"const","vis":"private","signature":"Private Const LOGPIXELSY As Long = 90"},
+        {"name":"LPSTR_TEXTCALLBACK","kind":"const","vis":"private","signatures":[{"cond":"VBA7","signature":"Private Const LPSTR_TEXTCALLBACK As LongPtr = (-1)"},{"cond":"Not (VBA7)","signature":"Private Const LPSTR_TEXTCALLBACK As Long = (-1)"}]},
+        {"name":"LeaveCell","kind":"event","vis":"public","signature":"Public Event LeaveCell()"},
+        {"name":"LeaveEdit","kind":"event","vis":"public","signature":"Public Event LeaveEdit()"},
+        {"name":"Left","kind":"property","vis":"public","signature":"Public Property Get Left() As Single","returnType":"Single","accessor":"Get"},
+        {"name":"Left","kind":"property","vis":"public","signature":"Public Property Let Left(ByVal Value As Single)","accessor":"Let"},
+        {"name":"LeftCol","kind":"property","vis":"public","signature":"Public Property Get LeftCol() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"LeftCol","kind":"property","vis":"public","signature":"Public Property Let LeftCol(ByVal Value As Long)","accessor":"Let"},
+        {"name":"LoadArray","kind":"function","vis":"public","signature":"Public Function LoadArray(ByRef Data As Variant, Optional ByVal RowDim As Long = 2, Optional ByVal ColDim As Long = 1, Optional ByVal PageDim As Long = 0, Optional ByVal CurrentPage As Long, Optional ByVal Rows As Long = -1, Optional ByVal Cols As Long = -1, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal RestrictRows As Boolean, Optional ByVal RestrictColumns As Boolean, Optional ByVal DataCols As Variant) As Long","returnType":"Long"},
+        {"name":"LoadCursor","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function LoadCursor Lib \"user32\" Alias \"LoadCursorW\" (ByVal hInstance As LongPtr, ByVal lpCursorName As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function LoadCursor Lib \"user32\" Alias \"LoadCursorW\" (ByVal hInstance As Long, ByVal lpCursorName As Any) As Long","returnType":"Long"}]},
+        {"name":"LookupConv","kind":"function","vis":"public","signature":"Public Function LookupConv(ByVal Text As String, ByVal Conversion As FlexLookupConvConstants, Optional ByVal Col As Long = -1) As String","returnType":"String"},
+        {"name":"MA_ACTIVATE","kind":"const","vis":"private","signature":"Private Const MA_ACTIVATE As Long = &H1"},
+        {"name":"MA_ACTIVATEANDEAT","kind":"const","vis":"private","signature":"Private Const MA_ACTIVATEANDEAT As Long = &H2"},
+        {"name":"MA_NOACTIVATE","kind":"const","vis":"private","signature":"Private Const MA_NOACTIVATE As Long = &H3"},
+        {"name":"MA_NOACTIVATEANDEAT","kind":"const","vis":"private","signature":"Private Const MA_NOACTIVATEANDEAT As Long = &H4"},
+        {"name":"MCM_FIRST","kind":"const","vis":"private","signature":"Private Const MCM_FIRST As Long = &H1000"},
+        {"name":"MCM_GETCURSEL","kind":"const","vis":"private","signature":"Private Const MCM_GETCURSEL As Long = (MCM_FIRST + 1)"},
+        {"name":"MCM_GETMAXTODAYWIDTH","kind":"const","vis":"private","signature":"Private Const MCM_GETMAXTODAYWIDTH As Long = (MCM_FIRST + 21)"},
+        {"name":"MCM_GETMINREQRECT","kind":"const","vis":"private","signature":"Private Const MCM_GETMINREQRECT As Long = (MCM_FIRST + 9)"},
+        {"name":"MCM_GETRANGE","kind":"const","vis":"private","signature":"Private Const MCM_GETRANGE As Long = (MCM_FIRST + 17)"},
+        {"name":"MCM_SETCALENDARBORDER","kind":"const","vis":"private","signature":"Private Const MCM_SETCALENDARBORDER As Long = (MCM_FIRST + 30)"},
+        {"name":"MCM_SETCURSEL","kind":"const","vis":"private","signature":"Private Const MCM_SETCURSEL As Long = (MCM_FIRST + 2)"},
+        {"name":"MCM_SETRANGE","kind":"const","vis":"private","signature":"Private Const MCM_SETRANGE As Long = (MCM_FIRST + 18)"},
+        {"name":"MCN_FIRST","kind":"const","vis":"private","signature":"Private Const MCN_FIRST As Long = (-750)"},
+        {"name":"MCN_SELECT","kind":"const","vis":"private","signature":"Private Const MCN_SELECT As Long = (MCN_FIRST + 4)"},
+        {"name":"MCS_NOTODAY","kind":"const","vis":"private","signature":"Private Const MCS_NOTODAY As Long = &H10"},
+        {"name":"MK_CONTROL","kind":"const","vis":"private","signature":"Private Const MK_CONTROL As Long = &H8"},
+        {"name":"MK_SHIFT","kind":"const","vis":"private","signature":"Private Const MK_SHIFT As Long = &H4"},
+        {"name":"MONITOR_DEFAULTTOPRIMARY","kind":"const","vis":"private","signature":"Private Const MONITOR_DEFAULTTOPRIMARY As Long = &H1"},
+        {"name":"MapWindowPoints","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MapWindowPoints Lib \"user32\" (ByVal hWndFrom As LongPtr, ByVal hWndTo As LongPtr, ByRef lppt As Any, ByVal cPoints As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function MapWindowPoints Lib \"user32\" (ByVal hWndFrom As Long, ByVal hWndTo As Long, ByRef lppt As Any, ByVal cPoints As Long) As Long"}]},
+        {"name":"MergeCells","kind":"property","vis":"public","signature":"Public Property Get MergeCells() As FlexMergeCellsConstants","returnType":"FlexMergeCellsConstants","accessor":"Get"},
+        {"name":"MergeCells","kind":"property","vis":"public","signature":"Public Property Let MergeCells(ByVal Value As FlexMergeCellsConstants)","accessor":"Let"},
+        {"name":"MergeCol","kind":"property","vis":"public","signature":"Public Property Get MergeCol(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"MergeCol","kind":"property","vis":"public","signature":"Public Property Let MergeCol(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"MergeCompareFunction","kind":"function","vis":"private","signature":"Private Function MergeCompareFunction(ByVal Row1 As Long, ByVal Col1 As Long, ByVal Row2 As Long, ByVal Col2 As Long) As Boolean","returnType":"Boolean"},
+        {"name":"MergeRow","kind":"property","vis":"public","signature":"Public Property Get MergeRow(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"MergeRow","kind":"property","vis":"public","signature":"Public Property Let MergeRow(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"MergeSortRec","kind":"sub","vis":"private","signature":"Private Sub MergeSortRec(ByVal Left As Long, ByVal Right As Long, ByVal Col As Long, ByRef Data() As TCOLS, ByVal Sort As FlexSortConstants)"},
+        {"name":"MimicTextBox","kind":"property","vis":"public","signature":"Public Property Get MimicTextBox() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"MimicTextBox","kind":"property","vis":"public","signature":"Public Property Let MimicTextBox(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"MirrorAlignGeneral","kind":"property","vis":"public","signature":"Public Property Get MirrorAlignGeneral() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"MirrorAlignGeneral","kind":"property","vis":"public","signature":"Public Property Let MirrorAlignGeneral(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"MonitorFromWindow","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MonitorFromWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal dwFlags As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function MonitorFromWindow Lib \"user32\" (ByVal hWnd As Long, ByVal dwFlags As Long) As Long","returnType":"Long"}]},
+        {"name":"MouseCol","kind":"property","vis":"public","signature":"Public Property Get MouseCol() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"MouseDown","kind":"event","vis":"public","signature":"Public Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)"},
+        {"name":"MouseEnter","kind":"event","vis":"public","signature":"Public Event MouseEnter()"},
+        {"name":"MouseIcon","kind":"property","vis":"public","signature":"Public Property Get MouseIcon() As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"MouseIcon","kind":"property","vis":"public","signature":"Public Property Let MouseIcon(ByVal Value As IPictureDisp)","accessor":"Let"},
+        {"name":"MouseIcon","kind":"property","vis":"public","signature":"Public Property Set MouseIcon(ByVal Value As IPictureDisp)","accessor":"Set"},
+        {"name":"MouseLeave","kind":"event","vis":"public","signature":"Public Event MouseLeave()"},
+        {"name":"MouseMove","kind":"event","vis":"public","signature":"Public Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)"},
+        {"name":"MousePointer","kind":"property","vis":"public","signature":"Public Property Get MousePointer() As FlexMousePointerConstants","returnType":"FlexMousePointerConstants","accessor":"Get"},
+        {"name":"MousePointer","kind":"property","vis":"public","signature":"Public Property Let MousePointer(ByVal Value As FlexMousePointerConstants)","accessor":"Let"},
+        {"name":"MouseRow","kind":"property","vis":"public","signature":"Public Property Get MouseRow() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"MouseTrack","kind":"property","vis":"public","signature":"Public Property Get MouseTrack() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"MouseTrack","kind":"property","vis":"public","signature":"Public Property Let MouseTrack(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"MouseUp","kind":"event","vis":"public","signature":"Public Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)"},
+        {"name":"MoveFirstCol","kind":"sub","vis":"private","signature":"Private Sub MoveFirstCol(ByRef iCol As Long)"},
+        {"name":"MoveFirstRow","kind":"sub","vis":"private","signature":"Private Sub MoveFirstRow(ByRef iRow As Long)"},
+        {"name":"MoveLastCol","kind":"sub","vis":"private","signature":"Private Sub MoveLastCol(ByRef iCol As Long)"},
+        {"name":"MoveLastRow","kind":"sub","vis":"private","signature":"Private Sub MoveLastRow(ByRef iRow As Long)"},
+        {"name":"MoveNextCol","kind":"sub","vis":"private","signature":"Private Sub MoveNextCol(ByRef iCol As Long)"},
+        {"name":"MoveNextRow","kind":"sub","vis":"private","signature":"Private Sub MoveNextRow(ByRef iRow As Long)"},
+        {"name":"MovePreviousCol","kind":"sub","vis":"private","signature":"Private Sub MovePreviousCol(ByRef iCol As Long)"},
+        {"name":"MovePreviousRow","kind":"sub","vis":"private","signature":"Private Sub MovePreviousRow(ByRef iRow As Long)"},
+        {"name":"MoveWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function MoveWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function MoveWindow Lib \"user32\" (ByVal hWnd As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long"}]},
+        {"name":"MultiSelChange","kind":"event","vis":"public","signature":"Public Event MultiSelChange()"},
+        {"name":"MultiSelChangeTime","kind":"property","vis":"public","signature":"Public Property Get MultiSelChangeTime() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"MultiSelChangeTime","kind":"property","vis":"public","signature":"Public Property Let MultiSelChangeTime(ByVal Value As Long)","accessor":"Let"},
+        {"name":"NM_CUSTOMDRAW","kind":"const","vis":"private","signature":"Private Const NM_CUSTOMDRAW As Long = (NM_FIRST - 12)"},
+        {"name":"NM_FIRST","kind":"const","vis":"private","signature":"Private Const NM_FIRST As Long = 0"},
+        {"name":"NULL_BRUSH","kind":"const","vis":"private","signature":"Private Const NULL_BRUSH As Long = 5"},
+        {"name":"NULL_PTR","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const NULL_PTR As LongPtr = 0"},{"cond":"Not (Win64)","signature":"Private Const NULL_PTR As Long = 0"}]},
+        {"name":"Name","kind":"property","vis":"public","signature":"Public Property Get Name() As String","returnType":"String","accessor":"Get"},
+        {"name":"ODA_DRAWENTIRE","kind":"const","vis":"private","signature":"Private Const ODA_DRAWENTIRE As Long = &H1"},
+        {"name":"ODS_CHECKED","kind":"const","vis":"private","signature":"Private Const ODS_CHECKED As Long = &H8"},
+        {"name":"ODS_DISABLED","kind":"const","vis":"private","signature":"Private Const ODS_DISABLED As Long = &H4"},
+        {"name":"ODS_FOCUS","kind":"const","vis":"private","signature":"Private Const ODS_FOCUS As Long = &H10"},
+        {"name":"ODS_GRAYED","kind":"const","vis":"private","signature":"Private Const ODS_GRAYED As Long = &H2"},
+        {"name":"ODS_HOTLIGHT","kind":"const","vis":"private","signature":"Private Const ODS_HOTLIGHT As Long = &H40"},
+        {"name":"ODS_NOFOCUSRECT","kind":"const","vis":"private","signature":"Private Const ODS_NOFOCUSRECT As Long = &H200"},
+        {"name":"ODS_SELECTED","kind":"const","vis":"private","signature":"Private Const ODS_SELECTED As Long = &H1"},
+        {"name":"ODT_BUTTON","kind":"const","vis":"private","signature":"Private Const ODT_BUTTON As Long = &H4"},
+        {"name":"ODT_COMBOBOX","kind":"const","vis":"private","signature":"Private Const ODT_COMBOBOX As Long = &H3"},
+        {"name":"ODT_LISTBOX","kind":"const","vis":"private","signature":"Private Const ODT_LISTBOX As Long = &H2"},
+        {"name":"ODT_STATIC","kind":"const","vis":"private","signature":"Private Const ODT_STATIC As Long = &H5"},
+        {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Public Event OLECompleteDrag(Effect As Long)"},
+        {"name":"OLEDrag","kind":"sub","vis":"public","signature":"Public Sub OLEDrag()"},
+        {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Public Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)"},
+        {"name":"OLEDragDropScroll","kind":"property","vis":"public","signature":"Public Property Get OLEDragDropScroll() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"OLEDragDropScroll","kind":"property","vis":"public","signature":"Public Property Let OLEDragDropScroll(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"OLEDragDropScrollOrientation","kind":"property","vis":"public","signature":"Public Property Get OLEDragDropScrollOrientation() As FlexScrollOrientationConstants","returnType":"FlexScrollOrientationConstants","accessor":"Get"},
+        {"name":"OLEDragDropScrollOrientation","kind":"property","vis":"public","signature":"Public Property Let OLEDragDropScrollOrientation(ByVal Value As FlexScrollOrientationConstants)","accessor":"Let"},
+        {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Public Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)"},
+        {"name":"OLEDropMode","kind":"property","vis":"public","signature":"Public Property Get OLEDropMode() As FlexOLEDropModeConstants","returnType":"FlexOLEDropModeConstants","accessor":"Get"},
+        {"name":"OLEDropMode","kind":"property","vis":"public","signature":"Public Property Let OLEDropMode(ByVal Value As FlexOLEDropModeConstants)","accessor":"Let"},
+        {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Public Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)"},
+        {"name":"OLESetData","kind":"event","vis":"public","signature":"Public Event OLESetData(Data As DataObject, DataFormat As Integer)"},
+        {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Public Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)"},
+        {"name":"OpenThemeData","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"(ImplementThemedControls = True) And VBA7","signature":"Private Declare PtrSafe Function OpenThemeData Lib \"uxtheme\" (ByVal hWnd As LongPtr, ByVal lpszClassList As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"(ImplementThemedControls = True) And Not (VBA7)","signature":"Private Declare Function OpenThemeData Lib \"uxtheme\" (ByVal hWnd As Long, ByVal lpszClassList As Long) As Long","returnType":"Long"}]},
+        {"name":"PS_DASH","kind":"const","vis":"private","signature":"Private Const PS_DASH As Long = 1"},
+        {"name":"PS_DOT","kind":"const","vis":"private","signature":"Private Const PS_DOT As Long = 2"},
+        {"name":"PS_INSIDEFRAME","kind":"const","vis":"private","signature":"Private Const PS_INSIDEFRAME As Long = 6"},
+        {"name":"PS_SOLID","kind":"const","vis":"private","signature":"Private Const PS_SOLID As Long = 0"},
+        {"name":"PTR_SIZE","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const PTR_SIZE As Long = 8"},{"cond":"Not (Win64)","signature":"Private Const PTR_SIZE As Long = 4"}]},
+        {"name":"Parent","kind":"property","vis":"public","signature":"Public Property Get Parent() As Object","returnType":"Object","accessor":"Get"},
+        {"name":"ParseClip","kind":"function","vis":"public","signature":"Public Function ParseClip(ByRef Text As String, Optional ByVal Rows As Long = -1, Optional ByVal Cols As Long = -1) As Variant","returnType":"Variant"},
+        {"name":"Paste","kind":"sub","vis":"public","signature":"Public Sub Paste()"},
+        {"name":"PatBlt","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function PatBlt Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal dwRop As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function PatBlt Lib \"gdi32\" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal dwRop As Long) As Long"}]},
+        {"name":"PeekMessage","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function PeekMessage Lib \"user32\" Alias \"PeekMessageW\" (ByRef lpMsg As TMSG, ByVal hWnd As LongPtr, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long, ByVal wRemoveMsg As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function PeekMessage Lib \"user32\" Alias \"PeekMessageW\" (ByRef lpMsg As TMSG, ByVal hWnd As Long, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long, ByVal wRemoveMsg As Long) As Long"}]},
+        {"name":"Picture","kind":"property","vis":"public","signature":"Public Property Get Picture() As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"PictureType","kind":"property","vis":"public","signature":"Public Property Get PictureType() As FlexPictureTypeConstants","returnType":"FlexPictureTypeConstants","accessor":"Get"},
+        {"name":"PictureType","kind":"property","vis":"public","signature":"Public Property Let PictureType(ByVal Value As FlexPictureTypeConstants)","accessor":"Let"},
+        {"name":"PlayEnhMetaFile","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function PlayEnhMetaFile Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal hEMF As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function PlayEnhMetaFile Lib \"gdi32\" (ByVal hDC As Long, ByVal hEMF As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"Polygon","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function Polygon Lib \"gdi32\" (ByVal hDC As LongPtr, ByRef lpPoint As POINTAPI, ByVal nCount As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function Polygon Lib \"gdi32\" (ByVal hDC As Long, ByRef lpPoint As POINTAPI, ByVal nCount As Long) As Long"}]},
+        {"name":"Polyline","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function Polyline Lib \"gdi32\" (ByVal hDC As LongPtr, ByRef lpPoint As POINTAPI, ByVal nCount As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function Polyline Lib \"gdi32\" (ByVal hDC As Long, ByRef lpPoint As POINTAPI, ByVal nCount As Long) As Long"}]},
+        {"name":"PostMessage","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function PostMessage Lib \"user32\" Alias \"PostMessageW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByRef lParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function PostMessage Lib \"user32\" Alias \"PostMessageW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long","returnType":"Long"}]},
+        {"name":"PostQuitMessage","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub PostQuitMessage Lib \"user32\" (ByVal nExitCode As Long)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub PostQuitMessage Lib \"user32\" (ByVal nExitCode As Long)"}]},
+        {"name":"PreTranslateMsg","kind":"function","vis":"private","signature":"Private Function PreTranslateMsg(ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"PreviewKeyDown","kind":"event","vis":"public","signature":"Public Event PreviewKeyDown(ByVal KeyCode As Integer, ByRef IsInputKey As Boolean)"},
+        {"name":"PreviewKeyUp","kind":"event","vis":"public","signature":"Public Event PreviewKeyUp(ByVal KeyCode As Integer, ByRef IsInputKey As Boolean)"},
+        {"name":"ProcessFormatRange","kind":"function","vis":"private","signature":"Private Function ProcessFormatRange(ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"ProcessKeyDown","kind":"sub","vis":"private","signature":"Private Sub ProcessKeyDown(ByVal KeyCode As Integer, ByVal Shift As Integer)"},
+        {"name":"ProcessLButtonDown","kind":"function","vis":"private","signature":"Private Function ProcessLButtonDown(ByVal Shift As Integer, ByRef HTI As THITTESTINFO) As Boolean","returnType":"Boolean"},
+        {"name":"ProcessLButtonUp","kind":"sub","vis":"private","signature":"Private Sub ProcessLButtonUp(ByVal Shift As Integer, ByVal X As Long, ByVal Y As Long)"},
+        {"name":"ProcessMouseMove","kind":"sub","vis":"private","signature":"Private Sub ProcessMouseMove(ByVal Button As Integer, ByVal X As Long, ByVal Y As Long)"},
+        {"name":"PropAllowBigSelection","kind":"field","vis":"private","signature":"Private PropAllowBigSelection As Boolean"},
+        {"name":"PropAllowDropFiles","kind":"field","vis":"private","signature":"Private PropAllowDropFiles As Boolean"},
+        {"name":"PropAllowIncrementalSearch","kind":"field","vis":"private","signature":"Private PropAllowIncrementalSearch As Boolean"},
+        {"name":"PropAllowMultiSelection","kind":"field","vis":"private","signature":"Private PropAllowMultiSelection As Boolean"},
+        {"name":"PropAllowReaderMode","kind":"field","vis":"private","signature":"Private PropAllowReaderMode As Boolean"},
+        {"name":"PropAllowScrollLock","kind":"field","vis":"private","signature":"Private PropAllowScrollLock As Boolean"},
+        {"name":"PropAllowSelection","kind":"field","vis":"private","signature":"Private PropAllowSelection As Boolean"},
+        {"name":"PropAllowUserEditing","kind":"field","vis":"private","signature":"Private PropAllowUserEditing As Boolean"},
+        {"name":"PropAllowUserFreezing","kind":"field","vis":"private","signature":"Private PropAllowUserFreezing As FlexAllowUserFreezingConstants"},
+        {"name":"PropAllowUserResizing","kind":"field","vis":"private","signature":"Private PropAllowUserResizing As FlexAllowUserResizingConstants"},
+        {"name":"PropAlwaysAllowComboCues","kind":"field","vis":"private","signature":"Private PropAlwaysAllowComboCues As Boolean"},
+        {"name":"PropAutoClipboard","kind":"field","vis":"private","signature":"Private PropAutoClipboard As Boolean"},
+        {"name":"PropBackColor","kind":"field","vis":"private","signature":"Private PropBackColor As OLE_COLOR"},
+        {"name":"PropBackColorAlt","kind":"field","vis":"private","signature":"Private PropBackColorAlt As OLE_COLOR"},
+        {"name":"PropBackColorBkg","kind":"field","vis":"private","signature":"Private PropBackColorBkg As OLE_COLOR"},
+        {"name":"PropBackColorFixed","kind":"field","vis":"private","signature":"Private PropBackColorFixed As OLE_COLOR"},
+        {"name":"PropBackColorSel","kind":"field","vis":"private","signature":"Private PropBackColorSel As OLE_COLOR"},
+        {"name":"PropBestFitMode","kind":"field","vis":"private","signature":"Private PropBestFitMode As FlexBestFitModeConstants"},
+        {"name":"PropBorderStyle","kind":"field","vis":"private","signature":"Private PropBorderStyle As FlexBorderStyleConstants"},
+        {"name":"PropClipCopyMode","kind":"field","vis":"private","signature":"Private PropClipCopyMode As FlexClipCopyModeConstants"},
+        {"name":"PropClipMode","kind":"field","vis":"private","signature":"Private PropClipMode As FlexClipModeConstants"},
+        {"name":"PropClipPasteMode","kind":"field","vis":"private","signature":"Private PropClipPasteMode As FlexClipPasteModeConstants"},
+        {"name":"PropClipSeparators","kind":"field","vis":"private","signature":"Private PropClipSeparators As String"},
+        {"name":"PropColWidthMax","kind":"field","vis":"private","signature":"Private PropColWidthMax As Long"},
+        {"name":"PropColWidthMin","kind":"field","vis":"private","signature":"Private PropColWidthMin As Long"},
+        {"name":"PropCols","kind":"field","vis":"private","signature":"Private PropCols As Long"},
+        {"name":"PropDataMember","kind":"field","vis":"private","signature":"Private PropDataMember As MSDATASRC.DataMember"},
+        {"name":"PropDataSource","kind":"field","vis":"private","signature":"Private PropDataSource As MSDATASRC.DataSource"},
+        {"name":"PropDirectionAfterReturn","kind":"field","vis":"private","signature":"Private PropDirectionAfterReturn As FlexDirectionAfterReturnConstants"},
+        {"name":"PropDisableNoScroll","kind":"field","vis":"private","signature":"Private PropDisableNoScroll As Boolean"},
+        {"name":"PropDoubleBuffer","kind":"field","vis":"private","signature":"Private PropDoubleBuffer As Boolean"},
+        {"name":"PropEllipsisFormat","kind":"field","vis":"private","signature":"Private PropEllipsisFormat As FlexEllipsisFormatConstants"},
+        {"name":"PropEllipsisFormatFixed","kind":"field","vis":"private","signature":"Private PropEllipsisFormatFixed As FlexEllipsisFormatConstants"},
+        {"name":"PropExtendLastCol","kind":"field","vis":"private","signature":"Private PropExtendLastCol As Boolean"},
+        {"name":"PropFillStyle","kind":"field","vis":"private","signature":"Private PropFillStyle As FlexFillStyleConstants"},
+        {"name":"PropFixGridLineOffsets","kind":"field","vis":"private","signature":"Private PropFixGridLineOffsets As Boolean"},
+        {"name":"PropFixedCols","kind":"field","vis":"private","signature":"Private PropFixedCols As Long"},
+        {"name":"PropFixedRows","kind":"field","vis":"private","signature":"Private PropFixedRows As Long"},
+        {"name":"PropFloodColor","kind":"field","vis":"private","signature":"Private PropFloodColor As OLE_COLOR"},
+        {"name":"PropFocusRect","kind":"field","vis":"private","signature":"Private PropFocusRect As FlexFocusRectConstants"},
+        {"name":"PropFocusRectWidth","kind":"field","vis":"private","signature":"Private PropFocusRectWidth As Integer"},
+        {"name":"PropFont","kind":"field","vis":"private","signature":"Private WithEvents PropFont As StdFont"},
+        {"name":"PropFontFixed","kind":"field","vis":"private","signature":"Private WithEvents PropFontFixed As StdFont"},
+        {"name":"PropFontFixed_FontChanged","kind":"sub","vis":"private","signature":"Private Sub PropFontFixed_FontChanged(ByVal PropertyName As String)"},
+        {"name":"PropFontQuality","kind":"field","vis":"private","signature":"Private PropFontQuality As FlexFontQualityConstants"},
+        {"name":"PropFont_FontChanged","kind":"sub","vis":"private","signature":"Private Sub PropFont_FontChanged(ByVal PropertyName As String)"},
+        {"name":"PropForeColor","kind":"field","vis":"private","signature":"Private PropForeColor As OLE_COLOR"},
+        {"name":"PropForeColorFixed","kind":"field","vis":"private","signature":"Private PropForeColorFixed As OLE_COLOR"},
+        {"name":"PropForeColorSel","kind":"field","vis":"private","signature":"Private PropForeColorSel As OLE_COLOR"},
+        {"name":"PropFormatString","kind":"field","vis":"private","signature":"Private PropFormatString As String"},
+        {"name":"PropFrozenCols","kind":"field","vis":"private","signature":"Private PropFrozenCols As Long"},
+        {"name":"PropFrozenRows","kind":"field","vis":"private","signature":"Private PropFrozenRows As Long"},
+        {"name":"PropGridColor","kind":"field","vis":"private","signature":"Private PropGridColor As OLE_COLOR"},
+        {"name":"PropGridColorFixed","kind":"field","vis":"private","signature":"Private PropGridColorFixed As OLE_COLOR"},
+        {"name":"PropGridColorFrozen","kind":"field","vis":"private","signature":"Private PropGridColorFrozen As OLE_COLOR"},
+        {"name":"PropGridLineWidth","kind":"field","vis":"private","signature":"Private PropGridLineWidth As Integer"},
+        {"name":"PropGridLineWidthFixed","kind":"field","vis":"private","signature":"Private PropGridLineWidthFixed As Integer"},
+        {"name":"PropGridLineWidthFrozen","kind":"field","vis":"private","signature":"Private PropGridLineWidthFrozen As Integer"},
+        {"name":"PropGridLines","kind":"field","vis":"private","signature":"Private PropGridLines As FlexGridLineConstants"},
+        {"name":"PropGridLinesFixed","kind":"field","vis":"private","signature":"Private PropGridLinesFixed As FlexGridLineConstants"},
+        {"name":"PropGridLinesFrozen","kind":"field","vis":"private","signature":"Private PropGridLinesFrozen As FlexGridLineConstants"},
+        {"name":"PropHighLight","kind":"field","vis":"private","signature":"Private PropHighLight As FlexHighLightConstants"},
+        {"name":"PropIMEMode","kind":"field","vis":"private","signature":"Private PropIMEMode As FlexIMEModeConstants"},
+        {"name":"PropInsertMarkColor","kind":"field","vis":"private","signature":"Private PropInsertMarkColor As OLE_COLOR"},
+        {"name":"PropMergeCells","kind":"field","vis":"private","signature":"Private PropMergeCells As FlexMergeCellsConstants"},
+        {"name":"PropMimicTextBox","kind":"field","vis":"private","signature":"Private PropMimicTextBox As Boolean"},
+        {"name":"PropMirrorAlignGeneral","kind":"field","vis":"private","signature":"Private PropMirrorAlignGeneral As Boolean"},
+        {"name":"PropMouseIcon","kind":"field","vis":"private","signature":"Private PropMouseIcon As IPictureDisp"},
+        {"name":"PropMousePointer","kind":"field","vis":"private","signature":"Private PropMousePointer As Integer"},
+        {"name":"PropMouseTrack","kind":"field","vis":"private","signature":"Private PropMouseTrack As Boolean"},
+        {"name":"PropMultiSelChangeTime","kind":"field","vis":"private","signature":"Private PropMultiSelChangeTime As Long"},
+        {"name":"PropOLEDragDropScroll","kind":"field","vis":"private","signature":"Private PropOLEDragDropScroll As Boolean"},
+        {"name":"PropOLEDragDropScrollOrientation","kind":"field","vis":"private","signature":"Private PropOLEDragDropScrollOrientation As FlexScrollOrientationConstants"},
+        {"name":"PropPictureType","kind":"field","vis":"private","signature":"Private PropPictureType As FlexPictureTypeConstants"},
+        {"name":"PropRecordset","kind":"field","vis":"private","signature":"Private PropRecordset As Object"},
+        {"name":"PropRedraw","kind":"field","vis":"private","signature":"Private PropRedraw As Boolean"},
+        {"name":"PropRightToLeft","kind":"field","vis":"private","signature":"Private PropRightToLeft As Boolean"},
+        {"name":"PropRightToLeftLayout","kind":"field","vis":"private","signature":"Private PropRightToLeftLayout As Boolean"},
+        {"name":"PropRightToLeftMode","kind":"field","vis":"private","signature":"Private PropRightToLeftMode As FlexRightToLeftModeConstants"},
+        {"name":"PropRowHeightMax","kind":"field","vis":"private","signature":"Private PropRowHeightMax As Long"},
+        {"name":"PropRowHeightMin","kind":"field","vis":"private","signature":"Private PropRowHeightMin As Long"},
+        {"name":"PropRowSizingMode","kind":"field","vis":"private","signature":"Private PropRowSizingMode As FlexRowSizingModeConstants"},
+        {"name":"PropRowSortArrows","kind":"field","vis":"private","signature":"Private PropRowSortArrows As Long"},
+        {"name":"PropRows","kind":"field","vis":"private","signature":"Private PropRows As Long"},
+        {"name":"PropScrollBars","kind":"field","vis":"private","signature":"Private PropScrollBars As VBRUN.ScrollBarConstants"},
+        {"name":"PropScrollTipFollowThumb","kind":"field","vis":"private","signature":"Private PropScrollTipFollowThumb As Boolean"},
+        {"name":"PropScrollTrack","kind":"field","vis":"private","signature":"Private PropScrollTrack As Boolean"},
+        {"name":"PropSelectionMode","kind":"field","vis":"private","signature":"Private PropSelectionMode As FlexSelectionModeConstants"},
+        {"name":"PropSheetBorder","kind":"field","vis":"private","signature":"Private PropSheetBorder As Boolean"},
+        {"name":"PropShowInfoTips","kind":"field","vis":"private","signature":"Private PropShowInfoTips As Boolean"},
+        {"name":"PropShowLabelTips","kind":"field","vis":"private","signature":"Private PropShowLabelTips As Boolean"},
+        {"name":"PropShowScrollTips","kind":"field","vis":"private","signature":"Private PropShowScrollTips As Boolean"},
+        {"name":"PropSingleLine","kind":"field","vis":"private","signature":"Private PropSingleLine As Boolean"},
+        {"name":"PropSortArrowColor","kind":"field","vis":"private","signature":"Private PropSortArrowColor As OLE_COLOR"},
+        {"name":"PropTabBehavior","kind":"field","vis":"private","signature":"Private PropTabBehavior As FlexTabBehaviorConstants"},
+        {"name":"PropTextStyle","kind":"field","vis":"private","signature":"Private PropTextStyle As FlexTextStyleConstants"},
+        {"name":"PropTextStyleFixed","kind":"field","vis":"private","signature":"Private PropTextStyleFixed As FlexTextStyleConstants"},
+        {"name":"PropUndoLimit","kind":"field","vis":"private","signature":"Private PropUndoLimit As Long"},
+        {"name":"PropUseForeColorSel","kind":"field","vis":"private","signature":"Private PropUseForeColorSel As Boolean"},
+        {"name":"PropVisualStyles","kind":"field","vis":"private","signature":"Private PropVisualStyles As Boolean"},
+        {"name":"PropWallPaper","kind":"field","vis":"private","signature":"Private PropWallPaper As IPictureDisp"},
+        {"name":"PropWallPaperAlignment","kind":"field","vis":"private","signature":"Private PropWallPaperAlignment As FlexWallPaperAlignmentConstants"},
+        {"name":"PropWantReturn","kind":"field","vis":"private","signature":"Private PropWantReturn As Boolean"},
+        {"name":"PropWordWrap","kind":"field","vis":"private","signature":"Private PropWordWrap As Boolean"},
+        {"name":"PropWrapCellBehavior","kind":"field","vis":"private","signature":"Private PropWrapCellBehavior As FlexWrapCellBehaviorConstants"},
+        {"name":"PtInRect","kind":"function","vis":"private","signature":"Private Function PtInRect(ByRef lpRect As RECT, ByVal X As Long, ByVal Y As Long) As Long","returnType":"Long"},
+        {"name":"RASTERCAPS","kind":"const","vis":"private","signature":"Private Const RASTERCAPS As Long = 38"},
+        {"name":"RATIO_OF_ROWINFO_HEIGHT_TO_COLINFO_WIDTH","kind":"const","vis":"private","signature":"Private Const RATIO_OF_ROWINFO_HEIGHT_TO_COLINFO_WIDTH As Long = 4"},
+        {"name":"RCPF_CHECKLEFTCOL","kind":"const","vis":"private","signature":"Private Const RCPF_CHECKLEFTCOL As Long = &H20"},
+        {"name":"RCPF_CHECKTOPROW","kind":"const","vis":"private","signature":"Private Const RCPF_CHECKTOPROW As Long = &H10"},
+        {"name":"RCPF_CTRL","kind":"const","vis":"private","signature":"Private Const RCPF_CTRL As Long = &H800"},
+        {"name":"RCPF_FORCELEFTCOLMASK","kind":"const","vis":"private","signature":"Private Const RCPF_FORCELEFTCOLMASK As Long = &H80"},
+        {"name":"RCPF_FORCEREDRAW","kind":"const","vis":"private","signature":"Private Const RCPF_FORCEREDRAW As Long = &H200"},
+        {"name":"RCPF_FORCETOPROWMASK","kind":"const","vis":"private","signature":"Private Const RCPF_FORCETOPROWMASK As Long = &H40"},
+        {"name":"RCPF_SETSCROLLBARS","kind":"const","vis":"private","signature":"Private Const RCPF_SETSCROLLBARS As Long = &H100"},
+        {"name":"RCPF_SHIFT","kind":"const","vis":"private","signature":"Private Const RCPF_SHIFT As Long = &H400"},
+        {"name":"RCPM_COL","kind":"const","vis":"private","signature":"Private Const RCPM_COL As Long = &H2"},
+        {"name":"RCPM_COLSEL","kind":"const","vis":"private","signature":"Private Const RCPM_COLSEL As Long = &H8"},
+        {"name":"RCPM_LEFTCOL","kind":"const","vis":"private","signature":"Private Const RCPM_LEFTCOL As Long = &H20"},
+        {"name":"RCPM_ROW","kind":"const","vis":"private","signature":"Private Const RCPM_ROW As Long = &H1"},
+        {"name":"RCPM_ROWSEL","kind":"const","vis":"private","signature":"Private Const RCPM_ROWSEL As Long = &H4"},
+        {"name":"RCPM_TOPROW","kind":"const","vis":"private","signature":"Private Const RCPM_TOPROW As Long = &H10"},
+        {"name":"RC_STRETCHBLT","kind":"const","vis":"private","signature":"Private Const RC_STRETCHBLT As Long = &H800"},
+        {"name":"RDW_ALLCHILDREN","kind":"const","vis":"private","signature":"Private Const RDW_ALLCHILDREN As Long = &H80"},
+        {"name":"RDW_ERASE","kind":"const","vis":"private","signature":"Private Const RDW_ERASE As Long = &H4"},
+        {"name":"RDW_FRAME","kind":"const","vis":"private","signature":"Private Const RDW_FRAME As Long = &H400"},
+        {"name":"RDW_INVALIDATE","kind":"const","vis":"private","signature":"Private Const RDW_INVALIDATE As Long = &H1"},
+        {"name":"RDW_UPDATENOW","kind":"const","vis":"private","signature":"Private Const RDW_UPDATENOW As Long = &H100"},
+        {"name":"RGN_COPY","kind":"const","vis":"private","signature":"Private Const RGN_COPY As Long = 5"},
+        {"name":"RGN_DIFF","kind":"const","vis":"private","signature":"Private Const RGN_DIFF As Long = 4"},
+        {"name":"ROWINFO_HEIGHT_SPACING_DIP","kind":"const","vis":"private","signature":"Private Const ROWINFO_HEIGHT_SPACING_DIP As Long = 3"},
+        {"name":"RWIS_HIDDEN","kind":"const","vis":"private","signature":"Private Const RWIS_HIDDEN As Long = &H1"},
+        {"name":"RWIS_MERGE","kind":"const","vis":"private","signature":"Private Const RWIS_MERGE As Long = &H2"},
+        {"name":"RWIS_NOSIZING","kind":"const","vis":"private","signature":"Private Const RWIS_NOSIZING As Long = &H8"},
+        {"name":"RWIS_SELECTED","kind":"const","vis":"private","signature":"Private Const RWIS_SELECTED As Long = &H4"},
+        {"name":"Rectangle","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function Rectangle Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function Rectangle Lib \"gdi32\" (ByVal hDC As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long"}]},
+        {"name":"Redo","kind":"sub","vis":"public","signature":"Public Sub Redo()"},
+        {"name":"Redraw","kind":"property","vis":"public","signature":"Public Property Get Redraw() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"Redraw","kind":"property","vis":"public","signature":"Public Property Let Redraw(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"RedrawGrid","kind":"sub","vis":"private","signature":"Private Sub RedrawGrid(Optional ByVal UpdateNow As Boolean)"},
+        {"name":"RedrawWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function RedrawWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal lprcUpdate As LongPtr, ByVal hrgnUpdate As LongPtr, ByVal fuRedraw As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function RedrawWindow Lib \"user32\" (ByVal hWnd As Long, ByVal lprcUpdate As Long, ByVal hrgnUpdate As Long, ByVal fuRedraw As Long) As Long"}]},
+        {"name":"Refresh","kind":"sub","vis":"public","signature":"Public Sub Refresh()"},
+        {"name":"ReleaseCapture","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ReleaseCapture Lib \"user32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ReleaseCapture Lib \"user32\" () As Long"}]},
+        {"name":"ReleaseDC","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ReleaseDC Lib \"user32\" (ByVal hWnd As LongPtr, ByVal hDC As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ReleaseDC Lib \"user32\" (ByVal hWnd As Long, ByVal hDC As Long) As Long"}]},
+        {"name":"RemoveItem","kind":"sub","vis":"public","signature":"Public Sub RemoveItem(ByVal Index As Long)"},
+        {"name":"RemoveSelectedRow","kind":"function","vis":"private","signature":"Private Function RemoveSelectedRow() As Boolean","returnType":"Boolean"},
+        {"name":"RemoveSelectedRows","kind":"function","vis":"private","signature":"Private Function RemoveSelectedRows() As Boolean","returnType":"Boolean"},
+        {"name":"ResetRedo","kind":"sub","vis":"private","signature":"Private Sub ResetRedo()"},
+        {"name":"ResetUndo","kind":"sub","vis":"private","signature":"Private Sub ResetUndo()"},
+        {"name":"ResetUndoQueue","kind":"sub","vis":"public","signature":"Public Sub ResetUndoQueue()"},
+        {"name":"RightCol","kind":"property","vis":"public","signature":"Public Property Get RightCol(Optional ByVal Visibility As FlexVisibilityConstants) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RightToLeft","kind":"property","vis":"public","signature":"Public Property Get RightToLeft() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"RightToLeft","kind":"property","vis":"public","signature":"Public Property Let RightToLeft(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"RightToLeftLayout","kind":"property","vis":"public","signature":"Public Property Get RightToLeftLayout() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"RightToLeftLayout","kind":"property","vis":"public","signature":"Public Property Let RightToLeftLayout(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"RightToLeftMode","kind":"property","vis":"public","signature":"Public Property Get RightToLeftMode() As FlexRightToLeftModeConstants","returnType":"FlexRightToLeftModeConstants","accessor":"Get"},
+        {"name":"RightToLeftMode","kind":"property","vis":"public","signature":"Public Property Let RightToLeftMode(ByVal Value As FlexRightToLeftModeConstants)","accessor":"Let"},
+        {"name":"Row","kind":"property","vis":"public","signature":"Public Property Get Row() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"Row","kind":"property","vis":"public","signature":"Public Property Let Row(ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowColChange","kind":"event","vis":"public","signature":"Public Event RowColChange()"},
+        {"name":"RowData","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get RowData(ByVal Index As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get RowData(ByVal Index As Long) As Long","returnType":"Long"}]},
+        {"name":"RowData","kind":"property","vis":"public","accessor":"Let","signatures":[{"cond":"VBA7","signature":"Public Property Let RowData(ByVal Index As Long, ByVal Value As LongPtr)"},{"cond":"Not (VBA7)","signature":"Public Property Let RowData(ByVal Index As Long, ByVal Value As Long)"}]},
+        {"name":"RowHeight","kind":"property","vis":"public","signature":"Public Property Get RowHeight(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowHeight","kind":"property","vis":"public","signature":"Public Property Let RowHeight(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowHeightMax","kind":"property","vis":"public","signature":"Public Property Get RowHeightMax() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowHeightMax","kind":"property","vis":"public","signature":"Public Property Let RowHeightMax(ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowHeightMin","kind":"property","vis":"public","signature":"Public Property Get RowHeightMin() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowHeightMin","kind":"property","vis":"public","signature":"Public Property Let RowHeightMin(ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowHeightUniform","kind":"property","vis":"public","signature":"Public Property Get RowHeightUniform() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowHeightUniform","kind":"property","vis":"public","signature":"Public Property Let RowHeightUniform(ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowHidden","kind":"property","vis":"public","signature":"Public Property Get RowHidden(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"RowHidden","kind":"property","vis":"public","signature":"Public Property Let RowHidden(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"RowID","kind":"property","vis":"public","signature":"Public Property Get RowID(ByVal Index As Long) As Variant","returnType":"Variant","accessor":"Get"},
+        {"name":"RowID","kind":"property","vis":"public","signature":"Public Property Let RowID(ByVal Index As Long, ByVal Value As Variant)","accessor":"Let"},
+        {"name":"RowIndex","kind":"property","vis":"public","signature":"Public Property Get RowIndex(ByVal ID As Variant) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowIndex","kind":"property","vis":"public","signature":"Public Property Let RowIndex(ByVal ID As Variant, ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowIsVisible","kind":"property","vis":"public","signature":"Public Property Get RowIsVisible(ByVal Index As Long, Optional ByVal Visibility As FlexVisibilityConstants) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"RowNonHiddenPosition","kind":"property","vis":"public","signature":"Public Property Get RowNonHiddenPosition(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowPos","kind":"property","vis":"public","signature":"Public Property Get RowPos(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowPosition","kind":"property","vis":"public","signature":"Public Property Get RowPosition(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowPosition","kind":"property","vis":"public","signature":"Public Property Let RowPosition(ByVal Index As Long, ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowPositionFromNonHidden","kind":"property","vis":"public","signature":"Public Property Get RowPositionFromNonHidden(ByVal NonHiddenPosition As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowResizable","kind":"property","vis":"public","signature":"Public Property Get RowResizable(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"RowResizable","kind":"property","vis":"public","signature":"Public Property Let RowResizable(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"RowSel","kind":"property","vis":"public","signature":"Public Property Get RowSel() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowSel","kind":"property","vis":"public","signature":"Public Property Let RowSel(ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowSelected","kind":"property","vis":"public","signature":"Public Property Get RowSelected(ByVal Index As Long) As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"RowSelected","kind":"property","vis":"public","signature":"Public Property Let RowSelected(ByVal Index As Long, ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"RowSizingMode","kind":"property","vis":"public","signature":"Public Property Get RowSizingMode() As FlexRowSizingModeConstants","returnType":"FlexRowSizingModeConstants","accessor":"Get"},
+        {"name":"RowSizingMode","kind":"property","vis":"public","signature":"Public Property Let RowSizingMode(ByVal Value As FlexRowSizingModeConstants)","accessor":"Let"},
+        {"name":"RowSortArrows","kind":"property","vis":"public","signature":"Public Property Get RowSortArrows() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowSortArrows","kind":"property","vis":"public","signature":"Public Property Let RowSortArrows(ByVal Value As Long)","accessor":"Let"},
+        {"name":"Rows","kind":"property","vis":"public","signature":"Public Property Get Rows() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"Rows","kind":"property","vis":"public","signature":"Public Property Let Rows(ByVal Value As Long)","accessor":"Let"},
+        {"name":"RowsNonHidden","kind":"property","vis":"public","signature":"Public Property Get RowsNonHidden() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowsPerPage","kind":"property","vis":"public","signature":"Public Property Get RowsPerPage() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"RowsVisible","kind":"property","vis":"public","signature":"Public Property Get RowsVisible(Optional ByVal Visibility As FlexVisibilityConstants = FlexVisibilityCompleteOnly) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"SB_BOTTOM","kind":"const","vis":"private","signature":"Private Const SB_BOTTOM As Long = 7"},
+        {"name":"SB_HORZ","kind":"const","vis":"private","signature":"Private Const SB_HORZ As Long = 0"},
+        {"name":"SB_LINEDOWN","kind":"const","vis":"private","signature":"Private Const SB_LINEDOWN As Long = 1"},
+        {"name":"SB_LINELEFT","kind":"const","vis":"private","signature":"Private Const SB_LINELEFT As Long = 0"},
+        {"name":"SB_LINERIGHT","kind":"const","vis":"private","signature":"Private Const SB_LINERIGHT As Long = 1"},
+        {"name":"SB_LINEUP","kind":"const","vis":"private","signature":"Private Const SB_LINEUP As Long = 0"},
+        {"name":"SB_PAGEDOWN","kind":"const","vis":"private","signature":"Private Const SB_PAGEDOWN As Long = 3"},
+        {"name":"SB_PAGELEFT","kind":"const","vis":"private","signature":"Private Const SB_PAGELEFT As Long = 2"},
+        {"name":"SB_PAGERIGHT","kind":"const","vis":"private","signature":"Private Const SB_PAGERIGHT As Long = 3"},
+        {"name":"SB_PAGEUP","kind":"const","vis":"private","signature":"Private Const SB_PAGEUP As Long = 2"},
+        {"name":"SB_THUMBPOSITION","kind":"const","vis":"private","signature":"Private Const SB_THUMBPOSITION As Long = 4"},
+        {"name":"SB_THUMBTRACK","kind":"const","vis":"private","signature":"Private Const SB_THUMBTRACK As Long = 5"},
+        {"name":"SB_TOP","kind":"const","vis":"private","signature":"Private Const SB_TOP As Long = 6"},
+        {"name":"SB_VERT","kind":"const","vis":"private","signature":"Private Const SB_VERT As Long = 1"},
+        {"name":"SIF_ALL","kind":"const","vis":"private","signature":"Private Const SIF_ALL As Long = (SIF_RANGE Or SIF_PAGE Or SIF_POS Or SIF_TRACKPOS)"},
+        {"name":"SIF_DISABLENOSCROLL","kind":"const","vis":"private","signature":"Private Const SIF_DISABLENOSCROLL As Long = &H8"},
+        {"name":"SIF_PAGE","kind":"const","vis":"private","signature":"Private Const SIF_PAGE As Long = &H2"},
+        {"name":"SIF_POS","kind":"const","vis":"private","signature":"Private Const SIF_POS As Long = &H4"},
+        {"name":"SIF_RANGE","kind":"const","vis":"private","signature":"Private Const SIF_RANGE As Long = &H1"},
+        {"name":"SIF_TRACKPOS","kind":"const","vis":"private","signature":"Private Const SIF_TRACKPOS As Long = &H10"},
+        {"name":"SM_CXBORDER","kind":"const","vis":"private","signature":"Private Const SM_CXBORDER As Long = 5"},
+        {"name":"SM_CXDRAG","kind":"const","vis":"private","signature":"Private Const SM_CXDRAG As Long = 68"},
+        {"name":"SM_CXEDGE","kind":"const","vis":"private","signature":"Private Const SM_CXEDGE As Long = 45"},
+        {"name":"SM_CXHSCROLL","kind":"const","vis":"private","signature":"Private Const SM_CXHSCROLL As Long = 21"},
+        {"name":"SM_CXVSCROLL","kind":"const","vis":"private","signature":"Private Const SM_CXVSCROLL As Long = 2"},
+        {"name":"SM_CYBORDER","kind":"const","vis":"private","signature":"Private Const SM_CYBORDER As Long = 6"},
+        {"name":"SM_CYDRAG","kind":"const","vis":"private","signature":"Private Const SM_CYDRAG As Long = 69"},
+        {"name":"SM_CYEDGE","kind":"const","vis":"private","signature":"Private Const SM_CYEDGE As Long = 46"},
+        {"name":"SM_CYHSCROLL","kind":"const","vis":"private","signature":"Private Const SM_CYHSCROLL As Long = 3"},
+        {"name":"SM_CYVSCROLL","kind":"const","vis":"private","signature":"Private Const SM_CYVSCROLL As Long = 20"},
+        {"name":"SPI_GETFOCUSBORDERHEIGHT","kind":"const","vis":"private","signature":"Private Const SPI_GETFOCUSBORDERHEIGHT As Long = &H2010"},
+        {"name":"SPI_GETFOCUSBORDERWIDTH","kind":"const","vis":"private","signature":"Private Const SPI_GETFOCUSBORDERWIDTH As Long = &H200E"},
+        {"name":"SPI_GETWHEELSCROLLLINES","kind":"const","vis":"private","signature":"Private Const SPI_GETWHEELSCROLLLINES As Long = &H68"},
+        {"name":"SS_NOTIFY","kind":"const","vis":"private","signature":"Private Const SS_NOTIFY As Long = &H100"},
+        {"name":"SS_OWNERDRAW","kind":"const","vis":"private","signature":"Private Const SS_OWNERDRAW As Long = &HD"},
+        {"name":"STN_CLICKED","kind":"const","vis":"private","signature":"Private Const STN_CLICKED As Long = &H0"},
+        {"name":"STN_DBLCLK","kind":"const","vis":"private","signature":"Private Const STN_DBLCLK As Long = &H1"},
+        {"name":"STN_DISABLE","kind":"const","vis":"private","signature":"Private Const STN_DISABLE As Long = &H3"},
+        {"name":"STN_ENABLE","kind":"const","vis":"private","signature":"Private Const STN_ENABLE As Long = &H2"},
+        {"name":"STRETCH_HALFTONE","kind":"const","vis":"private","signature":"Private Const STRETCH_HALFTONE As Long = 4"},
+        {"name":"SWP_DRAWFRAME","kind":"const","vis":"private","signature":"Private Const SWP_DRAWFRAME As Long = SWP_FRAMECHANGED"},
+        {"name":"SWP_FRAMECHANGED","kind":"const","vis":"private","signature":"Private Const SWP_FRAMECHANGED As Long = &H20"},
+        {"name":"SWP_NOACTIVATE","kind":"const","vis":"private","signature":"Private Const SWP_NOACTIVATE As Long = &H10"},
+        {"name":"SWP_NOCOPYBITS","kind":"const","vis":"private","signature":"Private Const SWP_NOCOPYBITS As Long = &H100"},
+        {"name":"SWP_NOMOVE","kind":"const","vis":"private","signature":"Private Const SWP_NOMOVE As Long = &H2"},
+        {"name":"SWP_NOOWNERZORDER","kind":"const","vis":"private","signature":"Private Const SWP_NOOWNERZORDER As Long = &H200"},
+        {"name":"SWP_NOSIZE","kind":"const","vis":"private","signature":"Private Const SWP_NOSIZE As Long = &H1"},
+        {"name":"SWP_NOZORDER","kind":"const","vis":"private","signature":"Private Const SWP_NOZORDER As Long = &H4"},
+        {"name":"SWP_SHOWWINDOW","kind":"const","vis":"private","signature":"Private Const SWP_SHOWWINDOW As Long = &H40"},
+        {"name":"SW_HIDE","kind":"const","vis":"private","signature":"Private Const SW_HIDE As Long = &H0"},
+        {"name":"SW_SHOW","kind":"const","vis":"private","signature":"Private Const SW_SHOW As Long = &H5"},
+        {"name":"SW_SHOWNA","kind":"const","vis":"private","signature":"Private Const SW_SHOWNA As Long = &H8"},
+        {"name":"SYSTEM_FONT","kind":"const","vis":"private","signature":"Private Const SYSTEM_FONT As Long = 13"},
+        {"name":"SaveArray","kind":"function","vis":"public","signature":"Public Function SaveArray(Optional ByVal Order As FlexArrayOrderConstants = FlexColumnMajor, Optional ByVal Rows As Long = -1, Optional ByVal Cols As Long = -1, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1, Optional ByVal ExcludeHidden As Boolean, Optional ByVal TextDisplay As Boolean, Optional ByVal UseColDataType As Boolean, Optional ByVal UseColNullable As Boolean, Optional ByVal OneDim As Boolean) As Variant","returnType":"Variant"},
+        {"name":"ScreenToClient","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ScreenToClient Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpPoint As POINTAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ScreenToClient Lib \"user32\" (ByVal hWnd As Long, ByRef lpPoint As POINTAPI) As Long"}]},
+        {"name":"Scroll","kind":"event","vis":"public","signature":"Public Event Scroll()"},
+        {"name":"ScrollBars","kind":"property","vis":"public","signature":"Public Property Get ScrollBars() As VBRUN.ScrollBarConstants","returnType":"VBRUN.ScrollBarConstants","accessor":"Get"},
+        {"name":"ScrollBars","kind":"property","vis":"public","signature":"Public Property Let ScrollBars(ByVal Value As VBRUN.ScrollBarConstants)","accessor":"Let"},
+        {"name":"ScrollTip","kind":"event","vis":"public","signature":"Public Event ScrollTip(ByVal Row As Long, ByVal Col As Long)"},
+        {"name":"ScrollTipFollowThumb","kind":"property","vis":"public","signature":"Public Property Get ScrollTipFollowThumb() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ScrollTipFollowThumb","kind":"property","vis":"public","signature":"Public Property Let ScrollTipFollowThumb(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ScrollTipText","kind":"property","vis":"public","signature":"Public Property Get ScrollTipText() As String","returnType":"String","accessor":"Get"},
+        {"name":"ScrollTipText","kind":"property","vis":"public","signature":"Public Property Let ScrollTipText(ByVal Value As String)","accessor":"Let"},
+        {"name":"ScrollTrack","kind":"property","vis":"public","signature":"Public Property Get ScrollTrack() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ScrollTrack","kind":"property","vis":"public","signature":"Public Property Let ScrollTrack(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"SelChange","kind":"event","vis":"public","signature":"Public Event SelChange()"},
+        {"name":"SelectAll","kind":"sub","vis":"public","signature":"Public Sub SelectAll()"},
+        {"name":"SelectObject","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SelectObject Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal hObject As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SelectObject Lib \"gdi32\" (ByVal hDC As Long, ByVal hObject As Long) As Long","returnType":"Long"}]},
+        {"name":"SelectRange","kind":"sub","vis":"public","signature":"Public Sub SelectRange(ByVal Row As Long, ByVal Col As Long, Optional ByVal RowSel As Long = -1, Optional ByVal ColSel As Long = -1)"},
+        {"name":"SelectedRow","kind":"property","vis":"public","signature":"Public Property Get SelectedRow(ByVal Index As Long) As Long","returnType":"Long","accessor":"Get"},
+        {"name":"SelectedRows","kind":"property","vis":"public","signature":"Public Property Get SelectedRows() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"SelectionMode","kind":"property","vis":"public","signature":"Public Property Get SelectionMode() As FlexSelectionModeConstants","returnType":"FlexSelectionModeConstants","accessor":"Get"},
+        {"name":"SelectionMode","kind":"property","vis":"public","signature":"Public Property Let SelectionMode(ByVal Value As FlexSelectionModeConstants)","accessor":"Let"},
+        {"name":"SendMessage","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SendMessage Lib \"user32\" Alias \"SendMessageW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByRef lParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SendMessage Lib \"user32\" Alias \"SendMessageW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long","returnType":"Long"}]},
+        {"name":"SetBkColor","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetBkColor Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal crColor As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetBkColor Lib \"gdi32\" (ByVal hDC As Long, ByVal crColor As Long) As Long"}]},
+        {"name":"SetBkMode","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetBkMode Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nBkMode As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetBkMode Lib \"gdi32\" (ByVal hDC As Long, ByVal nBkMode As Long) As Long"}]},
+        {"name":"SetBrushOrgEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetBrushOrgEx Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nXOrg As Long, ByVal nYOrg As Long, ByRef lpPoint As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetBrushOrgEx Lib \"gdi32\" (ByVal hDC As Long, ByVal nXOrg As Long, ByVal nYOrg As Long, ByRef lpPoint As Any) As Long"}]},
+        {"name":"SetCapture","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetCapture Lib \"user32\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetCapture Lib \"user32\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"SetCellCheck","kind":"sub","vis":"private","signature":"Private Sub SetCellCheck(ByVal iRow As Long, ByVal iCol As Long, ByVal Reason As FlexCellCheckReasonConstants)"},
+        {"name":"SetCellChecked","kind":"sub","vis":"private","signature":"Private Sub SetCellChecked(ByVal iRow As Long, ByVal iCol As Long, ByVal NewValue As Integer)"},
+        {"name":"SetCellFmtg","kind":"sub","vis":"private","signature":"Private Sub SetCellFmtg(ByVal iRow As Long, ByVal iCol As Long, ByVal Mask As Long, ByRef CellFmtg As TCELLFMTG)"},
+        {"name":"SetCellFmtgChecked","kind":"sub","vis":"private","signature":"Private Sub SetCellFmtgChecked(ByVal iRow As Long, ByVal iCol As Long, ByVal NewValue As Integer)"},
+        {"name":"SetCellFmtgToolTipText","kind":"sub","vis":"private","signature":"Private Sub SetCellFmtgToolTipText(ByVal iRow As Long, ByVal iCol As Long, ByRef TextIn As String)"},
+        {"name":"SetCellTag","kind":"sub","vis":"private","signature":"Private Sub SetCellTag(ByVal iRow As Long, ByVal iCol As Long, ByRef TagIn As Variant)"},
+        {"name":"SetCellText","kind":"sub","vis":"private","signature":"Private Sub SetCellText(ByVal iRow As Long, ByVal iCol As Long, ByRef TextIn As String)"},
+        {"name":"SetCellToolTipText","kind":"sub","vis":"private","signature":"Private Sub SetCellToolTipText(ByVal iRow As Long, ByVal iCol As Long, ByRef TextIn As String)"},
+        {"name":"SetCursor","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetCursor Lib \"user32\" (ByVal hCursor As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetCursor Lib \"user32\" (ByVal hCursor As Long) As Long","returnType":"Long"}]},
+        {"name":"SetDividerDragSplitterRect","kind":"sub","vis":"private","signature":"Private Sub SetDividerDragSplitterRect(ByVal X As Long, ByVal Y As Long)"},
+        {"name":"SetFocus","kind":"sub","vis":"public","signature":"Public Sub SetFocus()"},
+        {"name":"SetFocusAPI","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetFocusAPI Lib \"user32\" Alias \"SetFocus\" (ByVal hWnd As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetFocusAPI Lib \"user32\" Alias \"SetFocus\" (ByVal hWnd As Long) As Long","returnType":"Long"}]},
+        {"name":"SetIMEMode","kind":"sub","vis":"private","signature":"Private Sub SetIMEMode(ByVal hWnd As LongPtr, ByVal hIMCOrig As LongPtr, ByVal Value As FlexIMEModeConstants)"},
+        {"name":"SetLayout","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetLayout Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal dwLayout As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetLayout Lib \"gdi32\" (ByVal hDC As Long, ByVal dwLayout As Long) As Long"}]},
+        {"name":"SetParent","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetParent Lib \"user32\" (ByVal hWndChild As LongPtr, ByVal hWndNewParent As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetParent Lib \"user32\" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long","returnType":"Long"}]},
+        {"name":"SetRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetRect Lib \"user32\" (ByRef lpRect As RECT, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetRect Lib \"user32\" (ByRef lpRect As RECT, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long"}]},
+        {"name":"SetRowColParams","kind":"sub","vis":"private","signature":"Private Sub SetRowColParams(ByRef RCP As TROWCOLPARAMS)"},
+        {"name":"SetScrollBars","kind":"sub","vis":"private","signature":"Private Sub SetScrollBars()"},
+        {"name":"SetScrollInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetScrollInfo Lib \"user32\" (ByVal hWnd As LongPtr, ByVal wBar As Long, ByRef lpScrollInfo As SCROLLINFO, ByVal fRedraw As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetScrollInfo Lib \"user32\" (ByVal hWnd As Long, ByVal wBar As Long, ByRef lpScrollInfo As SCROLLINFO, ByVal fRedraw As Long) As Long"}]},
+        {"name":"SetStretchBltMode","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetStretchBltMode Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal nStretchMode As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetStretchBltMode Lib \"gdi32\" (ByVal hDC As Long, ByVal nStretchMode As Long) As Long"}]},
+        {"name":"SetTextAlign","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetTextAlign Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal fMode As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetTextAlign Lib \"gdi32\" (ByVal hDC As Long, ByVal fMode As Long) As Long"}]},
+        {"name":"SetTextColor","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetTextColor Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal crColor As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetTextColor Lib \"gdi32\" (ByVal hDC As Long, ByVal crColor As Long) As Long"}]},
+        {"name":"SetTimer","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetTimer Lib \"user32\" (ByVal hWnd As LongPtr, ByVal nIDEvent As LongPtr, ByVal uElapse As Long, ByVal lpTimerFunc As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetTimer Lib \"user32\" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long","returnType":"Long"}]},
+        {"name":"SetViewportOrgEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetViewportOrgEx Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByRef lpPoint As POINTAPI) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetViewportOrgEx Lib \"gdi32\" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByRef lpPoint As POINTAPI) As Long"}]},
+        {"name":"SetVisualStylesScrollTip","kind":"sub","vis":"private","signature":"Private Sub SetVisualStylesScrollTip()"},
+        {"name":"SetVisualStylesToolTip","kind":"sub","vis":"private","signature":"Private Sub SetVisualStylesToolTip()"},
+        {"name":"SetWindowLong","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetWindowLong Lib \"user32\" Alias \"SetWindowLongW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetWindowLong Lib \"user32\" Alias \"SetWindowLongW\" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long"}]},
+        {"name":"SetWindowLongPtr","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7 And Win64","signature":"Private Declare PtrSafe Function SetWindowLongPtr Lib \"user32\" Alias \"SetWindowLongPtrW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLong As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"VBA7 And Not (Win64)","signature":"Private Declare PtrSafe Function SetWindowLongPtr Lib \"user32\" Alias \"SetWindowLongW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLong As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetWindowLongPtr Lib \"user32\" Alias \"SetWindowLongW\" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long","returnType":"Long"}]},
+        {"name":"SetWindowPos","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetWindowPos Lib \"user32\" (ByVal hWnd As LongPtr, ByVal hWndInsertAfter As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal CX As Long, ByVal CY As Long, ByVal wFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetWindowPos Lib \"user32\" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal CX As Long, ByVal CY As Long, ByVal wFlags As Long) As Long"}]},
+        {"name":"SheetBorder","kind":"property","vis":"public","signature":"Public Property Get SheetBorder() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"SheetBorder","kind":"property","vis":"public","signature":"Public Property Let SheetBorder(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ShowInfoTips","kind":"property","vis":"public","signature":"Public Property Get ShowInfoTips() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ShowInfoTips","kind":"property","vis":"public","signature":"Public Property Let ShowInfoTips(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ShowLabelTips","kind":"property","vis":"public","signature":"Public Property Get ShowLabelTips() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ShowLabelTips","kind":"property","vis":"public","signature":"Public Property Let ShowLabelTips(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ShowScrollTips","kind":"property","vis":"public","signature":"Public Property Get ShowScrollTips() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"ShowScrollTips","kind":"property","vis":"public","signature":"Public Property Let ShowScrollTips(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"ShowWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ShowWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal nCmdShow As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ShowWindow Lib \"user32\" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long"}]},
+        {"name":"SingleLine","kind":"property","vis":"public","signature":"Public Property Get SingleLine() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"SingleLine","kind":"property","vis":"public","signature":"Public Property Let SingleLine(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"Sort","kind":"property","vis":"public","signature":"Public Property Get Sort() As FlexSortConstants","returnType":"FlexSortConstants","accessor":"Get"},
+        {"name":"Sort","kind":"property","vis":"public","signature":"Public Property Let Sort(ByVal Value As FlexSortConstants)","accessor":"Let"},
+        {"name":"SortArrowColor","kind":"property","vis":"public","signature":"Public Property Get SortArrowColor() As OLE_COLOR","returnType":"OLE_COLOR","accessor":"Get"},
+        {"name":"SortArrowColor","kind":"property","vis":"public","signature":"Public Property Let SortArrowColor(ByVal Value As OLE_COLOR)","accessor":"Let"},
+        {"name":"StartEdit","kind":"function","vis":"public","signature":"Public Function StartEdit(Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1) As Boolean","returnType":"Boolean"},
+        {"name":"StartIncrementalSearch","kind":"sub","vis":"private","signature":"Private Sub StartIncrementalSearch(ByVal CharCode As Long)"},
+        {"name":"StartReaderMode","kind":"sub","vis":"private","signature":"Private Sub StartReaderMode(ByVal wParam As LongPtr, ByVal lParam As LongPtr)"},
+        {"name":"StretchBlt","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function StretchBlt Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As LongPtr, ByVal XSrc As Long, ByVal YSrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function StretchBlt Lib \"gdi32\" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long"}]},
+        {"name":"StretchDIBits","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function StretchDIBits Lib \"gdi32\" (ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal lpBits As LongPtr, ByRef pBitmapInfo As BITMAPINFO, ByVal wUsage As Long, ByVal dwRop As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function StretchDIBits Lib \"gdi32\" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal lpBits As Long, ByRef pBitmapInfo As BITMAPINFO, ByVal wUsage As Long, ByVal dwRop As Long) As Long"}]},
+        {"name":"SysAllocString","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SysAllocString Lib \"oleaut32\" (ByVal lpString As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SysAllocString Lib \"oleaut32\" (ByVal lpString As Long) As Long","returnType":"Long"}]},
+        {"name":"SysFreeString","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SysFreeString Lib \"oleaut32\" (ByVal lpString As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SysFreeString Lib \"oleaut32\" (ByVal lpString As Long) As Long"}]},
+        {"name":"SysReAllocString","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SysReAllocString Lib \"oleaut32\" (ByVal pbString As LongPtr, ByVal pszStrPtr As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SysReAllocString Lib \"oleaut32\" (ByVal pbString As Long, ByVal pszStrPtr As Long) As Long"}]},
+        {"name":"SystemParametersInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SystemParametersInfo Lib \"user32\" Alias \"SystemParametersInfoW\" (ByVal uAction As Long, ByVal uiParam As Long, ByVal lpvParam As LongPtr, ByVal fWinIni As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SystemParametersInfo Lib \"user32\" Alias \"SystemParametersInfoW\" (ByVal uAction As Long, ByVal uiParam As Long, ByVal lpvParam As Long, ByVal fWinIni As Long) As Long"}]},
+        {"name":"TA_BASELINE","kind":"const","vis":"private","signature":"Private Const TA_BASELINE As Long = &H18"},
+        {"name":"TA_CENTER","kind":"const","vis":"private","signature":"Private Const TA_CENTER As Long = &H6"},
+        {"name":"TA_RIGHT","kind":"const","vis":"private","signature":"Private Const TA_RIGHT As Long = &H2"},
+        {"name":"TA_RTLREADING","kind":"const","vis":"private","signature":"Private Const TA_RTLREADING As Long = &H100"},
+        {"name":"TME_LEAVE","kind":"const","vis":"private","signature":"Private Const TME_LEAVE As Long = &H2"},
+        {"name":"TME_NONCLIENT","kind":"const","vis":"private","signature":"Private Const TME_NONCLIENT As Long = &H10"},
+        {"name":"TTF_PARSELINKS","kind":"const","vis":"private","signature":"Private Const TTF_PARSELINKS As Long = &H1000"},
+        {"name":"TTF_RTLREADING","kind":"const","vis":"private","signature":"Private Const TTF_RTLREADING As Long = &H4"},
+        {"name":"TTF_SUBCLASS","kind":"const","vis":"private","signature":"Private Const TTF_SUBCLASS As Long = &H10"},
+        {"name":"TTF_TRACK","kind":"const","vis":"private","signature":"Private Const TTF_TRACK As Long = &H20"},
+        {"name":"TTF_TRANSPARENT","kind":"const","vis":"private","signature":"Private Const TTF_TRANSPARENT As Long = &H100"},
+        {"name":"TTM_ADDTOOL","kind":"const","vis":"private","signature":"Private Const TTM_ADDTOOL As Long = TTM_ADDTOOLW"},
+        {"name":"TTM_ADDTOOLA","kind":"const","vis":"private","signature":"Private Const TTM_ADDTOOLA As Long = (WM_USER + 4)"},
+        {"name":"TTM_ADDTOOLW","kind":"const","vis":"private","signature":"Private Const TTM_ADDTOOLW As Long = (WM_USER + 50)"},
+        {"name":"TTM_ADJUSTRECT","kind":"const","vis":"private","signature":"Private Const TTM_ADJUSTRECT As Long = (WM_USER + 31)"},
+        {"name":"TTM_ENUMTOOLS","kind":"const","vis":"private","signature":"Private Const TTM_ENUMTOOLS As Long = TTM_ENUMTOOLSW"},
+        {"name":"TTM_ENUMTOOLSA","kind":"const","vis":"private","signature":"Private Const TTM_ENUMTOOLSA As Long = (WM_USER + 14)"},
+        {"name":"TTM_ENUMTOOLSW","kind":"const","vis":"private","signature":"Private Const TTM_ENUMTOOLSW As Long = (WM_USER + 58)"},
+        {"name":"TTM_GETTEXT","kind":"const","vis":"private","signature":"Private Const TTM_GETTEXT As Long = TTM_GETTEXTW"},
+        {"name":"TTM_GETTEXTA","kind":"const","vis":"private","signature":"Private Const TTM_GETTEXTA As Long = (WM_USER + 11)"},
+        {"name":"TTM_GETTEXTW","kind":"const","vis":"private","signature":"Private Const TTM_GETTEXTW As Long = (WM_USER + 56)"},
+        {"name":"TTM_GETTOOLCOUNT","kind":"const","vis":"private","signature":"Private Const TTM_GETTOOLCOUNT As Long = (WM_USER + 13)"},
+        {"name":"TTM_GETTOOLINFO","kind":"const","vis":"private","signature":"Private Const TTM_GETTOOLINFO As Long = TTM_GETTOOLINFOW"},
+        {"name":"TTM_GETTOOLINFOA","kind":"const","vis":"private","signature":"Private Const TTM_GETTOOLINFOA As Long = (WM_USER + 8)"},
+        {"name":"TTM_GETTOOLINFOW","kind":"const","vis":"private","signature":"Private Const TTM_GETTOOLINFOW As Long = (WM_USER + 53)"},
+        {"name":"TTM_NEWTOOLRECT","kind":"const","vis":"private","signature":"Private Const TTM_NEWTOOLRECT As Long = TTM_NEWTOOLRECTW"},
+        {"name":"TTM_NEWTOOLRECTA","kind":"const","vis":"private","signature":"Private Const TTM_NEWTOOLRECTA As Long = (WM_USER + 6)"},
+        {"name":"TTM_NEWTOOLRECTW","kind":"const","vis":"private","signature":"Private Const TTM_NEWTOOLRECTW As Long = (WM_USER + 52)"},
+        {"name":"TTM_POP","kind":"const","vis":"private","signature":"Private Const TTM_POP As Long = (WM_USER + 28)"},
+        {"name":"TTM_SETMAXTIPWIDTH","kind":"const","vis":"private","signature":"Private Const TTM_SETMAXTIPWIDTH As Long = (WM_USER + 24)"},
+        {"name":"TTM_SETTOOLINFO","kind":"const","vis":"private","signature":"Private Const TTM_SETTOOLINFO As Long = TTM_SETTOOLINFOW"},
+        {"name":"TTM_SETTOOLINFOA","kind":"const","vis":"private","signature":"Private Const TTM_SETTOOLINFOA As Long = (WM_USER + 9)"},
+        {"name":"TTM_SETTOOLINFOW","kind":"const","vis":"private","signature":"Private Const TTM_SETTOOLINFOW As Long = (WM_USER + 54)"},
+        {"name":"TTM_TRACKACTIVATE","kind":"const","vis":"private","signature":"Private Const TTM_TRACKACTIVATE As Long = (WM_USER + 17)"},
+        {"name":"TTM_TRACKPOSITION","kind":"const","vis":"private","signature":"Private Const TTM_TRACKPOSITION As Long = (WM_USER + 18)"},
+        {"name":"TTM_UPDATE","kind":"const","vis":"private","signature":"Private Const TTM_UPDATE As Long = (WM_USER + 29)"},
+        {"name":"TTM_UPDATETIPTEXT","kind":"const","vis":"private","signature":"Private Const TTM_UPDATETIPTEXT As Long = TTM_UPDATETIPTEXTW"},
+        {"name":"TTM_UPDATETIPTEXTA","kind":"const","vis":"private","signature":"Private Const TTM_UPDATETIPTEXTA As Long = (WM_USER + 12)"},
+        {"name":"TTM_UPDATETIPTEXTW","kind":"const","vis":"private","signature":"Private Const TTM_UPDATETIPTEXTW As Long = (WM_USER + 57)"},
+        {"name":"TTN_FIRST","kind":"const","vis":"private","signature":"Private Const TTN_FIRST As Long = (-520)"},
+        {"name":"TTN_GETDISPINFO","kind":"const","vis":"private","signature":"Private Const TTN_GETDISPINFO As Long = TTN_GETDISPINFOW"},
+        {"name":"TTN_GETDISPINFOA","kind":"const","vis":"private","signature":"Private Const TTN_GETDISPINFOA As Long = (TTN_FIRST - 0)"},
+        {"name":"TTN_GETDISPINFOW","kind":"const","vis":"private","signature":"Private Const TTN_GETDISPINFOW As Long = (TTN_FIRST - 10)"},
+        {"name":"TTN_SHOW","kind":"const","vis":"private","signature":"Private Const TTN_SHOW As Long = (TTN_FIRST - 1)"},
+        {"name":"TTS_ALWAYSTIP","kind":"const","vis":"private","signature":"Private Const TTS_ALWAYSTIP As Long = &H1"},
+        {"name":"TTS_NOPREFIX","kind":"const","vis":"private","signature":"Private Const TTS_NOPREFIX As Long = &H2"},
+        {"name":"TabBehavior","kind":"property","vis":"public","signature":"Public Property Get TabBehavior() As FlexTabBehaviorConstants","returnType":"FlexTabBehaviorConstants","accessor":"Get"},
+        {"name":"TabBehavior","kind":"property","vis":"public","signature":"Public Property Let TabBehavior(ByVal Value As FlexTabBehaviorConstants)","accessor":"Let"},
+        {"name":"Tag","kind":"property","vis":"public","signature":"Public Property Get Tag() As String","returnType":"String","accessor":"Get"},
+        {"name":"Tag","kind":"property","vis":"public","signature":"Public Property Let Tag(ByVal Value As String)","accessor":"Let"},
+        {"name":"Text","kind":"property","vis":"public","signature":"Public Property Get Text() As String","returnType":"String","accessor":"Get"},
+        {"name":"Text","kind":"property","vis":"public","signature":"Public Property Let Text(ByVal Value As String)","accessor":"Let"},
+        {"name":"TextArray","kind":"property","vis":"public","signature":"Public Property Get TextArray(ByVal Index As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"TextArray","kind":"property","vis":"public","signature":"Public Property Let TextArray(ByVal Index As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"TextDisplayMergeSortRec","kind":"sub","vis":"private","signature":"Private Sub TextDisplayMergeSortRec(ByVal Left As Long, ByVal Right As Long, ByVal Col As Long, ByRef Data() As TINDIRECTMERGESORTDATA, ByVal Sort As FlexSortConstants)"},
+        {"name":"TextHeight","kind":"function","vis":"public","signature":"Public Function TextHeight(ByVal Text As String, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1) As Long","returnType":"Long"},
+        {"name":"TextMatrix","kind":"property","vis":"public","signature":"Public Property Get TextMatrix(ByVal Row As Long, ByVal Col As Long) As String","returnType":"String","accessor":"Get"},
+        {"name":"TextMatrix","kind":"property","vis":"public","signature":"Public Property Let TextMatrix(ByVal Row As Long, ByVal Col As Long, ByVal Value As String)","accessor":"Let"},
+        {"name":"TextOut","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function TextOut Lib \"gdi32\" Alias \"TextOutW\" (ByVal hDC As LongPtr, ByVal X As Long, ByVal Y As Long, ByVal lpString As LongPtr, ByVal nCount As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function TextOut Lib \"gdi32\" Alias \"TextOutW\" (ByVal hDC As Long, ByVal X As Long, ByVal Y As Long, ByVal lpString As Long, ByVal nCount As Long) As Long"}]},
+        {"name":"TextStyle","kind":"property","vis":"public","signature":"Public Property Get TextStyle() As FlexTextStyleConstants","returnType":"FlexTextStyleConstants","accessor":"Get"},
+        {"name":"TextStyle","kind":"property","vis":"public","signature":"Public Property Let TextStyle(ByVal Value As FlexTextStyleConstants)","accessor":"Let"},
+        {"name":"TextStyleFixed","kind":"property","vis":"public","signature":"Public Property Get TextStyleFixed() As FlexTextStyleConstants","returnType":"FlexTextStyleConstants","accessor":"Get"},
+        {"name":"TextStyleFixed","kind":"property","vis":"public","signature":"Public Property Let TextStyleFixed(ByVal Value As FlexTextStyleConstants)","accessor":"Let"},
+        {"name":"TextWidth","kind":"function","vis":"public","signature":"Public Function TextWidth(ByVal Text As String, Optional ByVal Row As Long = -1, Optional ByVal Col As Long = -1) As Long","returnType":"Long"},
+        {"name":"TimerIncrementalSearch_Timer","kind":"sub","vis":"private","signature":"Private Sub TimerIncrementalSearch_Timer()"},
+        {"name":"ToggleSelectedRow","kind":"function","vis":"private","signature":"Private Function ToggleSelectedRow() As Boolean","returnType":"Boolean"},
+        {"name":"ToolTipText","kind":"property","vis":"public","signature":"Public Property Get ToolTipText() As String","returnType":"String","accessor":"Get"},
+        {"name":"ToolTipText","kind":"property","vis":"public","signature":"Public Property Let ToolTipText(ByVal Value As String)","accessor":"Let"},
+        {"name":"Top","kind":"property","vis":"public","signature":"Public Property Get Top() As Single","returnType":"Single","accessor":"Get"},
+        {"name":"Top","kind":"property","vis":"public","signature":"Public Property Let Top(ByVal Value As Single)","accessor":"Let"},
+        {"name":"TopRow","kind":"property","vis":"public","signature":"Public Property Get TopRow() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"TopRow","kind":"property","vis":"public","signature":"Public Property Let TopRow(ByVal Value As Long)","accessor":"Let"},
+        {"name":"TrackMouseEvent","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function TrackMouseEvent Lib \"user32\" (ByRef lpEventTrack As TRACKMOUSEEVENTSTRUCT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function TrackMouseEvent Lib \"user32\" (ByRef lpEventTrack As TRACKMOUSEEVENTSTRUCT) As Long"}]},
+        {"name":"UCNoSetFocusFwd","kind":"field","vis":"private","signature":"Private UCNoSetFocusFwd As Boolean"},
+        {"name":"UM_CAPTURECHANGED","kind":"const","vis":"private","signature":"Private Const UM_CAPTURECHANGED As Long = (WM_USER + 1000)"},
+        {"name":"UM_ENDINCREMENTALSEARCH","kind":"const","vis":"private","signature":"Private Const UM_ENDINCREMENTALSEARCH As Long = (WM_USER + 1001)"},
+        {"name":"UM_PRETRANSLATEMSG","kind":"const","vis":"private","signature":"Private Const UM_PRETRANSLATEMSG As Long = (WM_USER + 1100)"},
+        {"name":"UNICODE_NOCHAR","kind":"const","vis":"private","signature":"Private Const UNICODE_NOCHAR As Long = &HFFFF&"},
+        {"name":"Undo","kind":"sub","vis":"public","signature":"Public Sub Undo()"},
+        {"name":"UndoLimit","kind":"property","vis":"public","signature":"Public Property Get UndoLimit() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"UndoLimit","kind":"property","vis":"public","signature":"Public Property Let UndoLimit(ByVal Value As Long)","accessor":"Let"},
+        {"name":"UpdateEditRect","kind":"sub","vis":"private","signature":"Private Sub UpdateEditRect()"},
+        {"name":"UpdateScrollTip","kind":"sub","vis":"private","signature":"Private Sub UpdateScrollTip(ByVal wBar As Long, ByVal TrackPos As Long, ByVal X As Long, ByVal Y As Long)"},
+        {"name":"UpdateToolTipFont","kind":"sub","vis":"private","signature":"Private Sub UpdateToolTipFont(ByVal iRow As Long, ByVal iCol As Long, ByVal InfoTip As Boolean)"},
+        {"name":"UpdateToolTipRect","kind":"sub","vis":"private","signature":"Private Sub UpdateToolTipRect()"},
+        {"name":"UpdateWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function UpdateWindow Lib \"user32\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function UpdateWindow Lib \"user32\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"UseForeColorSel","kind":"property","vis":"public","signature":"Public Property Get UseForeColorSel() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"UseForeColorSel","kind":"property","vis":"public","signature":"Public Property Let UseForeColorSel(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"UsePreTranslateMsg","kind":"field","vis":"private","signature":"Private UsePreTranslateMsg As Boolean"},
+        {"name":"UserControl_InitProperties","kind":"sub","vis":"private","signature":"Private Sub UserControl_InitProperties()"},
+        {"name":"UserControl_Initialize","kind":"sub","vis":"private","signature":"Private Sub UserControl_Initialize()"},
+        {"name":"UserControl_OLECompleteDrag","kind":"sub","vis":"private","signature":"Private Sub UserControl_OLECompleteDrag(Effect As Long)"},
+        {"name":"UserControl_OLEDragDrop","kind":"sub","vis":"private","signature":"Private Sub UserControl_OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)"},
+        {"name":"UserControl_OLEDragOver","kind":"sub","vis":"private","signature":"Private Sub UserControl_OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)"},
+        {"name":"UserControl_OLEGiveFeedback","kind":"sub","vis":"private","signature":"Private Sub UserControl_OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)"},
+        {"name":"UserControl_OLESetData","kind":"sub","vis":"private","signature":"Private Sub UserControl_OLESetData(Data As DataObject, DataFormat As Integer)"},
+        {"name":"UserControl_OLEStartDrag","kind":"sub","vis":"private","signature":"Private Sub UserControl_OLEStartDrag(Data As DataObject, AllowedEffects As Long)"},
+        {"name":"UserControl_Paint","kind":"sub","vis":"private","signature":"Private Sub UserControl_Paint()"},
+        {"name":"UserControl_ReadProperties","kind":"sub","vis":"private","signature":"Private Sub UserControl_ReadProperties(PropBag As PropertyBag)"},
+        {"name":"UserControl_Resize","kind":"sub","vis":"private","signature":"Private Sub UserControl_Resize()"},
+        {"name":"UserControl_Terminate","kind":"sub","vis":"private","signature":"Private Sub UserControl_Terminate()"},
+        {"name":"UserControl_WriteProperties","kind":"sub","vis":"private","signature":"Private Sub UserControl_WriteProperties(PropBag As PropertyBag)"},
+        {"name":"VARCMP_EQ","kind":"const","vis":"private","signature":"Private Const VARCMP_EQ As Long = 1"},
+        {"name":"VBFlexGridAlignable","kind":"field","vis":"private","signature":"Private VBFlexGridAlignable As Boolean"},
+        {"name":"VBFlexGridBackColorAltBrush","kind":"field","vis":"private","signature":"Private VBFlexGridBackColorAltBrush As LongPtr"},
+        {"name":"VBFlexGridBackColorBkgBrush","kind":"field","vis":"private","signature":"Private VBFlexGridBackColorBkgBrush As LongPtr"},
+        {"name":"VBFlexGridBackColorBrush","kind":"field","vis":"private","signature":"Private VBFlexGridBackColorBrush As LongPtr"},
+        {"name":"VBFlexGridBackColorFixedBrush","kind":"field","vis":"private","signature":"Private VBFlexGridBackColorFixedBrush As LongPtr"},
+        {"name":"VBFlexGridBackColorSelBrush","kind":"field","vis":"private","signature":"Private VBFlexGridBackColorSelBrush As LongPtr"},
+        {"name":"VBFlexGridCaptureCol","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureCol As Long"},
+        {"name":"VBFlexGridCaptureDividerCol","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureDividerCol As Long"},
+        {"name":"VBFlexGridCaptureDividerDrag","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureDividerDrag As Boolean"},
+        {"name":"VBFlexGridCaptureDividerMoved","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureDividerMoved As Boolean"},
+        {"name":"VBFlexGridCaptureDividerRow","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureDividerRow As Long"},
+        {"name":"VBFlexGridCaptureHitResult","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureHitResult As FlexHitResultConstants"},
+        {"name":"VBFlexGridCapturePoint","kind":"field","vis":"private","signature":"Private VBFlexGridCapturePoint As POINTAPI"},
+        {"name":"VBFlexGridCaptureRow","kind":"field","vis":"private","signature":"Private VBFlexGridCaptureRow As Long"},
+        {"name":"VBFlexGridCellClickCol","kind":"field","vis":"private","signature":"Private VBFlexGridCellClickCol As Long"},
+        {"name":"VBFlexGridCellClickRow","kind":"field","vis":"private","signature":"Private VBFlexGridCellClickRow As Long"},
+        {"name":"VBFlexGridCells","kind":"field","vis":"private","signature":"Private VBFlexGridCells As TROWS"},
+        {"name":"VBFlexGridCellsInit","kind":"field","vis":"private","signature":"Private VBFlexGridCellsInit As Boolean"},
+        {"name":"VBFlexGridCharCodeCache","kind":"field","vis":"private","signature":"Private VBFlexGridCharCodeCache As Long"},
+        {"name":"VBFlexGridCheckBoxDrawMode","kind":"field","vis":"private","signature":"Private VBFlexGridCheckBoxDrawMode As FlexCheckBoxDrawModeConstants"},
+        {"name":"VBFlexGridClientRect","kind":"field","vis":"private","signature":"Private VBFlexGridClientRect As RECT"},
+        {"name":"VBFlexGridClipSeparatorCol","kind":"field","vis":"private","signature":"Private VBFlexGridClipSeparatorCol As String"},
+        {"name":"VBFlexGridClipSeparatorRow","kind":"field","vis":"private","signature":"Private VBFlexGridClipSeparatorRow As String"},
+        {"name":"VBFlexGridCol","kind":"field","vis":"private","signature":"Private VBFlexGridCol As Long"},
+        {"name":"VBFlexGridColSel","kind":"field","vis":"private","signature":"Private VBFlexGridColSel As Long"},
+        {"name":"VBFlexGridColsInfo","kind":"field","vis":"private","signature":"Private VBFlexGridColsInfo() As TCOLINFO"},
+        {"name":"VBFlexGridComboBoundColumn","kind":"field","vis":"private","signature":"Private VBFlexGridComboBoundColumn As Long"},
+        {"name":"VBFlexGridComboBoxRect","kind":"field","vis":"private","signature":"Private VBFlexGridComboBoxRect As RECT"},
+        {"name":"VBFlexGridComboButtonAlignment","kind":"field","vis":"private","signature":"Private VBFlexGridComboButtonAlignment As FlexRightToLeftModeConstants"},
+        {"name":"VBFlexGridComboButtonDrawMode","kind":"field","vis":"private","signature":"Private VBFlexGridComboButtonDrawMode As FlexComboButtonDrawModeConstants"},
+        {"name":"VBFlexGridComboButtonHandle","kind":"field","vis":"private","signature":"Private VBFlexGridComboButtonHandle As LongPtr"},
+        {"name":"VBFlexGridComboButtonPicture","kind":"field","vis":"private","signature":"Private VBFlexGridComboButtonPicture As IPictureDisp"},
+        {"name":"VBFlexGridComboButtonPictureRenderFlag","kind":"field","vis":"private","signature":"Private VBFlexGridComboButtonPictureRenderFlag As Integer"},
+        {"name":"VBFlexGridComboButtonWidth","kind":"field","vis":"private","signature":"Private VBFlexGridComboButtonWidth As Long"},
+        {"name":"VBFlexGridComboCalendarHandle","kind":"field","vis":"private","signature":"Private VBFlexGridComboCalendarHandle As LongPtr"},
+        {"name":"VBFlexGridComboCalendarRegistered","kind":"field","vis":"private","signature":"Private VBFlexGridComboCalendarRegistered As Boolean"},
+        {"name":"VBFlexGridComboCue","kind":"field","vis":"private","signature":"Private VBFlexGridComboCue As FlexComboCueConstants"},
+        {"name":"VBFlexGridComboCueClickCol","kind":"field","vis":"private","signature":"Private VBFlexGridComboCueClickCol As Long"},
+        {"name":"VBFlexGridComboCueClickRow","kind":"field","vis":"private","signature":"Private VBFlexGridComboCueClickRow As Long"},
+        {"name":"VBFlexGridComboCueCol","kind":"field","vis":"private","signature":"Private VBFlexGridComboCueCol As Long"},
+        {"name":"VBFlexGridComboCueRow","kind":"field","vis":"private","signature":"Private VBFlexGridComboCueRow As Long"},
+        {"name":"VBFlexGridComboHeader","kind":"field","vis":"private","signature":"Private VBFlexGridComboHeader As String"},
+        {"name":"VBFlexGridComboItems","kind":"field","vis":"private","signature":"Private VBFlexGridComboItems As String"},
+        {"name":"VBFlexGridComboListHandle","kind":"field","vis":"private","signature":"Private VBFlexGridComboListHandle As LongPtr"},
+        {"name":"VBFlexGridComboMode","kind":"field","vis":"private","signature":"Private VBFlexGridComboMode As FlexComboModeConstants"},
+        {"name":"VBFlexGridComboModeActive","kind":"field","vis":"private","signature":"Private VBFlexGridComboModeActive As FlexComboModeConstants"},
+        {"name":"VBFlexGridComboMultiColumn","kind":"field","vis":"private","signature":"Private VBFlexGridComboMultiColumn As TCOMBOMULTICOLUMN"},
+        {"name":"VBFlexGridDefaultCell","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultCell As TCELL"},
+        {"name":"VBFlexGridDefaultCellFmtg","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultCellFmtg As TCELLFMTG"},
+        {"name":"VBFlexGridDefaultColInfo","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultColInfo As TCOLINFO"},
+        {"name":"VBFlexGridDefaultColWidth","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultColWidth As Long"},
+        {"name":"VBFlexGridDefaultCols","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultCols As TCOLS"},
+        {"name":"VBFlexGridDefaultFixedColWidth","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultFixedColWidth As Long"},
+        {"name":"VBFlexGridDefaultFixedRowHeight","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultFixedRowHeight As Long"},
+        {"name":"VBFlexGridDefaultLpCellFmtg","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultLpCellFmtg As TLPCELLFMTG"},
+        {"name":"VBFlexGridDefaultRowHeight","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultRowHeight As Long"},
+        {"name":"VBFlexGridDefaultRowInfo","kind":"field","vis":"private","signature":"Private VBFlexGridDefaultRowInfo As TROWINFO"},
+        {"name":"VBFlexGridDesignMode","kind":"field","vis":"private","signature":"Private VBFlexGridDesignMode As Boolean"},
+        {"name":"VBFlexGridDividerDragDirty","kind":"field","vis":"private","signature":"Private VBFlexGridDividerDragDirty As Boolean"},
+        {"name":"VBFlexGridDividerDragMinPos","kind":"field","vis":"private","signature":"Private VBFlexGridDividerDragMinPos As POINTAPI"},
+        {"name":"VBFlexGridDividerDragOffset","kind":"field","vis":"private","signature":"Private VBFlexGridDividerDragOffset As POINTAPI"},
+        {"name":"VBFlexGridDividerDragSplitterRect","kind":"field","vis":"private","signature":"Private VBFlexGridDividerDragSplitterRect As RECT"},
+        {"name":"VBFlexGridDoDragCol","kind":"field","vis":"private","signature":"Private VBFlexGridDoDragCol As Long"},
+        {"name":"VBFlexGridDoDragRow","kind":"field","vis":"private","signature":"Private VBFlexGridDoDragRow As Long"},
+        {"name":"VBFlexGridDoDragRowCol","kind":"field","vis":"private","signature":"Private VBFlexGridDoDragRowCol As Boolean"},
+        {"name":"VBFlexGridDoubleBufferBmp","kind":"field","vis":"private","signature":"Private VBFlexGridDoubleBufferBmp As LongPtr"},
+        {"name":"VBFlexGridDoubleBufferBmpOld","kind":"field","vis":"private","signature":"Private VBFlexGridDoubleBufferBmpOld As LongPtr"},
+        {"name":"VBFlexGridDoubleBufferDC","kind":"field","vis":"private","signature":"Private VBFlexGridDoubleBufferDC As LongPtr"},
+        {"name":"VBFlexGridDrawInfo","kind":"field","vis":"private","signature":"Private VBFlexGridDrawInfo As TDRAWINFO"},
+        {"name":"VBFlexGridDropHighlight","kind":"field","vis":"private","signature":"Private VBFlexGridDropHighlight As Long"},
+        {"name":"VBFlexGridDropHighlightMode","kind":"field","vis":"private","signature":"Private VBFlexGridDropHighlightMode As FlexDropTargetModeConstants"},
+        {"name":"VBFlexGridEditAlreadyValidated","kind":"field","vis":"private","signature":"Private VBFlexGridEditAlreadyValidated As Boolean"},
+        {"name":"VBFlexGridEditBackColor","kind":"field","vis":"private","signature":"Private VBFlexGridEditBackColor As OLE_COLOR"},
+        {"name":"VBFlexGridEditBackColorBrush","kind":"field","vis":"private","signature":"Private VBFlexGridEditBackColorBrush As LongPtr"},
+        {"name":"VBFlexGridEditChangeFrozen","kind":"field","vis":"private","signature":"Private VBFlexGridEditChangeFrozen As Boolean"},
+        {"name":"VBFlexGridEditCloseMode","kind":"field","vis":"private","signature":"Private VBFlexGridEditCloseMode As FlexEditCloseModeConstants"},
+        {"name":"VBFlexGridEditCol","kind":"field","vis":"private","signature":"Private VBFlexGridEditCol As Long"},
+        {"name":"VBFlexGridEditForeColor","kind":"field","vis":"private","signature":"Private VBFlexGridEditForeColor As OLE_COLOR"},
+        {"name":"VBFlexGridEditGridLineOffsets","kind":"field","vis":"private","signature":"Private VBFlexGridEditGridLineOffsets As TGRIDLINEOFFSETS"},
+        {"name":"VBFlexGridEditHandle","kind":"field","vis":"private","signature":"Private VBFlexGridEditHandle As LongPtr"},
+        {"name":"VBFlexGridEditMergedRange","kind":"field","vis":"private","signature":"Private VBFlexGridEditMergedRange As TCELLRANGE"},
+        {"name":"VBFlexGridEditNoLostFocus","kind":"field","vis":"private","signature":"Private VBFlexGridEditNoLostFocus As Boolean"},
+        {"name":"VBFlexGridEditOnValidate","kind":"field","vis":"private","signature":"Private VBFlexGridEditOnValidate As Boolean"},
+        {"name":"VBFlexGridEditReason","kind":"field","vis":"private","signature":"Private VBFlexGridEditReason As FlexEditReasonConstants"},
+        {"name":"VBFlexGridEditRectChanged","kind":"field","vis":"private","signature":"Private VBFlexGridEditRectChanged As Boolean"},
+        {"name":"VBFlexGridEditRectChangedFrozen","kind":"field","vis":"private","signature":"Private VBFlexGridEditRectChangedFrozen As Boolean"},
+        {"name":"VBFlexGridEditRow","kind":"field","vis":"private","signature":"Private VBFlexGridEditRow As Long"},
+        {"name":"VBFlexGridEditTempFontHandle","kind":"field","vis":"private","signature":"Private VBFlexGridEditTempFontHandle As LongPtr"},
+        {"name":"VBFlexGridEditTextChanged","kind":"field","vis":"private","signature":"Private VBFlexGridEditTextChanged As Boolean"},
+        {"name":"VBFlexGridEnabledVisualStyles","kind":"field","vis":"private","signature":"Private VBFlexGridEnabledVisualStyles As Boolean"},
+        {"name":"VBFlexGridExpandSelectedRows","kind":"field","vis":"private","signature":"Private VBFlexGridExpandSelectedRows As Boolean"},
+        {"name":"VBFlexGridExtendLastCol","kind":"field","vis":"private","signature":"Private VBFlexGridExtendLastCol As Long"},
+        {"name":"VBFlexGridFixedPenStyle","kind":"field","vis":"private","signature":"Private VBFlexGridFixedPenStyle As Long"},
+        {"name":"VBFlexGridFlexDataSource","kind":"field","vis":"private","signature":"Private VBFlexGridFlexDataSource As IVBFlexDataSource"},
+        {"name":"VBFlexGridFlexDataSource2","kind":"field","vis":"private","signature":"Private VBFlexGridFlexDataSource2 As IVBFlexDataSource2"},
+        {"name":"VBFlexGridFlexDataSourceFlags","kind":"field","vis":"private","signature":"Private VBFlexGridFlexDataSourceFlags As Long"},
+        {"name":"VBFlexGridFocusBorder","kind":"field","vis":"private","signature":"Private VBFlexGridFocusBorder As SIZEAPI"},
+        {"name":"VBFlexGridFocusRectPen","kind":"field","vis":"private","signature":"Private VBFlexGridFocusRectPen As LongPtr"},
+        {"name":"VBFlexGridFocused","kind":"field","vis":"private","signature":"Private VBFlexGridFocused As Boolean"},
+        {"name":"VBFlexGridFontFixedHandle","kind":"field","vis":"private","signature":"Private VBFlexGridFontFixedHandle As LongPtr"},
+        {"name":"VBFlexGridFontHandle","kind":"field","vis":"private","signature":"Private VBFlexGridFontHandle As LongPtr"},
+        {"name":"VBFlexGridFontToolTipHandle","kind":"field","vis":"private","signature":"Private VBFlexGridFontToolTipHandle As LongPtr"},
+        {"name":"VBFlexGridFrozenPenStyle","kind":"field","vis":"private","signature":"Private VBFlexGridFrozenPenStyle As Long"},
+        {"name":"VBFlexGridGridLineBlackPen","kind":"field","vis":"private","signature":"Private VBFlexGridGridLineBlackPen As LongPtr"},
+        {"name":"VBFlexGridGridLineFixedPen","kind":"field","vis":"private","signature":"Private VBFlexGridGridLineFixedPen As LongPtr"},
+        {"name":"VBFlexGridGridLineFrozenPen","kind":"field","vis":"private","signature":"Private VBFlexGridGridLineFrozenPen As LongPtr"},
+        {"name":"VBFlexGridGridLinePen","kind":"field","vis":"private","signature":"Private VBFlexGridGridLinePen As LongPtr"},
+        {"name":"VBFlexGridGridLineWhitePen","kind":"field","vis":"private","signature":"Private VBFlexGridGridLineWhitePen As LongPtr"},
+        {"name":"VBFlexGridHandle","kind":"field","vis":"private","signature":"Private VBFlexGridHandle As LongPtr"},
+        {"name":"VBFlexGridHitCol","kind":"field","vis":"private","signature":"Private VBFlexGridHitCol As Long"},
+        {"name":"VBFlexGridHitColDivider","kind":"field","vis":"private","signature":"Private VBFlexGridHitColDivider As Long"},
+        {"name":"VBFlexGridHitResult","kind":"field","vis":"private","signature":"Private VBFlexGridHitResult As FlexHitResultConstants"},
+        {"name":"VBFlexGridHitRow","kind":"field","vis":"private","signature":"Private VBFlexGridHitRow As Long"},
+        {"name":"VBFlexGridHitRowDivider","kind":"field","vis":"private","signature":"Private VBFlexGridHitRowDivider As Long"},
+        {"name":"VBFlexGridHotCol","kind":"field","vis":"private","signature":"Private VBFlexGridHotCol As Long"},
+        {"name":"VBFlexGridHotHitResult","kind":"field","vis":"private","signature":"Private VBFlexGridHotHitResult As FlexHitResultConstants"},
+        {"name":"VBFlexGridHotRow","kind":"field","vis":"private","signature":"Private VBFlexGridHotRow As Long"},
+        {"name":"VBFlexGridIMCHandle","kind":"field","vis":"private","signature":"Private VBFlexGridIMCHandle As LongPtr"},
+        {"name":"VBFlexGridIncrementalSearch","kind":"field","vis":"private","signature":"Private VBFlexGridIncrementalSearch As TINCREMENTALSEARCH"},
+        {"name":"VBFlexGridIndirectCellRef","kind":"field","vis":"private","signature":"Private VBFlexGridIndirectCellRef As TINDIRECTCELLREF"},
+        {"name":"VBFlexGridInsertMark","kind":"field","vis":"private","signature":"Private VBFlexGridInsertMark As Long"},
+        {"name":"VBFlexGridInsertMarkAfter","kind":"field","vis":"private","signature":"Private VBFlexGridInsertMarkAfter As Boolean"},
+        {"name":"VBFlexGridInsertMarkBrush","kind":"field","vis":"private","signature":"Private VBFlexGridInsertMarkBrush As LongPtr"},
+        {"name":"VBFlexGridInsertMarkMode","kind":"field","vis":"private","signature":"Private VBFlexGridInsertMarkMode As FlexDropTargetModeConstants"},
+        {"name":"VBFlexGridInvertSelection","kind":"field","vis":"private","signature":"Private VBFlexGridInvertSelection As Boolean"},
+        {"name":"VBFlexGridIsClick","kind":"field","vis":"private","signature":"Private VBFlexGridIsClick As Boolean"},
+        {"name":"VBFlexGridLeftCol","kind":"field","vis":"private","signature":"Private VBFlexGridLeftCol As Long"},
+        {"name":"VBFlexGridMergeDrawInfo","kind":"field","vis":"private","signature":"Private VBFlexGridMergeDrawInfo As TMERGEDRAWINFO"},
+        {"name":"VBFlexGridMouseMoveChanged","kind":"field","vis":"private","signature":"Private VBFlexGridMouseMoveChanged As Boolean"},
+        {"name":"VBFlexGridMouseMoveCol","kind":"field","vis":"private","signature":"Private VBFlexGridMouseMoveCol As Long"},
+        {"name":"VBFlexGridMouseMoveRow","kind":"field","vis":"private","signature":"Private VBFlexGridMouseMoveRow As Long"},
+        {"name":"VBFlexGridMouseOver","kind":"field","vis":"private","signature":"Private VBFlexGridMouseOver As Boolean"},
+        {"name":"VBFlexGridMultiSelChangeTimer","kind":"field","vis":"private","signature":"Private VBFlexGridMultiSelChangeTimer As Boolean"},
+        {"name":"VBFlexGridNoRedraw","kind":"field","vis":"private","signature":"Private VBFlexGridNoRedraw As Boolean"},
+        {"name":"VBFlexGridPenStyle","kind":"field","vis":"private","signature":"Private VBFlexGridPenStyle As Long"},
+        {"name":"VBFlexGridPixelMetrics","kind":"field","vis":"private","signature":"Private VBFlexGridPixelMetrics As TPIXELMETRICS"},
+        {"name":"VBFlexGridRTLLayout","kind":"field","vis":"private","signature":"Private VBFlexGridRTLLayout As Boolean"},
+        {"name":"VBFlexGridRTLReading","kind":"field","vis":"private","signature":"Private VBFlexGridRTLReading As Boolean"},
+        {"name":"VBFlexGridReaderModeAnchorRegistered","kind":"field","vis":"private","signature":"Private VBFlexGridReaderModeAnchorRegistered As Boolean"},
+        {"name":"VBFlexGridReaderModeScroll","kind":"field","vis":"private","signature":"Private VBFlexGridReaderModeScroll As SIZEAPI"},
+        {"name":"VBFlexGridRedoQueue","kind":"field","vis":"private","signature":"Private VBFlexGridRedoQueue() As TUNDOREDOENTRY"},
+        {"name":"VBFlexGridRedoQueueIndex","kind":"field","vis":"private","signature":"Private VBFlexGridRedoQueueIndex As Long"},
+        {"name":"VBFlexGridRow","kind":"field","vis":"private","signature":"Private VBFlexGridRow As Long"},
+        {"name":"VBFlexGridRowSel","kind":"field","vis":"private","signature":"Private VBFlexGridRowSel As Long"},
+        {"name":"VBFlexGridScrollTipHandle","kind":"field","vis":"private","signature":"Private VBFlexGridScrollTipHandle As LongPtr"},
+        {"name":"VBFlexGridScrollTipTrack","kind":"field","vis":"private","signature":"Private VBFlexGridScrollTipTrack As Boolean"},
+        {"name":"VBFlexGridSelectedRowIndices","kind":"field","vis":"private","signature":"Private VBFlexGridSelectedRowIndices() As Long"},
+        {"name":"VBFlexGridSelectedRows","kind":"field","vis":"private","signature":"Private VBFlexGridSelectedRows As Long"},
+        {"name":"VBFlexGridToolTipCol","kind":"field","vis":"private","signature":"Private VBFlexGridToolTipCol As Long"},
+        {"name":"VBFlexGridToolTipHandle","kind":"field","vis":"private","signature":"Private VBFlexGridToolTipHandle As LongPtr"},
+        {"name":"VBFlexGridToolTipHitResult","kind":"field","vis":"private","signature":"Private VBFlexGridToolTipHitResult As FlexHitResultConstants"},
+        {"name":"VBFlexGridToolTipRow","kind":"field","vis":"private","signature":"Private VBFlexGridToolTipRow As Long"},
+        {"name":"VBFlexGridTopRow","kind":"field","vis":"private","signature":"Private VBFlexGridTopRow As Long"},
+        {"name":"VBFlexGridUndoQueue","kind":"field","vis":"private","signature":"Private VBFlexGridUndoQueue() As TUNDOREDOENTRY"},
+        {"name":"VBFlexGridUndoQueueIndex","kind":"field","vis":"private","signature":"Private VBFlexGridUndoQueueIndex As Long"},
+        {"name":"VBFlexGridUniformRowHeight","kind":"field","vis":"private","signature":"Private VBFlexGridUniformRowHeight As Long"},
+        {"name":"VBFlexGridWallPaperRenderFlag","kind":"field","vis":"private","signature":"Private VBFlexGridWallPaperRenderFlag As Integer"},
+        {"name":"VBFlexGridWheelScrollLines","kind":"field","vis":"private","signature":"Private VBFlexGridWheelScrollLines As Long"},
+        {"name":"VBFlexGridWheelScrollLinesSystem","kind":"field","vis":"private","signature":"Private VBFlexGridWheelScrollLinesSystem As Long"},
+        {"name":"VERTRES","kind":"const","vis":"private","signature":"Private Const VERTRES As Long = 10"},
+        {"name":"VERTSIZE","kind":"const","vis":"private","signature":"Private Const VERTSIZE As Long = 6"},
+        {"name":"VP_FORMATRANGE","kind":"const","vis":"private","signature":"Private Const VP_FORMATRANGE As Long = (WM_USER + 125)"},
+        {"name":"VP_YES","kind":"const","vis":"private","signature":"Private Const VP_YES As Long = 456654"},
+        {"name":"VT_I8","kind":"const","vis":"private","signature":"Private Const VT_I8 As Integer = &H14"},
+        {"name":"ValidateEdit","kind":"event","vis":"public","signature":"Public Event ValidateEdit(ByRef Cancel As Boolean)"},
+        {"name":"ValidateEditOnMouseActivateMsg","kind":"function","vis":"private","signature":"Private Function ValidateEditOnMouseActivateMsg(ByVal lParam As LongPtr, ByRef RetVal As LongPtr) As Boolean","returnType":"Boolean"},
+        {"name":"VarCmp","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VarCmp Lib \"oleaut32\" (ByRef pvargLeft As Any, ByRef pvargRight As Any, ByVal LCID As Long, ByVal dwFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VarCmp Lib \"oleaut32\" (ByRef pvargLeft As Any, ByRef pvargRight As Any, ByVal LCID As Long, ByVal dwFlags As Long) As Long"}]},
+        {"name":"VarDecFromI8","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VarDecFromI8 Lib \"oleaut32\" (ByVal i64In As Currency, ByRef pDecOut As Variant) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VarDecFromI8 Lib \"oleaut32\" (ByVal i64In As Currency, ByRef pDecOut As Variant) As Long"}]},
+        {"name":"VarI8FromDec","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VarI8FromDec Lib \"oleaut32\" (ByRef pDecIn As Variant, ByRef i64Out As Currency) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VarI8FromDec Lib \"oleaut32\" (ByRef pDecIn As Variant, ByRef i64Out As Currency) As Long"}]},
+        {"name":"VarI8FromR8","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VarI8FromR8 Lib \"oleaut32\" (ByVal DblIn As Double, ByRef i64Out As Currency) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VarI8FromR8 Lib \"oleaut32\" (ByVal DblIn As Double, ByRef i64Out As Currency) As Long"}]},
+        {"name":"VarI8FromStr","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VarI8FromStr Lib \"oleaut32\" (ByVal lpStrIn As LongPtr, ByVal LCID As Long, ByVal dwFlags As Long, ByRef i64Out As Currency) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VarI8FromStr Lib \"oleaut32\" (ByVal lpStrIn As Long, ByVal LCID As Long, ByVal dwFlags As Long, ByRef i64Out As Currency) As Long"}]},
+        {"name":"VariantClear","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VariantClear Lib \"oleaut32\" (ByRef pvarg As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VariantClear Lib \"oleaut32\" (ByRef pvarg As Any) As Long"}]},
+        {"name":"VariantCopy","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VariantCopy Lib \"oleaut32\" (ByRef pvargDest As Any, ByRef pvargSrc As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VariantCopy Lib \"oleaut32\" (ByRef pvargDest As Any, ByRef pvargSrc As Any) As Long"}]},
+        {"name":"VariantInit","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub VariantInit Lib \"oleaut32\" (ByRef pvarg As Any)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub VariantInit Lib \"oleaut32\" (ByRef pvarg As Any)"}]},
+        {"name":"Version","kind":"property","vis":"public","signature":"Public Property Get Version() As Integer","returnType":"Integer","accessor":"Get"},
+        {"name":"Visible","kind":"property","vis":"public","signature":"Public Property Get Visible() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"Visible","kind":"property","vis":"public","signature":"Public Property Let Visible(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"VisualStyles","kind":"property","vis":"public","signature":"Public Property Get VisualStyles() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"VisualStyles","kind":"property","vis":"public","signature":"Public Property Let VisualStyles(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"WM_CANCELMODE","kind":"const","vis":"private","signature":"Private Const WM_CANCELMODE As Long = &H1F"},
+        {"name":"WM_CAPTURECHANGED","kind":"const","vis":"private","signature":"Private Const WM_CAPTURECHANGED As Long = &H215"},
+        {"name":"WM_CHAR","kind":"const","vis":"private","signature":"Private Const WM_CHAR As Long = &H102"},
+        {"name":"WM_COMMAND","kind":"const","vis":"private","signature":"Private Const WM_COMMAND As Long = &H111"},
+        {"name":"WM_CONTEXTMENU","kind":"const","vis":"private","signature":"Private Const WM_CONTEXTMENU As Long = &H7B"},
+        {"name":"WM_CTLCOLOREDIT","kind":"const","vis":"private","signature":"Private Const WM_CTLCOLOREDIT As Long = &H133"},
+        {"name":"WM_CTLCOLORSTATIC","kind":"const","vis":"private","signature":"Private Const WM_CTLCOLORSTATIC As Long = &H138"},
+        {"name":"WM_DRAWITEM","kind":"const","vis":"private","signature":"Private Const WM_DRAWITEM As Long = &H2B"},
+        {"name":"WM_DROPFILES","kind":"const","vis":"private","signature":"Private Const WM_DROPFILES As Long = &H233"},
+        {"name":"WM_ERASEBKGND","kind":"const","vis":"private","signature":"Private Const WM_ERASEBKGND As Long = &H14"},
+        {"name":"WM_GETFONT","kind":"const","vis":"private","signature":"Private Const WM_GETFONT As Long = &H31"},
+        {"name":"WM_GETTEXT","kind":"const","vis":"private","signature":"Private Const WM_GETTEXT As Long = &HD"},
+        {"name":"WM_GETTEXTLENGTH","kind":"const","vis":"private","signature":"Private Const WM_GETTEXTLENGTH As Long = &HE"},
+        {"name":"WM_HSCROLL","kind":"const","vis":"private","signature":"Private Const WM_HSCROLL As Long = &H114"},
+        {"name":"WM_IME_CHAR","kind":"const","vis":"private","signature":"Private Const WM_IME_CHAR As Long = &H286"},
+        {"name":"WM_IME_SETCONTEXT","kind":"const","vis":"private","signature":"Private Const WM_IME_SETCONTEXT As Long = &H281"},
+        {"name":"WM_INPUTLANGCHANGE","kind":"const","vis":"private","signature":"Private Const WM_INPUTLANGCHANGE As Long = &H51"},
+        {"name":"WM_KEYDOWN","kind":"const","vis":"private","signature":"Private Const WM_KEYDOWN As Long = &H100"},
+        {"name":"WM_KEYUP","kind":"const","vis":"private","signature":"Private Const WM_KEYUP As Long = &H101"},
+        {"name":"WM_KILLFOCUS","kind":"const","vis":"private","signature":"Private Const WM_KILLFOCUS As Long = &H8"},
+        {"name":"WM_LBUTTONDBLCLK","kind":"const","vis":"private","signature":"Private Const WM_LBUTTONDBLCLK As Long = &H203"},
+        {"name":"WM_LBUTTONDOWN","kind":"const","vis":"private","signature":"Private Const WM_LBUTTONDOWN As Long = &H201"},
+        {"name":"WM_LBUTTONUP","kind":"const","vis":"private","signature":"Private Const WM_LBUTTONUP As Long = &H202"},
+        {"name":"WM_MBUTTONDBLCLK","kind":"const","vis":"private","signature":"Private Const WM_MBUTTONDBLCLK As Long = &H209"},
+        {"name":"WM_MBUTTONDOWN","kind":"const","vis":"private","signature":"Private Const WM_MBUTTONDOWN As Long = &H207"},
+        {"name":"WM_MBUTTONUP","kind":"const","vis":"private","signature":"Private Const WM_MBUTTONUP As Long = &H208"},
+        {"name":"WM_MOUSEACTIVATE","kind":"const","vis":"private","signature":"Private Const WM_MOUSEACTIVATE As Long = &H21"},
+        {"name":"WM_MOUSEHWHEEL","kind":"const","vis":"private","signature":"Private Const WM_MOUSEHWHEEL As Long = &H20E"},
+        {"name":"WM_MOUSELEAVE","kind":"const","vis":"private","signature":"Private Const WM_MOUSELEAVE As Long = &H2A3"},
+        {"name":"WM_MOUSEMOVE","kind":"const","vis":"private","signature":"Private Const WM_MOUSEMOVE As Long = &H200"},
+        {"name":"WM_MOUSEWHEEL","kind":"const","vis":"private","signature":"Private Const WM_MOUSEWHEEL As Long = &H20A"},
+        {"name":"WM_NCCALCSIZE","kind":"const","vis":"private","signature":"Private Const WM_NCCALCSIZE As Long = &H83"},
+        {"name":"WM_NCHITTEST","kind":"const","vis":"private","signature":"Private Const WM_NCHITTEST As Long = &H84"},
+        {"name":"WM_NCLBUTTONDOWN","kind":"const","vis":"private","signature":"Private Const WM_NCLBUTTONDOWN As Long = &HA1"},
+        {"name":"WM_NCMOUSELEAVE","kind":"const","vis":"private","signature":"Private Const WM_NCMOUSELEAVE As Long = &H2A2"},
+        {"name":"WM_NCMOUSEMOVE","kind":"const","vis":"private","signature":"Private Const WM_NCMOUSEMOVE As Long = &HA0"},
+        {"name":"WM_NCPAINT","kind":"const","vis":"private","signature":"Private Const WM_NCPAINT As Long = &H85"},
+        {"name":"WM_NOTIFY","kind":"const","vis":"private","signature":"Private Const WM_NOTIFY As Long = &H4E"},
+        {"name":"WM_NOTIFYFORMAT","kind":"const","vis":"private","signature":"Private Const WM_NOTIFYFORMAT As Long = &H55"},
+        {"name":"WM_PAINT","kind":"const","vis":"private","signature":"Private Const WM_PAINT As Long = &HF"},
+        {"name":"WM_PRINTCLIENT","kind":"const","vis":"private","signature":"Private Const WM_PRINTCLIENT As Long = &H318"},
+        {"name":"WM_QUIT","kind":"const","vis":"private","signature":"Private Const WM_QUIT As Long = &H12"},
+        {"name":"WM_RBUTTONDBLCLK","kind":"const","vis":"private","signature":"Private Const WM_RBUTTONDBLCLK As Long = &H206"},
+        {"name":"WM_RBUTTONDOWN","kind":"const","vis":"private","signature":"Private Const WM_RBUTTONDOWN As Long = &H204"},
+        {"name":"WM_RBUTTONUP","kind":"const","vis":"private","signature":"Private Const WM_RBUTTONUP As Long = &H205"},
+        {"name":"WM_SETCURSOR","kind":"const","vis":"private","signature":"Private Const WM_SETCURSOR As Long = &H20"},
+        {"name":"WM_SETFOCUS","kind":"const","vis":"private","signature":"Private Const WM_SETFOCUS As Long = &H7"},
+        {"name":"WM_SETFONT","kind":"const","vis":"private","signature":"Private Const WM_SETFONT As Long = &H30"},
+        {"name":"WM_SETREDRAW","kind":"const","vis":"private","signature":"Private Const WM_SETREDRAW As Long = &HB"},
+        {"name":"WM_SETTEXT","kind":"const","vis":"private","signature":"Private Const WM_SETTEXT As Long = &HC"},
+        {"name":"WM_SETTINGCHANGE","kind":"const","vis":"private","signature":"Private Const WM_SETTINGCHANGE As Long = &H1A"},
+        {"name":"WM_SHOWWINDOW","kind":"const","vis":"private","signature":"Private Const WM_SHOWWINDOW As Long = &H18"},
+        {"name":"WM_SIZE","kind":"const","vis":"private","signature":"Private Const WM_SIZE As Long = &H5"},
+        {"name":"WM_STYLECHANGED","kind":"const","vis":"private","signature":"Private Const WM_STYLECHANGED As Long = &H7D"},
+        {"name":"WM_SYSKEYDOWN","kind":"const","vis":"private","signature":"Private Const WM_SYSKEYDOWN As Long = &H104"},
+        {"name":"WM_SYSKEYUP","kind":"const","vis":"private","signature":"Private Const WM_SYSKEYUP As Long = &H105"},
+        {"name":"WM_THEMECHANGED","kind":"const","vis":"private","signature":"Private Const WM_THEMECHANGED As Long = &H31A"},
+        {"name":"WM_TIMER","kind":"const","vis":"private","signature":"Private Const WM_TIMER As Long = &H113"},
+        {"name":"WM_UNICHAR","kind":"const","vis":"private","signature":"Private Const WM_UNICHAR As Long = &H109"},
+        {"name":"WM_USER","kind":"const","vis":"private","signature":"Private Const WM_USER As Long = &H400"},
+        {"name":"WM_VSCROLL","kind":"const","vis":"private","signature":"Private Const WM_VSCROLL As Long = &H115"},
+        {"name":"WS_BORDER","kind":"const","vis":"private","signature":"Private Const WS_BORDER As Long = &H800000"},
+        {"name":"WS_CHILD","kind":"const","vis":"private","signature":"Private Const WS_CHILD As Long = &H40000000"},
+        {"name":"WS_CLIPCHILDREN","kind":"const","vis":"private","signature":"Private Const WS_CLIPCHILDREN As Long = &H2000000"},
+        {"name":"WS_CLIPSIBLINGS","kind":"const","vis":"private","signature":"Private Const WS_CLIPSIBLINGS As Long = &H4000000"},
+        {"name":"WS_DLGFRAME","kind":"const","vis":"private","signature":"Private Const WS_DLGFRAME As Long = &H400000"},
+        {"name":"WS_EX_ACCEPTFILES","kind":"const","vis":"private","signature":"Private Const WS_EX_ACCEPTFILES As Long = &H10"},
+        {"name":"WS_EX_CLIENTEDGE","kind":"const","vis":"private","signature":"Private Const WS_EX_CLIENTEDGE As Long = &H200"},
+        {"name":"WS_EX_LAYOUTRTL","kind":"const","vis":"private","signature":"Private Const WS_EX_LAYOUTRTL As Long = &H400000"},
+        {"name":"WS_EX_LEFTSCROLLBAR","kind":"const","vis":"private","signature":"Private Const WS_EX_LEFTSCROLLBAR As Long = &H4000"},
+        {"name":"WS_EX_NOINHERITLAYOUT","kind":"const","vis":"private","signature":"Private Const WS_EX_NOINHERITLAYOUT As Long = &H100000"},
+        {"name":"WS_EX_RIGHT","kind":"const","vis":"private","signature":"Private Const WS_EX_RIGHT As Long = &H1000"},
+        {"name":"WS_EX_RTLREADING","kind":"const","vis":"private","signature":"Private Const WS_EX_RTLREADING As Long = &H2000"},
+        {"name":"WS_EX_STATICEDGE","kind":"const","vis":"private","signature":"Private Const WS_EX_STATICEDGE As Long = &H20000"},
+        {"name":"WS_EX_TOOLWINDOW","kind":"const","vis":"private","signature":"Private Const WS_EX_TOOLWINDOW As Long = &H80"},
+        {"name":"WS_EX_TOPMOST","kind":"const","vis":"private","signature":"Private Const WS_EX_TOPMOST As Long = &H8"},
+        {"name":"WS_EX_TRANSPARENT","kind":"const","vis":"private","signature":"Private Const WS_EX_TRANSPARENT As Long = &H20"},
+        {"name":"WS_EX_WINDOWEDGE","kind":"const","vis":"private","signature":"Private Const WS_EX_WINDOWEDGE As Long = &H100"},
+        {"name":"WS_HSCROLL","kind":"const","vis":"private","signature":"Private Const WS_HSCROLL As Long = &H100000"},
+        {"name":"WS_POPUP","kind":"const","vis":"private","signature":"Private Const WS_POPUP As Long = &H80000000"},
+        {"name":"WS_VISIBLE","kind":"const","vis":"private","signature":"Private Const WS_VISIBLE As Long = &H10000000"},
+        {"name":"WS_VSCROLL","kind":"const","vis":"private","signature":"Private Const WS_VSCROLL As Long = &H200000"},
+        {"name":"WaitMessage","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function WaitMessage Lib \"user32\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function WaitMessage Lib \"user32\" () As Long"}]},
+        {"name":"WallPaper","kind":"property","vis":"public","signature":"Public Property Get WallPaper() As IPictureDisp","returnType":"IPictureDisp","accessor":"Get"},
+        {"name":"WallPaper","kind":"property","vis":"public","signature":"Public Property Let WallPaper(ByVal Value As IPictureDisp)","accessor":"Let"},
+        {"name":"WallPaper","kind":"property","vis":"public","signature":"Public Property Set WallPaper(ByVal Value As IPictureDisp)","accessor":"Set"},
+        {"name":"WallPaperAlignment","kind":"property","vis":"public","signature":"Public Property Get WallPaperAlignment() As FlexWallPaperAlignmentConstants","returnType":"FlexWallPaperAlignmentConstants","accessor":"Get"},
+        {"name":"WallPaperAlignment","kind":"property","vis":"public","signature":"Public Property Let WallPaperAlignment(ByVal Value As FlexWallPaperAlignmentConstants)","accessor":"Let"},
+        {"name":"WantReturn","kind":"property","vis":"public","signature":"Public Property Get WantReturn() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"WantReturn","kind":"property","vis":"public","signature":"Public Property Let WantReturn(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"WhatsThisHelpID","kind":"property","vis":"public","signature":"Public Property Get WhatsThisHelpID() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"WhatsThisHelpID","kind":"property","vis":"public","signature":"Public Property Let WhatsThisHelpID(ByVal Value As Long)","accessor":"Let"},
+        {"name":"WheelScrollLines","kind":"property","vis":"public","signature":"Public Property Get WheelScrollLines() As Long","returnType":"Long","accessor":"Get"},
+        {"name":"WheelScrollLines","kind":"property","vis":"public","signature":"Public Property Let WheelScrollLines(ByVal Value As Long)","accessor":"Let"},
+        {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Single","returnType":"Single","accessor":"Get"},
+        {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Single)","accessor":"Let"},
+        {"name":"WindowFromPoint","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function WindowFromPoint Lib \"user32\" (ByVal XY As Currency) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function WindowFromPoint Lib \"user32\" (ByVal XY As Currency) As Long","returnType":"Long"}]},
+        {"name":"WindowProcComboButton","kind":"function","vis":"private","signature":"Private Function WindowProcComboButton(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"WindowProcComboCalendar","kind":"function","vis":"private","signature":"Private Function WindowProcComboCalendar(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"WindowProcComboList","kind":"function","vis":"private","signature":"Private Function WindowProcComboList(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"WindowProcControl","kind":"function","vis":"private","signature":"Private Function WindowProcControl(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"WindowProcEdit","kind":"function","vis":"private","signature":"Private Function WindowProcEdit(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"WindowProcUserControl","kind":"function","vis":"private","signature":"Private Function WindowProcUserControl(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"WordWrap","kind":"property","vis":"public","signature":"Public Property Get WordWrap() As Boolean","returnType":"Boolean","accessor":"Get"},
+        {"name":"WordWrap","kind":"property","vis":"public","signature":"Public Property Let WordWrap(ByVal Value As Boolean)","accessor":"Let"},
+        {"name":"WrapCellBehavior","kind":"property","vis":"public","signature":"Public Property Get WrapCellBehavior() As FlexWrapCellBehaviorConstants","returnType":"FlexWrapCellBehaviorConstants","accessor":"Get"},
+        {"name":"WrapCellBehavior","kind":"property","vis":"public","signature":"Public Property Let WrapCellBehavior(ByVal Value As FlexWrapCellBehaviorConstants)","accessor":"Let"},
+        {"name":"ZOrder","kind":"sub","vis":"public","signature":"Public Sub ZOrder(Optional ByRef Position As Variant)"},
+        {"name":"ZeroMemory","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub ZeroMemory Lib \"kernel32\" Alias \"RtlZeroMemory\" (ByRef Destination As Any, ByVal Length As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub ZeroMemory Lib \"kernel32\" Alias \"RtlZeroMemory\" (ByRef Destination As Any, ByVal Length As Long)"}]},
+        {"name":"hWnd","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWnd() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWnd() As Long","returnType":"Long"}]},
+        {"name":"hWndComboButton","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndComboButton() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndComboButton() As Long","returnType":"Long"}]},
+        {"name":"hWndComboCalendar","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndComboCalendar() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndComboCalendar() As Long","returnType":"Long"}]},
+        {"name":"hWndComboList","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndComboList() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndComboList() As Long","returnType":"Long"}]},
+        {"name":"hWndEdit","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndEdit() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndEdit() As Long","returnType":"Long"}]},
+        {"name":"hWndScrollTip","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndScrollTip() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndScrollTip() As Long","returnType":"Long"}]},
+        {"name":"hWndToolTip","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndToolTip() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndToolTip() As Long","returnType":"Long"}]},
+        {"name":"hWndUserControl","kind":"property","vis":"public","accessor":"Get","signatures":[{"cond":"VBA7","signature":"Public Property Get hWndUserControl() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Property Get hWndUserControl() As Long","returnType":"Long"}]},
+        {"name":"lstrcmp","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function lstrcmp Lib \"kernel32\" Alias \"lstrcmpW\" (ByVal lpString1 As LongPtr, ByVal lpString2 As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function lstrcmp Lib \"kernel32\" Alias \"lstrcmpW\" (ByVal lpString1 As Long, ByVal lpString2 As Long) As Long"}]},
+        {"name":"lstrcmpi","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function lstrcmpi Lib \"kernel32\" Alias \"lstrcmpiW\" (ByVal lpString1 As LongPtr, ByVal lpString2 As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function lstrcmpi Lib \"kernel32\" Alias \"lstrcmpiW\" (ByVal lpString1 As Long, ByVal lpString2 As Long) As Long"}]}
+      ]
+    },
+    {
+      "name": "BITMAPINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type BITMAPINFO",
+      "fields": [
+        {"name":"BMIHeader","vis":"public","signature":"BMIHeader As BITMAPINFOHEADER"},
+        {"name":"BMIColors","vis":"public","signature":"BMIColors(0 To 255) As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "BITMAPINFOHEADER",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type BITMAPINFOHEADER",
+      "fields": [
+        {"name":"BISize","vis":"public","signature":"BISize As Long"},
+        {"name":"BIWidth","vis":"public","signature":"BIWidth As Long"},
+        {"name":"BIHeight","vis":"public","signature":"BIHeight As Long"},
+        {"name":"BIPlanes","vis":"public","signature":"BIPlanes As Integer"},
+        {"name":"BIBitCount","vis":"public","signature":"BIBitCount As Integer"},
+        {"name":"BICompression","vis":"public","signature":"BICompression As Long"},
+        {"name":"BISizeImage","vis":"public","signature":"BISizeImage As Long"},
+        {"name":"BIXPelsPerMeter","vis":"public","signature":"BIXPelsPerMeter As Long"},
+        {"name":"BIYPelsPerMeter","vis":"public","signature":"BIYPelsPerMeter As Long"},
+        {"name":"BIClrUsed","vis":"public","signature":"BIClrUsed As Long"},
+        {"name":"BIClrImportant","vis":"public","signature":"BIClrImportant As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "DRAWITEMSTRUCT",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type DRAWITEMSTRUCT",
+      "fields": [
+        {"name":"CtlType","vis":"public","signature":"CtlType As Long"},
+        {"name":"CtlID","vis":"public","signature":"CtlID As Long"},
+        {"name":"ItemID","vis":"public","signature":"ItemID As Long"},
+        {"name":"ItemAction","vis":"public","signature":"ItemAction As Long"},
+        {"name":"ItemState","vis":"public","signature":"ItemState As Long"},
+        {"name":"hWndItem","vis":"public","signature":"hWndItem As LongPtr"},
+        {"name":"hDC","vis":"public","signature":"hDC As LongPtr"},
+        {"name":"RCItem","vis":"public","signature":"RCItem As RECT"},
+        {"name":"ItemData","vis":"public","signature":"ItemData As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "DRAWTEXTPARAMS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type DRAWTEXTPARAMS",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"iTabLength","vis":"public","signature":"iTabLength As Long"},
+        {"name":"iLeftMargin","vis":"public","signature":"iLeftMargin As Long"},
+        {"name":"iRightMargin","vis":"public","signature":"iRightMargin As Long"},
+        {"name":"uiLengthDrawn","vis":"public","signature":"uiLengthDrawn As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "FlexAlignmentConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexAlignmentConstants",
+      "values": [
+        {"name":"FlexAlignmentLeftTop","value":"0"},
+        {"name":"FlexAlignmentLeftCenter","value":"1"},
+        {"name":"FlexAlignmentLeftBottom","value":"2"},
+        {"name":"FlexAlignmentCenterTop","value":"3"},
+        {"name":"FlexAlignmentCenterCenter","value":"4"},
+        {"name":"FlexAlignmentCenterBottom","value":"5"},
+        {"name":"FlexAlignmentRightTop","value":"6"},
+        {"name":"FlexAlignmentRightCenter","value":"7"},
+        {"name":"FlexAlignmentRightBottom","value":"8"},
+        {"name":"FlexAlignmentGeneral","value":"9"},
+        {"name":"FlexAlignmentGeneralTop","value":"10"},
+        {"name":"FlexAlignmentGeneralCenter","value":"11"},
+        {"name":"FlexAlignmentGeneralBottom","value":"12"}
+      ]
+    },
+    {
+      "name": "FlexAllowUserFreezingConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexAllowUserFreezingConstants",
+      "values": [
+        {"name":"FlexAllowUserFreezingNone","value":"0"},
+        {"name":"FlexAllowUserFreezingColumns","value":"1"},
+        {"name":"FlexAllowUserFreezingRows","value":"2"},
+        {"name":"FlexAllowUserFreezingBoth","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexAllowUserResizingConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexAllowUserResizingConstants",
+      "values": [
+        {"name":"FlexAllowUserResizingNone","value":"0"},
+        {"name":"FlexAllowUserResizingColumns","value":"1"},
+        {"name":"FlexAllowUserResizingRows","value":"2"},
+        {"name":"FlexAllowUserResizingBoth","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexArrayOrderConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexArrayOrderConstants",
+      "values": [
+        {"name":"FlexRowMajor","value":"0"},
+        {"name":"FlexColumnMajor","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexAutoSizeModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexAutoSizeModeConstants",
+      "values": [
+        {"name":"FlexAutoSizeModeColWidth","value":"0"},
+        {"name":"FlexAutoSizeModeRowHeight","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexAutoSizeScopeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexAutoSizeScopeConstants",
+      "values": [
+        {"name":"FlexAutoSizeScopeAll","value":"0"},
+        {"name":"FlexAutoSizeScopeFixed","value":"1"},
+        {"name":"FlexAutoSizeScopeScrollable","value":"2"},
+        {"name":"FlexAutoSizeScopeMovable","value":"3"},
+        {"name":"FlexAutoSizeScopeFrozen","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexBestFitModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexBestFitModeConstants",
+      "values": [
+        {"name":"FlexBestFitModeTextOnly","value":"0"},
+        {"name":"FlexBestFitModeFull","value":"1"},
+        {"name":"FlexBestFitModeSortArrowText","value":"2"},
+        {"name":"FlexBestFitModeOtherText","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexBorderStyleConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexBorderStyleConstants",
+      "values": [
+        {"name":"FlexBorderStyleNone","value":"0"},
+        {"name":"FlexBorderStyleSingle","value":"1"},
+        {"name":"FlexBorderStyleThin","value":"2"},
+        {"name":"FlexBorderStyleSunken","value":"3"},
+        {"name":"FlexBorderStyleRaised","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexCellCheckReasonConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexCellCheckReasonConstants",
+      "values": [
+        {"name":"FlexCellCheckReasonMouse","value":"0"},
+        {"name":"FlexCellCheckReasonKeyboard","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexCellSettings",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexCellSettings",
+      "values": [
+        {"name":"FlexCellText","value":"0"},
+        {"name":"FlexCellClip","value":"1"},
+        {"name":"FlexCellTextStyle","value":"2"},
+        {"name":"FlexCellAlignment","value":"3"},
+        {"name":"FlexCellPicture","value":"4"},
+        {"name":"FlexCellPictureAlignment","value":"5"},
+        {"name":"FlexCellBackColor","value":"6"},
+        {"name":"FlexCellForeColor","value":"7"},
+        {"name":"FlexCellToolTipText","value":"8"},
+        {"name":"FlexCellComboCue","value":"9"},
+        {"name":"FlexCellChecked","value":"10"},
+        {"name":"FlexCellFloodPercent","value":"11"},
+        {"name":"FlexCellFloodColor","value":"12"},
+        {"name":"FlexCellFontName","value":"13"},
+        {"name":"FlexCellFontSize","value":"14"},
+        {"name":"FlexCellFontBold","value":"15"},
+        {"name":"FlexCellFontItalic","value":"16"},
+        {"name":"FlexCellFontStrikeThrough","value":"17"},
+        {"name":"FlexCellFontUnderline","value":"18"},
+        {"name":"FlexCellFontCharset","value":"19"},
+        {"name":"FlexCellLeft","value":"20"},
+        {"name":"FlexCellTop","value":"21"},
+        {"name":"FlexCellWidth","value":"22"},
+        {"name":"FlexCellHeight","value":"23"},
+        {"name":"FlexCellSort","value":"24"},
+        {"name":"FlexCellTextDisplay","value":"25"},
+        {"name":"FlexCellTextHidden","value":"26"},
+        {"name":"FlexCellHasCustomFormatting","value":"27"},
+        {"name":"FlexCellHasTag","value":"28"},
+        {"name":"FlexCellTag","value":"29"}
+      ]
+    },
+    {
+      "name": "FlexCheckBoxAlignmentConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexCheckBoxAlignmentConstants",
+      "values": [
+        {"name":"FlexCheckBoxAlignmentLeftTop","value":"0"},
+        {"name":"FlexCheckBoxAlignmentLeftCenter","value":"1"},
+        {"name":"FlexCheckBoxAlignmentLeftBottom","value":"2"},
+        {"name":"FlexCheckBoxAlignmentCenterTop","value":"3"},
+        {"name":"FlexCheckBoxAlignmentCenterCenter","value":"4"},
+        {"name":"FlexCheckBoxAlignmentCenterBottom","value":"5"},
+        {"name":"FlexCheckBoxAlignmentRightTop","value":"6"},
+        {"name":"FlexCheckBoxAlignmentRightCenter","value":"7"},
+        {"name":"FlexCheckBoxAlignmentRightBottom","value":"8"},
+        {"name":"FlexCheckBoxAlignmentUsePictureAlignment","value":"9"}
+      ]
+    },
+    {
+      "name": "FlexCheckBoxConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexCheckBoxConstants",
+      "values": [
+        {"name":"FlexNoCheckBoxEver","value":"-2"},
+        {"name":"FlexNoCheckBox","value":"-1"},
+        {"name":"FlexUnchecked","value":"0"},
+        {"name":"FlexChecked","value":"1"},
+        {"name":"FlexGrayed","value":"2"},
+        {"name":"FlexTextAsCheckBox","value":"3"},
+        {"name":"FlexDisabledUnchecked","value":"4"},
+        {"name":"FlexDisabledChecked","value":"5"},
+        {"name":"FlexDisabledGrayed","value":"6"},
+        {"name":"FlexDisabledTextAsCheckBox","value":"7"}
+      ]
+    },
+    {
+      "name": "FlexCheckBoxDrawModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexCheckBoxDrawModeConstants",
+      "values": [
+        {"name":"FlexCheckBoxDrawModeNormal","value":"0"},
+        {"name":"FlexCheckBoxDrawModeOwnerDraw","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexClearWhatConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexClearWhatConstants",
+      "values": [
+        {"name":"FlexClearEverything","value":"0"},
+        {"name":"FlexClearText","value":"1"},
+        {"name":"FlexClearFormatting","value":"2"},
+        {"name":"FlexClearTag","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexClearWhereConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexClearWhereConstants",
+      "values": [
+        {"name":"FlexClearEverywhere","value":"0"},
+        {"name":"FlexClearFixed","value":"1"},
+        {"name":"FlexClearScrollable","value":"2"},
+        {"name":"FlexClearMovable","value":"3"},
+        {"name":"FlexClearFrozen","value":"4"},
+        {"name":"FlexClearSelection","value":"5"},
+        {"name":"FlexClearClip","value":"6"}
+      ]
+    },
+    {
+      "name": "FlexClipCopyModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexClipCopyModeConstants",
+      "values": [
+        {"name":"FlexClipCopyModeNormal","value":"0"},
+        {"name":"FlexClipCopyModeIncludeFixedRows","value":"1"},
+        {"name":"FlexClipCopyModeIncludeFixedColumns","value":"2"},
+        {"name":"FlexClipCopyModeIncludeFixedAll","value":"3"},
+        {"name":"FlexClipCopyModeExtended","value":"4"},
+        {"name":"FlexClipCopyModeExtendedFixedRows","value":"5"},
+        {"name":"FlexClipCopyModeExtendedFixedColumns","value":"6"},
+        {"name":"FlexClipCopyModeExtendedFixedAll","value":"7"}
+      ]
+    },
+    {
+      "name": "FlexClipModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexClipModeConstants",
+      "values": [
+        {"name":"FlexClipModeNormal","value":"0"},
+        {"name":"FlexClipModeExcludeHidden","value":"1"},
+        {"name":"FlexClipModeLookupConv","value":"2"},
+        {"name":"FlexClipModeLookupConvExcludeHidden","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexClipPasteModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexClipPasteModeConstants",
+      "values": [
+        {"name":"FlexClipPasteModeNormal","value":"0"},
+        {"name":"FlexClipPasteModeAutoSelection","value":"1"},
+        {"name":"FlexClipPasteModeExtended","value":"2"},
+        {"name":"FlexClipPasteModeExtendedAutoSelection","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexClipboardActionConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexClipboardActionConstants",
+      "values": [
+        {"name":"FlexClipboardActionCopy","value":"0"},
+        {"name":"FlexClipboardActionCut","value":"1"},
+        {"name":"FlexClipboardActionPaste","value":"2"},
+        {"name":"FlexClipboardActionDelete","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexComboButtonDrawModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexComboButtonDrawModeConstants",
+      "values": [
+        {"name":"FlexComboButtonDrawModeNormal","value":"0"},
+        {"name":"FlexComboButtonDrawModeOwnerDraw","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexComboButtonValueConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexComboButtonValueConstants",
+      "values": [
+        {"name":"FlexComboButtonValueUnpressed","value":"0"},
+        {"name":"FlexComboButtonValuePressed","value":"1"},
+        {"name":"FlexComboButtonValueDisabled","value":"2"}
+      ]
+    },
+    {
+      "name": "FlexComboCueConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexComboCueConstants",
+      "values": [
+        {"name":"FlexComboCueHidden","value":"-1"},
+        {"name":"FlexComboCueNone","value":"0"},
+        {"name":"FlexComboCueDropDown","value":"1"},
+        {"name":"FlexComboCueButton","value":"2"},
+        {"name":"FlexComboCueDisabledDropDown","value":"3"},
+        {"name":"FlexComboCueDisabledButton","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexComboDropDownReasonConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexComboDropDownReasonConstants",
+      "values": [
+        {"name":"FlexComboDropDownReasonCode","value":"0"},
+        {"name":"FlexComboDropDownReasonInitialize","value":"1"},
+        {"name":"FlexComboDropDownReasonMouse","value":"2"},
+        {"name":"FlexComboDropDownReasonKeyboard","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexComboModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexComboModeConstants",
+      "values": [
+        {"name":"FlexComboModeNone","value":"0"},
+        {"name":"FlexComboModeDropDown","value":"1"},
+        {"name":"FlexComboModeEditable","value":"2"},
+        {"name":"FlexComboModeButton","value":"3"},
+        {"name":"FlexComboModeCalendar","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexDataSourceFlags",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexDataSourceFlags",
+      "values": [
+        {"name":"FlexDataSourceUnboundFixedColumns","value":"1"},
+        {"name":"FlexDataSourceNoData","value":"2"},
+        {"name":"FlexDataSourceNoFieldNames","value":"4"},
+        {"name":"FlexDataSourceToolTipText","value":"8"},
+        {"name":"FlexDataSourceChecked","value":"16"}
+      ]
+    },
+    {
+      "name": "FlexDirectionAfterReturnConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexDirectionAfterReturnConstants",
+      "values": [
+        {"name":"FlexDirectionAfterReturnNone","value":"0"},
+        {"name":"FlexDirectionAfterReturnUp","value":"1"},
+        {"name":"FlexDirectionAfterReturnDown","value":"2"},
+        {"name":"FlexDirectionAfterReturnLeft","value":"3"},
+        {"name":"FlexDirectionAfterReturnRight","value":"4"},
+        {"name":"FlexDirectionAfterReturnEdit","value":"5"}
+      ]
+    },
+    {
+      "name": "FlexDropTargetModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexDropTargetModeConstants",
+      "values": [
+        {"name":"FlexDropTargetModeByRow","value":"0"},
+        {"name":"FlexDropTargetModeByColumn","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexEditCloseModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexEditCloseModeConstants",
+      "values": [
+        {"name":"FlexEditCloseModeCode","value":"0"},
+        {"name":"FlexEditCloseModeLostFocus","value":"1"},
+        {"name":"FlexEditCloseModeEscape","value":"2"},
+        {"name":"FlexEditCloseModeReturn","value":"3"},
+        {"name":"FlexEditCloseModeTab","value":"4"},
+        {"name":"FlexEditCloseModeShiftTab","value":"5"},
+        {"name":"FlexEditCloseModeNavigationKey","value":"6"}
+      ]
+    },
+    {
+      "name": "FlexEditReasonConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexEditReasonConstants",
+      "values": [
+        {"name":"FlexEditReasonCode","value":"0"},
+        {"name":"FlexEditReasonF2","value":"1"},
+        {"name":"FlexEditReasonSpace","value":"2"},
+        {"name":"FlexEditReasonKeyPress","value":"3"},
+        {"name":"FlexEditReasonDblClick","value":"4"},
+        {"name":"FlexEditReasonBackSpace","value":"5"},
+        {"name":"FlexEditReasonReturn","value":"6"},
+        {"name":"FlexEditReasonComboCueClick","value":"10"},
+        {"name":"FlexEditReasonComboCueDblClick","value":"11"},
+        {"name":"FlexEditReasonComboCueF4","value":"12"},
+        {"name":"FlexEditReasonComboCueAltUpDown","value":"13"}
+      ]
+    },
+    {
+      "name": "FlexEllipsisFormatConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexEllipsisFormatConstants",
+      "values": [
+        {"name":"FlexEllipsisFormatNone","value":"0"},
+        {"name":"FlexEllipsisFormatEnd","value":"1"},
+        {"name":"FlexEllipsisFormatPath","value":"2"},
+        {"name":"FlexEllipsisFormatWord","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexFillStyleConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexFillStyleConstants",
+      "values": [
+        {"name":"FlexFillStyleSingle","value":"0"},
+        {"name":"FlexFillStyleRepeat","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexFindDirectionConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexFindDirectionConstants",
+      "values": [
+        {"name":"FlexFindDirectionDown","value":"0"},
+        {"name":"FlexFindDirectionUp","value":"1"},
+        {"name":"FlexFindDirectionRight","value":"2"},
+        {"name":"FlexFindDirectionLeft","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexFindMatchConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexFindMatchConstants",
+      "values": [
+        {"name":"FlexFindMatchExact","value":"0"},
+        {"name":"FlexFindMatchPartial","value":"1"},
+        {"name":"FlexFindMatchStartsWith","value":"2"},
+        {"name":"FlexFindMatchEndsWith","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexFocusRectConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexFocusRectConstants",
+      "values": [
+        {"name":"FlexFocusRectNone","value":"0"},
+        {"name":"FlexFocusRectLight","value":"1"},
+        {"name":"FlexFocusRectHeavy","value":"2"},
+        {"name":"FlexFocusRectFlat","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexFontQualityConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexFontQualityConstants",
+      "values": [
+        {"name":"FlexFontQualityDefault","value":"0"},
+        {"name":"FlexFontQualityDraft","value":"1"},
+        {"name":"FlexFontQualityProof","value":"2"},
+        {"name":"FlexFontQualityNonAntiAliased","value":"3"},
+        {"name":"FlexFontQualityAntiAliased","value":"4"},
+        {"name":"FlexFontQualityClearType","value":"5"},
+        {"name":"FlexFontQualityClearTypeNatural","value":"6"}
+      ]
+    },
+    {
+      "name": "FlexGridLineConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexGridLineConstants",
+      "values": [
+        {"name":"FlexGridLineNone","value":"0"},
+        {"name":"FlexGridLineFlat","value":"1"},
+        {"name":"FlexGridLineInset","value":"2"},
+        {"name":"FlexGridLineRaised","value":"3"},
+        {"name":"FlexGridLineDashes","value":"4"},
+        {"name":"FlexGridLineDots","value":"5"},
+        {"name":"FlexGridLineFlatHorz","value":"6"},
+        {"name":"FlexGridLineInsetHorz","value":"7"},
+        {"name":"FlexGridLineRaisedHorz","value":"8"},
+        {"name":"FlexGridLineDashesHorz","value":"9"},
+        {"name":"FlexGridLineDotsHorz","value":"10"},
+        {"name":"FlexGridLineFlatVert","value":"11"},
+        {"name":"FlexGridLineInsetVert","value":"12"},
+        {"name":"FlexGridLineRaisedVert","value":"13"},
+        {"name":"FlexGridLineDashesVert","value":"14"},
+        {"name":"FlexGridLineDotsVert","value":"15"}
+      ]
+    },
+    {
+      "name": "FlexHighLightConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexHighLightConstants",
+      "values": [
+        {"name":"FlexHighLightNever","value":"0"},
+        {"name":"FlexHighLightAlways","value":"1"},
+        {"name":"FlexHighLightWithFocus","value":"2"},
+        {"name":"FlexHighLightAlwaysFocusRect","value":"3"}
+      ]
+    },
+    {
+      "name": "FlexHitResultConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexHitResultConstants",
+      "values": [
+        {"name":"FlexHitResultNoWhere","value":"0"},
+        {"name":"FlexHitResultCell","value":"1"},
+        {"name":"FlexHitResultDividerRowTop","value":"2"},
+        {"name":"FlexHitResultDividerRowBottom","value":"3"},
+        {"name":"FlexHitResultDividerColumnLeft","value":"4"},
+        {"name":"FlexHitResultDividerColumnRight","value":"5"},
+        {"name":"FlexHitResultDividerFrozenRowTop","value":"6"},
+        {"name":"FlexHitResultDividerFrozenRowBottom","value":"7"},
+        {"name":"FlexHitResultDividerFrozenColumnLeft","value":"8"},
+        {"name":"FlexHitResultDividerFrozenColumnRight","value":"9"},
+        {"name":"FlexHitResultComboCue","value":"10"},
+        {"name":"FlexHitResultComboCueDisabled","value":"11"},
+        {"name":"FlexHitResultCheckBox","value":"12"},
+        {"name":"FlexHitResultCheckBoxDisabled","value":"13"}
+      ]
+    },
+    {
+      "name": "FlexIMEModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexIMEModeConstants",
+      "values": [
+        {"name":"FlexIMEModeNoControl","value":"0"},
+        {"name":"FlexIMEModeOn","value":"1"},
+        {"name":"FlexIMEModeOff","value":"2"},
+        {"name":"FlexIMEModeDisable","value":"3"},
+        {"name":"FlexIMEModeHiragana","value":"4"},
+        {"name":"FlexIMEModeKatakana","value":"5"},
+        {"name":"FlexIMEModeKatakanaHalf","value":"6"},
+        {"name":"FlexIMEModeAlphaFull","value":"7"},
+        {"name":"FlexIMEModeAlpha","value":"8"},
+        {"name":"FlexIMEModeHangulFull","value":"9"},
+        {"name":"FlexIMEModeHangul","value":"10"}
+      ]
+    },
+    {
+      "name": "FlexLeftRightAlignmentConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexLeftRightAlignmentConstants",
+      "values": [
+        {"name":"FlexLeftRightAlignmentLeft","value":"0"},
+        {"name":"FlexLeftRightAlignmentRight","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexLookupConvConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexLookupConvConstants",
+      "values": [
+        {"name":"FlexLookupConvValue","value":"0"},
+        {"name":"FlexLookupConvKey","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexMergeCellsConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexMergeCellsConstants",
+      "values": [
+        {"name":"FlexMergeCellsNever","value":"0"},
+        {"name":"FlexMergeCellsFree","value":"1"},
+        {"name":"FlexMergeCellsRestrictRows","value":"2"},
+        {"name":"FlexMergeCellsRestrictColumns","value":"3"},
+        {"name":"FlexMergeCellsRestrictAll","value":"4"},
+        {"name":"FlexMergeCellsFixedOnly","value":"5"}
+      ]
+    },
+    {
+      "name": "FlexMetricConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexMetricConstants",
+      "values": [
+        {"name":"FlexMetricDividerSpacing","value":"0"},
+        {"name":"FlexMetricTextPadding","value":"1"},
+        {"name":"FlexMetricCellSpacing","value":"2"},
+        {"name":"FlexMetricScrollBarSize","value":"3"},
+        {"name":"FlexMetricCheckBoxSize","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexMimicTextBoxConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexMimicTextBoxConstants",
+      "values": [
+        {"name":"FlexMimicTextBoxOn","value":"0"},
+        {"name":"FlexMimicTextBoxOff","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexMousePointerConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexMousePointerConstants",
+      "values": [
+        {"name":"FlexMousePointerDefault","value":"0"},
+        {"name":"FlexMousePointerArrow","value":"1"},
+        {"name":"FlexMousePointerCrosshair","value":"2"},
+        {"name":"FlexMousePointerIbeam","value":"3"},
+        {"name":"FlexMousePointerHand","value":"4"},
+        {"name":"FlexMousePointerSizePointer","value":"5"},
+        {"name":"FlexMousePointerSizeNESW","value":"6"},
+        {"name":"FlexMousePointerSizeNS","value":"7"},
+        {"name":"FlexMousePointerSizeNWSE","value":"8"},
+        {"name":"FlexMousePointerSizeWE","value":"9"},
+        {"name":"FlexMousePointerUpArrow","value":"10"},
+        {"name":"FlexMousePointerHourglass","value":"11"},
+        {"name":"FlexMousePointerNoDrop","value":"12"},
+        {"name":"FlexMousePointerArrowHourglass","value":"13"},
+        {"name":"FlexMousePointerArrowQuestion","value":"14"},
+        {"name":"FlexMousePointerSizeAll","value":"15"},
+        {"name":"FlexMousePointerArrowCD","value":"16"},
+        {"name":"FlexMousePointerPin","value":"17"},
+        {"name":"FlexMousePointerPerson","value":"18"},
+        {"name":"FlexMousePointerPen","value":"19"},
+        {"name":"FlexMousePointerScrollN","value":"20"},
+        {"name":"FlexMousePointerScrollS","value":"21"},
+        {"name":"FlexMousePointerScrollE","value":"22"},
+        {"name":"FlexMousePointerScrollW","value":"23"},
+        {"name":"FlexMousePointerScrollNS","value":"24"},
+        {"name":"FlexMousePointerScrollWE","value":"25"},
+        {"name":"FlexMousePointerScrollNW","value":"26"},
+        {"name":"FlexMousePointerScrollNE","value":"27"},
+        {"name":"FlexMousePointerScrollSW","value":"28"},
+        {"name":"FlexMousePointerScrollSE","value":"29"},
+        {"name":"FlexMousePointerScrollAll","value":"30"},
+        {"name":"FlexMousePointerCustom","value":"99"}
+      ]
+    },
+    {
+      "name": "FlexOLEDropModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexOLEDropModeConstants",
+      "values": [
+        {"name":"FlexOLEDropModeNone","value":"vbOLEDropNone"},
+        {"name":"FlexOLEDropModeManual","value":"vbOLEDropManual"}
+      ]
+    },
+    {
+      "name": "FlexPictureAlignmentConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexPictureAlignmentConstants",
+      "values": [
+        {"name":"FlexPictureAlignmentLeftTop","value":"0"},
+        {"name":"FlexPictureAlignmentLeftCenter","value":"1"},
+        {"name":"FlexPictureAlignmentLeftBottom","value":"2"},
+        {"name":"FlexPictureAlignmentCenterTop","value":"3"},
+        {"name":"FlexPictureAlignmentCenterCenter","value":"4"},
+        {"name":"FlexPictureAlignmentCenterBottom","value":"5"},
+        {"name":"FlexPictureAlignmentRightTop","value":"6"},
+        {"name":"FlexPictureAlignmentRightCenter","value":"7"},
+        {"name":"FlexPictureAlignmentRightBottom","value":"8"},
+        {"name":"FlexPictureAlignmentStretch","value":"9"},
+        {"name":"FlexPictureAlignmentTile","value":"10"},
+        {"name":"FlexPictureAlignmentLeftTopNoOverlap","value":"20"},
+        {"name":"FlexPictureAlignmentLeftCenterNoOverlap","value":"21"},
+        {"name":"FlexPictureAlignmentLeftBottomNoOverlap","value":"22"},
+        {"name":"FlexPictureAlignmentRightTopNoOverlap","value":"26"},
+        {"name":"FlexPictureAlignmentRightCenterNoOverlap","value":"27"},
+        {"name":"FlexPictureAlignmentRightBottomNoOverlap","value":"28"}
+      ]
+    },
+    {
+      "name": "FlexPictureTypeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexPictureTypeConstants",
+      "values": [
+        {"name":"FlexPictureTypeColor","value":"0"},
+        {"name":"FlexPictureTypeMonochrome","value":"1"},
+        {"name":"FlexPictureTypeEnhMetafile","value":"2"}
+      ]
+    },
+    {
+      "name": "FlexRightToLeftModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexRightToLeftModeConstants",
+      "values": [
+        {"name":"FlexRightToLeftModeNoControl","value":"0"},
+        {"name":"FlexRightToLeftModeVBAME","value":"1"},
+        {"name":"FlexRightToLeftModeSystemLocale","value":"2"},
+        {"name":"FlexRightToLeftModeUserLocale","value":"3"},
+        {"name":"FlexRightToLeftModeOSLanguage","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexRowSizingModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexRowSizingModeConstants",
+      "values": [
+        {"name":"FlexRowSizingModeIndividual","value":"0"},
+        {"name":"FlexRowSizingModeAll","value":"1"},
+        {"name":"FlexRowSizingModeUniform","value":"2"}
+      ]
+    },
+    {
+      "name": "FlexScrollOrientationConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexScrollOrientationConstants",
+      "values": [
+        {"name":"FlexScrollOrientationHorizontal","value":"0"},
+        {"name":"FlexScrollOrientationVertical","value":"1"},
+        {"name":"FlexScrollOrientationBoth","value":"2"}
+      ]
+    },
+    {
+      "name": "FlexSelectionModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexSelectionModeConstants",
+      "values": [
+        {"name":"FlexSelectionModeFree","value":"0"},
+        {"name":"FlexSelectionModeByRow","value":"1"},
+        {"name":"FlexSelectionModeByColumn","value":"2"},
+        {"name":"FlexSelectionModeFreeByRow","value":"3"},
+        {"name":"FlexSelectionModeFreeByColumn","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexSortArrowConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexSortArrowConstants",
+      "values": [
+        {"name":"FlexSortArrowNone","value":"0"},
+        {"name":"FlexSortArrowAscending","value":"1"},
+        {"name":"FlexSortArrowDescending","value":"2"}
+      ]
+    },
+    {
+      "name": "FlexSortConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexSortConstants",
+      "values": [
+        {"name":"FlexSortNone","value":"0"},
+        {"name":"FlexSortGenericAscending","value":"1"},
+        {"name":"FlexSortGenericDescending","value":"2"},
+        {"name":"FlexSortNumericAscending","value":"3"},
+        {"name":"FlexSortNumericDescending","value":"4"},
+        {"name":"FlexSortStringNoCaseAscending","value":"5"},
+        {"name":"FlexSortStringNoCaseDescending","value":"6"},
+        {"name":"FlexSortStringAscending","value":"7"},
+        {"name":"FlexSortStringDescending","value":"8"},
+        {"name":"FlexSortCustom","value":"9"},
+        {"name":"FlexSortUseColSort","value":"10"},
+        {"name":"FlexSortCurrencyAscending","value":"11"},
+        {"name":"FlexSortCurrencyDescending","value":"12"},
+        {"name":"FlexSortDateAscending","value":"13"},
+        {"name":"FlexSortDateDescending","value":"14"},
+        {"name":"FlexSortCustomText","value":"15"}
+      ]
+    },
+    {
+      "name": "FlexSortModeConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexSortModeConstants",
+      "values": [
+        {"name":"FlexSortModeNormal","value":"0"},
+        {"name":"FlexSortModeTextDisplay","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexTabBehaviorConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexTabBehaviorConstants",
+      "values": [
+        {"name":"FlexTabControls","value":"0"},
+        {"name":"FlexTabCells","value":"1"},
+        {"name":"FlexTabNext","value":"2"}
+      ]
+    },
+    {
+      "name": "FlexTextStyleConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexTextStyleConstants",
+      "values": [
+        {"name":"FlexTextStyleFlat","value":"0"},
+        {"name":"FlexTextStyleRaised","value":"1"},
+        {"name":"FlexTextStyleInset","value":"2"},
+        {"name":"FlexTextStyleRaisedLight","value":"3"},
+        {"name":"FlexTextStyleInsetLight","value":"4"}
+      ]
+    },
+    {
+      "name": "FlexVisibilityConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexVisibilityConstants",
+      "values": [
+        {"name":"FlexVisibilityPartialOK","value":"0"},
+        {"name":"FlexVisibilityCompleteOnly","value":"1"}
+      ]
+    },
+    {
+      "name": "FlexWallPaperAlignmentConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexWallPaperAlignmentConstants",
+      "values": [
+        {"name":"FlexWallPaperAlignmentLeftTop","value":"0"},
+        {"name":"FlexWallPaperAlignmentLeftCenter","value":"1"},
+        {"name":"FlexWallPaperAlignmentLeftBottom","value":"2"},
+        {"name":"FlexWallPaperAlignmentCenterTop","value":"3"},
+        {"name":"FlexWallPaperAlignmentCenterCenter","value":"4"},
+        {"name":"FlexWallPaperAlignmentCenterBottom","value":"5"},
+        {"name":"FlexWallPaperAlignmentRightTop","value":"6"},
+        {"name":"FlexWallPaperAlignmentRightCenter","value":"7"},
+        {"name":"FlexWallPaperAlignmentRightBottom","value":"8"},
+        {"name":"FlexWallPaperAlignmentStretch","value":"9"},
+        {"name":"FlexWallPaperAlignmentTile","value":"10"}
+      ]
+    },
+    {
+      "name": "FlexWordWrapOptions",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexWordWrapOptions",
+      "values": [
+        {"name":"FlexWordWrapNone","value":"0"},
+        {"name":"FlexWordBreak","value":"1"},
+        {"name":"FlexSingleLine","value":"2"},
+        {"name":"FlexEndEllipsis","value":"3"},
+        {"name":"FlexPathEllipsis","value":"4"},
+        {"name":"FlexWordEllipsis","value":"5"},
+        {"name":"FlexWordBreakEndEllipsis","value":"6"},
+        {"name":"FlexWordBreakPathEllipsis","value":"7"},
+        {"name":"FlexWordBreakWordEllipsis","value":"8"},
+        {"name":"FlexSingleLineEndEllipsis","value":"9"},
+        {"name":"FlexSingleLinePathEllipsis","value":"10"},
+        {"name":"FlexSingleLineWordEllipsis","value":"11"}
+      ]
+    },
+    {
+      "name": "FlexWrapCellBehaviorConstants",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Public Enum FlexWrapCellBehaviorConstants",
+      "values": [
+        {"name":"FlexWrapNone","value":"0"},
+        {"name":"FlexWrapRow","value":"1"},
+        {"name":"FlexWrapGrid","value":"2"}
+      ]
+    },
+    {
+      "name": "LongPtr",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Enum LongPtr",
+      "values": [
+        {"name":"_"}
+      ]
+    },
+    {
+      "name": "MONITORINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type MONITORINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"RCMonitor","vis":"public","signature":"RCMonitor As RECT"},
+        {"name":"RCWork","vis":"public","signature":"RCWork As RECT"},
+        {"name":"dwFlags","vis":"public","signature":"dwFlags As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "NMCUSTOMDRAW",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type NMCUSTOMDRAW",
+      "fields": [
+        {"name":"hdr","vis":"public","signature":"hdr As NMHDR"},
+        {"name":"dwDrawStage","vis":"public","signature":"dwDrawStage As Long"},
+        {"name":"hDC","vis":"public","signature":"hDC As LongPtr"},
+        {"name":"RC","vis":"public","signature":"RC As RECT"},
+        {"name":"dwItemSpec","vis":"public","signature":"dwItemSpec As LongPtr"},
+        {"name":"uItemState","vis":"public","signature":"uItemState As Long"},
+        {"name":"lItemlParam","vis":"public","signature":"lItemlParam As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "NMHDR",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type NMHDR",
+      "fields": [
+        {"name":"hWndFrom","vis":"public","signature":"hWndFrom As LongPtr"},
+        {"name":"IDFrom","vis":"public","signature":"IDFrom As LongPtr"},
+        {"name":"Code","vis":"public","signature":"Code As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "NMSELCHANGE",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type NMSELCHANGE",
+      "fields": [
+        {"name":"hdr","vis":"public","signature":"hdr As NMHDR"},
+        {"name":"STSelStart","vis":"public","signature":"STSelStart As SYSTEMTIME"},
+        {"name":"STSelEnd","vis":"public","signature":"STSelEnd As SYSTEMTIME"}
+      ],
+      "members": []
+    },
+    {
+      "name": "NMTTCUSTOMDRAW",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type NMTTCUSTOMDRAW",
+      "fields": [
+        {"name":"NMCD","vis":"public","signature":"NMCD As NMCUSTOMDRAW"},
+        {"name":"uDrawFlags","vis":"public","signature":"uDrawFlags As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "NMTTDISPINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type NMTTDISPINFO",
+      "fields": [
+        {"name":"hdr","vis":"public","signature":"hdr As NMHDR"},
+        {"name":"lpszText","vis":"public","signature":"lpszText As LongPtr"},
+        {"name":"szText","vis":"public","signature":"szText(0 To ((80 * 2) - 1)) As Byte"},
+        {"name":"hInst","vis":"public","signature":"hInst As LongPtr"},
+        {"name":"uFlags","vis":"public","signature":"uFlags As Long"},
+        {"name":"lParam","vis":"public","signature":"lParam As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "PAINTSTRUCT",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type PAINTSTRUCT",
+      "fields": [
+        {"name":"hDC","vis":"public","signature":"hDC As LongPtr"},
+        {"name":"fErase","vis":"public","signature":"fErase As Long"},
+        {"name":"RCPaint","vis":"public","signature":"RCPaint As RECT"},
+        {"name":"fRestore","vis":"public","signature":"fRestore As Long"},
+        {"name":"fIncUpdate","vis":"public","signature":"fIncUpdate As Long"},
+        {"name":"RGBReserved","vis":"public","signature":"RGBReserved(0 To 31) As Byte"}
+      ],
+      "members": []
+    },
+    {
+      "name": "POINTAPI",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type POINTAPI",
+      "fields": [
+        {"name":"X","vis":"public","signature":"X As Long"},
+        {"name":"Y","vis":"public","signature":"Y As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "RECT",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type RECT",
+      "fields": [
+        {"name":"Left","vis":"public","signature":"Left As Long"},
+        {"name":"Top","vis":"public","signature":"Top As Long"},
+        {"name":"Right","vis":"public","signature":"Right As Long"},
+        {"name":"Bottom","vis":"public","signature":"Bottom As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "SCROLLINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type SCROLLINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"fMask","vis":"public","signature":"fMask As Long"},
+        {"name":"nMin","vis":"public","signature":"nMin As Long"},
+        {"name":"nMax","vis":"public","signature":"nMax As Long"},
+        {"name":"nPage","vis":"public","signature":"nPage As Long"},
+        {"name":"nPos","vis":"public","signature":"nPos As Long"},
+        {"name":"nTrackPos","vis":"public","signature":"nTrackPos As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "SIZEAPI",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type SIZEAPI",
+      "fields": [
+        {"name":"CX","vis":"public","signature":"CX As Long"},
+        {"name":"CY","vis":"public","signature":"CY As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "SYSTEMTIME",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type SYSTEMTIME",
+      "fields": [
+        {"name":"wYear","vis":"public","signature":"wYear As Integer"},
+        {"name":"wMonth","vis":"public","signature":"wMonth As Integer"},
+        {"name":"wDayOfWeek","vis":"public","signature":"wDayOfWeek As Integer"},
+        {"name":"wDay","vis":"public","signature":"wDay As Integer"},
+        {"name":"wHour","vis":"public","signature":"wHour As Integer"},
+        {"name":"wMinute","vis":"public","signature":"wMinute As Integer"},
+        {"name":"wSecond","vis":"public","signature":"wSecond As Integer"},
+        {"name":"wMilliseconds","vis":"public","signature":"wMilliseconds As Integer"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCELL",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCELL",
+      "fields": [
+        {"name":"Text","vis":"public","signature":"Text As String"},
+        {"name":"lpFmtg","vis":"public","signature":"lpFmtg As LongPtr"},
+        {"name":"lpTag","vis":"public","signature":"lpTag As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCELLFMTG",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCELLFMTG",
+      "fields": [
+        {"name":"TextStyle","vis":"public","signature":"TextStyle As Integer"},
+        {"name":"Alignment","vis":"public","signature":"Alignment As Integer"},
+        {"name":"Picture","vis":"public","signature":"Picture As IPictureDisp"},
+        {"name":"PictureRenderFlag","vis":"public","signature":"PictureRenderFlag As Integer"},
+        {"name":"PictureAlignment","vis":"public","signature":"PictureAlignment As Integer"},
+        {"name":"BackColor","vis":"public","signature":"BackColor As Long"},
+        {"name":"ForeColor","vis":"public","signature":"ForeColor As Long"},
+        {"name":"ToolTipText","vis":"public","signature":"ToolTipText As String"},
+        {"name":"ComboCue","vis":"public","signature":"ComboCue As Long"},
+        {"name":"Checked","vis":"public","signature":"Checked As Integer"},
+        {"name":"FloodPercent","vis":"public","signature":"FloodPercent As Integer"},
+        {"name":"FloodColor","vis":"public","signature":"FloodColor As Long"},
+        {"name":"FontName","vis":"public","signature":"FontName As String"},
+        {"name":"FontSize","vis":"public","signature":"FontSize As Single"},
+        {"name":"FontStyle","vis":"public","signature":"FontStyle As Integer"},
+        {"name":"FontCharset","vis":"public","signature":"FontCharset As Integer"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCELLRANGE",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCELLRANGE",
+      "fields": [
+        {"name":"LeftCol","vis":"public","signature":"LeftCol As Long"},
+        {"name":"TopRow","vis":"public","signature":"TopRow As Long"},
+        {"name":"RightCol","vis":"public","signature":"RightCol As Long"},
+        {"name":"BottomRow","vis":"public","signature":"BottomRow As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCOLINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCOLINFO",
+      "fields": [
+        {"name":"Width","vis":"public","signature":"Width As Long"},
+        {"name":"Data","vis":"public","signature":"Data As LongPtr"},
+        {"name":"State","vis":"public","signature":"State As Long"},
+        {"name":"Key","vis":"public","signature":"Key As String"},
+        {"name":"Alignment","vis":"public","signature":"Alignment As FlexAlignmentConstants"},
+        {"name":"FixedAlignment","vis":"public","signature":"FixedAlignment As FlexAlignmentConstants"},
+        {"name":"ImageList","vis":"public","signature":"ImageList As TIMAGELIST"},
+        {"name":"WordWrapOption","vis":"public","signature":"WordWrapOption As FlexWordWrapOptions"},
+        {"name":"WordWrapOptionFixed","vis":"public","signature":"WordWrapOptionFixed As FlexWordWrapOptions"},
+        {"name":"MimicTextBox","vis":"public","signature":"MimicTextBox As FlexMimicTextBoxConstants"},
+        {"name":"MimicTextBoxFixed","vis":"public","signature":"MimicTextBoxFixed As FlexMimicTextBoxConstants"},
+        {"name":"Sort","vis":"public","signature":"Sort As FlexSortConstants"},
+        {"name":"SortMode","vis":"public","signature":"SortMode As FlexSortModeConstants"},
+        {"name":"SortArrow","vis":"public","signature":"SortArrow As FlexSortArrowConstants"},
+        {"name":"SortArrowAlignment","vis":"public","signature":"SortArrowAlignment As FlexLeftRightAlignmentConstants"},
+        {"name":"SortArrowColor","vis":"public","signature":"SortArrowColor As Long"},
+        {"name":"ComboCue","vis":"public","signature":"ComboCue As FlexComboCueConstants"},
+        {"name":"ComboMode","vis":"public","signature":"ComboMode As FlexComboModeConstants"},
+        {"name":"ComboButtonPicture","vis":"public","signature":"ComboButtonPicture As IPictureDisp"},
+        {"name":"ComboButtonPictureRenderFlag","vis":"public","signature":"ComboButtonPictureRenderFlag As Integer"},
+        {"name":"ComboButtonAlignment","vis":"public","signature":"ComboButtonAlignment As Integer"},
+        {"name":"ComboButtonWidth","vis":"public","signature":"ComboButtonWidth As Long"},
+        {"name":"ComboItems","vis":"public","signature":"ComboItems As String"},
+        {"name":"ComboHeader","vis":"public","signature":"ComboHeader As String"},
+        {"name":"ComboBoundColumn","vis":"public","signature":"ComboBoundColumn As Long"},
+        {"name":"CheckBoxAlignment","vis":"public","signature":"CheckBoxAlignment As FlexCheckBoxAlignmentConstants"},
+        {"name":"FixedCheckBoxAlignment","vis":"public","signature":"FixedCheckBoxAlignment As FlexCheckBoxAlignmentConstants"},
+        {"name":"Lookup","vis":"public","signature":"Lookup As TLOOKUP"},
+        {"name":"Format","vis":"public","signature":"Format As String"},
+        {"name":"FixedFormat","vis":"public","signature":"FixedFormat As String"},
+        {"name":"DataType","vis":"public","signature":"DataType As Integer"},
+        {"name":"NumericPrecision","vis":"public","signature":"NumericPrecision As Byte"},
+        {"name":"NumericScale","vis":"public","signature":"NumericScale As Byte"},
+        {"name":"DataCapacity","vis":"public","signature":"DataCapacity As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCOLS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCOLS",
+      "fields": [
+        {"name":"Cols","vis":"public","signature":"Cols() As TCELL"},
+        {"name":"RowInfo","vis":"public","signature":"RowInfo As TROWINFO"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCOMBOMULTICOLUMN",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCOMBOMULTICOLUMN",
+      "fields": [
+        {"name":"MaxCount","vis":"public","signature":"MaxCount As Long"},
+        {"name":"MaxWidths","vis":"public","signature":"MaxWidths() As Long"},
+        {"name":"Items","vis":"public","signature":"Items() As TCOMBOMULTICOLUMNITEM"},
+        {"name":"Header","vis":"public","signature":"Header As TCOMBOMULTICOLUMNITEM"},
+        {"name":"BoundColumn","vis":"public","signature":"BoundColumn As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TCOMBOMULTICOLUMNITEM",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TCOMBOMULTICOLUMNITEM",
+      "fields": [
+        {"name":"Count","vis":"public","signature":"Count As Long"},
+        {"name":"Column","vis":"public","signature":"Column() As String"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TDRAWINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TDRAWINFO",
+      "fields": [
+        {"name":"SelRange","vis":"public","signature":"SelRange As TCELLRANGE"},
+        {"name":"GridLinePoints","vis":"public","signature":"GridLinePoints(0 To 5) As POINTAPI"},
+        {"name":"GridLineOffsets","vis":"public","signature":"GridLineOffsets As TGRIDLINEOFFSETS"},
+        {"name":"Flags","vis":"public","signature":"Flags As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TEXTMETRIC",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TEXTMETRIC",
+      "fields": [
+        {"name":"TMHeight","vis":"public","signature":"TMHeight As Long"},
+        {"name":"TMAscent","vis":"public","signature":"TMAscent As Long"},
+        {"name":"TMDescent","vis":"public","signature":"TMDescent As Long"},
+        {"name":"TMInternalLeading","vis":"public","signature":"TMInternalLeading As Long"},
+        {"name":"TMExternalLeading","vis":"public","signature":"TMExternalLeading As Long"},
+        {"name":"TMAveCharWidth","vis":"public","signature":"TMAveCharWidth As Long"},
+        {"name":"TMMaxCharWidth","vis":"public","signature":"TMMaxCharWidth As Long"},
+        {"name":"TMWeight","vis":"public","signature":"TMWeight As Long"},
+        {"name":"TMOverhang","vis":"public","signature":"TMOverhang As Long"},
+        {"name":"TMDigitizedAspectX","vis":"public","signature":"TMDigitizedAspectX As Long"},
+        {"name":"TMDigitizedAspectY","vis":"public","signature":"TMDigitizedAspectY As Long"},
+        {"name":"TMFirstChar","vis":"public","signature":"TMFirstChar As Integer"},
+        {"name":"TMLastChar","vis":"public","signature":"TMLastChar As Integer"},
+        {"name":"TMDefaultChar","vis":"public","signature":"TMDefaultChar As Integer"},
+        {"name":"TMBreakChar","vis":"public","signature":"TMBreakChar As Integer"},
+        {"name":"TMItalic","vis":"public","signature":"TMItalic As Byte"},
+        {"name":"TMUnderlined","vis":"public","signature":"TMUnderlined As Byte"},
+        {"name":"TMStruckOut","vis":"public","signature":"TMStruckOut As Byte"},
+        {"name":"TMPitchAndFamily","vis":"public","signature":"TMPitchAndFamily As Byte"},
+        {"name":"TMCharset","vis":"public","signature":"TMCharset As Byte"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TFORMATRANGE",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TFORMATRANGE",
+      "fields": [
+        {"name":"hDC","vis":"public","signature":"hDC As LongPtr"},
+        {"name":"hDCTarget","vis":"public","signature":"hDCTarget As LongPtr"},
+        {"name":"RC","vis":"public","signature":"RC As RECT"},
+        {"name":"RCPage","vis":"public","signature":"RCPage As RECT"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TGRIDLINEOFFSETS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TGRIDLINEOFFSETS",
+      "fields": [
+        {"name":"LeftTop","vis":"public","signature":"LeftTop As SIZEAPI"},
+        {"name":"RightBottom","vis":"public","signature":"RightBottom As SIZEAPI"}
+      ],
+      "members": []
+    },
+    {
+      "name": "THITTESTINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type THITTESTINFO",
+      "fields": [
+        {"name":"PT","vis":"public","signature":"PT As POINTAPI"},
+        {"name":"HitRow","vis":"public","signature":"HitRow As Long"},
+        {"name":"HitCol","vis":"public","signature":"HitCol As Long"},
+        {"name":"HitRowDivider","vis":"public","signature":"HitRowDivider As Long"},
+        {"name":"HitColDivider","vis":"public","signature":"HitColDivider As Long"},
+        {"name":"HitResult","vis":"public","signature":"HitResult As FlexHitResultConstants"},
+        {"name":"MouseRow","vis":"public","signature":"MouseRow As Long"},
+        {"name":"MouseCol","vis":"public","signature":"MouseCol As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TIMAGELIST",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TIMAGELIST",
+      "fields": [
+        {"name":"ObjectPointer","vis":"public","signature":"ObjectPointer As LongPtr"},
+        {"name":"Handle","vis":"public","signature":"Handle As LongPtr"},
+        {"name":"Size","vis":"public","signature":"Size As SIZEAPI"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TINCREMENTALSEARCH",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TINCREMENTALSEARCH",
+      "fields": [
+        {"name":"SearchString","vis":"public","signature":"SearchString As String"},
+        {"name":"Row","vis":"public","signature":"Row As Long"},
+        {"name":"Col","vis":"public","signature":"Col As Long"},
+        {"name":"CaseSensitive","vis":"public","signature":"CaseSensitive As Boolean"},
+        {"name":"NoWrap","vis":"public","signature":"NoWrap As Boolean"},
+        {"name":"Direction","vis":"public","signature":"Direction As FlexFindDirectionConstants"},
+        {"name":"CancellationPending","vis":"public","signature":"CancellationPending As Boolean"},
+        {"name":"NoLostFocus","vis":"public","signature":"NoLostFocus As Boolean"},
+        {"name":"Time","vis":"public","signature":"Time As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TINDIRECTCELLREF",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TINDIRECTCELLREF",
+      "fields": [
+        {"name":"InProc","vis":"public","signature":"InProc As Boolean"},
+        {"name":"SetRCP","vis":"public","signature":"SetRCP As Boolean"},
+        {"name":"RCP","vis":"public","signature":"RCP As TROWCOLPARAMS"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TINDIRECTMERGESORTDATA",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TINDIRECTMERGESORTDATA",
+      "fields": [
+        {"name":"Row","vis":"public","signature":"Row As Long"},
+        {"name":"TextDisplay","vis":"public","signature":"TextDisplay As String"},
+        {"name":"Swap","vis":"public","signature":"Swap As TCOLS"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TLABELINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TLABELINFO",
+      "fields": [
+        {"name":"Flags","vis":"public","signature":"Flags As Long"},
+        {"name":"RC","vis":"public","signature":"RC As RECT"},
+        {"name":"DrawFlags","vis":"public","signature":"DrawFlags As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TLOCALESIGNATURE",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TLOCALESIGNATURE",
+      "fields": [
+        {"name":"lsUsb","vis":"public","signature":"lsUsb(0 To 15) As Byte"},
+        {"name":"lsCsbDefault","vis":"public","signature":"lsCsbDefault(0 To 1) As Long"},
+        {"name":"lsCsbSupported","vis":"public","signature":"lsCsbSupported(0 To 1) As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TLOOKUP",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TLOOKUP",
+      "fields": [
+        {"name":"Property","vis":"public","signature":"Property As String"},
+        {"name":"Count","vis":"public","signature":"Count As Long"},
+        {"name":"Items","vis":"public","signature":"Items() As TLOOKUPITEM"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TLOOKUPITEM",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TLOOKUPITEM",
+      "fields": [
+        {"name":"Key","vis":"public","signature":"Key As String"},
+        {"name":"Value","vis":"public","signature":"Value As String"},
+        {"name":"Hash","vis":"public","signature":"Hash As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TLPCELLFMTG",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TLPCELLFMTG",
+      "fields": [
+        {"name":"TextStyle","vis":"public","signature":"TextStyle As Integer"},
+        {"name":"Alignment","vis":"public","signature":"Alignment As Integer"},
+        {"name":"lpPicture","vis":"public","signature":"lpPicture As LongPtr"},
+        {"name":"PictureRenderFlag","vis":"public","signature":"PictureRenderFlag As Integer"},
+        {"name":"PictureAlignment","vis":"public","signature":"PictureAlignment As Integer"},
+        {"name":"BackColor","vis":"public","signature":"BackColor As Long"},
+        {"name":"ForeColor","vis":"public","signature":"ForeColor As Long"},
+        {"name":"lpToolTipText","vis":"public","signature":"lpToolTipText As LongPtr"},
+        {"name":"ComboCue","vis":"public","signature":"ComboCue As Long"},
+        {"name":"Checked","vis":"public","signature":"Checked As Integer"},
+        {"name":"FloodPercent","vis":"public","signature":"FloodPercent As Integer"},
+        {"name":"FloodColor","vis":"public","signature":"FloodColor As Long"},
+        {"name":"lpFontName","vis":"public","signature":"lpFontName As LongPtr"},
+        {"name":"FontSize","vis":"public","signature":"FontSize As Single"},
+        {"name":"FontStyle","vis":"public","signature":"FontStyle As Integer"},
+        {"name":"FontCharset","vis":"public","signature":"FontCharset As Integer"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TMERGEDRAWCOLINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TMERGEDRAWCOLINFO",
+      "fields": [
+        {"name":"RowOffset","vis":"public","signature":"RowOffset As Long"},
+        {"name":"Height","vis":"public","signature":"Height As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TMERGEDRAWINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TMERGEDRAWINFO",
+      "fields": [
+        {"name":"Row","vis":"public","signature":"Row As TMERGEDRAWROWINFO"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TMERGEDRAWROWINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TMERGEDRAWROWINFO",
+      "fields": [
+        {"name":"ColOffset","vis":"public","signature":"ColOffset As Long"},
+        {"name":"Width","vis":"public","signature":"Width As Long"},
+        {"name":"Cols","vis":"public","signature":"Cols() As TMERGEDRAWCOLINFO"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TMSG",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TMSG",
+      "fields": [
+        {"name":"hWnd","vis":"public","signature":"hWnd As LongPtr"},
+        {"name":"Message","vis":"public","signature":"Message As Long"},
+        {"name":"wParam","vis":"public","signature":"wParam As LongPtr"},
+        {"name":"lParam","vis":"public","signature":"lParam As LongPtr"},
+        {"name":"Time","vis":"public","signature":"Time As Long"},
+        {"name":"PT","vis":"public","signature":"PT As POINTAPI"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TOOLINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TOOLINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"uFlags","vis":"public","signature":"uFlags As Long"},
+        {"name":"hWnd","vis":"public","signature":"hWnd As LongPtr"},
+        {"name":"uId","vis":"public","signature":"uId As LongPtr"},
+        {"name":"RC","vis":"public","signature":"RC As RECT"},
+        {"name":"hInst","vis":"public","signature":"hInst As LongPtr"},
+        {"name":"lpszText","vis":"public","signature":"lpszText As LongPtr"},
+        {"name":"lParam","vis":"public","signature":"lParam As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TPIXELMETRICS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TPIXELMETRICS",
+      "fields": [
+        {"name":"DividerSpacing","vis":"public","signature":"DividerSpacing As SIZEAPI"},
+        {"name":"TextPadding","vis":"public","signature":"TextPadding As SIZEAPI"},
+        {"name":"CellSpacing","vis":"public","signature":"CellSpacing As SIZEAPI"},
+        {"name":"ScrollBarSize","vis":"public","signature":"ScrollBarSize As Long"},
+        {"name":"CheckBoxSize","vis":"public","signature":"CheckBoxSize As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TRACKMOUSEEVENTSTRUCT",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TRACKMOUSEEVENTSTRUCT",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"dwFlags","vis":"public","signature":"dwFlags As Long"},
+        {"name":"hWndTrack","vis":"public","signature":"hWndTrack As LongPtr"},
+        {"name":"dwHoverTime","vis":"public","signature":"dwHoverTime As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TROWCOLPARAMS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TROWCOLPARAMS",
+      "fields": [
+        {"name":"Mask","vis":"public","signature":"Mask As Long"},
+        {"name":"Flags","vis":"public","signature":"Flags As Long"},
+        {"name":"Message","vis":"public","signature":"Message As Long"},
+        {"name":"Row","vis":"public","signature":"Row As Long"},
+        {"name":"Col","vis":"public","signature":"Col As Long"},
+        {"name":"RowSel","vis":"public","signature":"RowSel As Long"},
+        {"name":"ColSel","vis":"public","signature":"ColSel As Long"},
+        {"name":"TopRow","vis":"public","signature":"TopRow As Long"},
+        {"name":"LeftCol","vis":"public","signature":"LeftCol As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TROWINFO",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TROWINFO",
+      "fields": [
+        {"name":"Height","vis":"public","signature":"Height As Long"},
+        {"name":"Data","vis":"public","signature":"Data As LongPtr"},
+        {"name":"State","vis":"public","signature":"State As Long"},
+        {"name":"ID","vis":"public","signature":"ID As Currency"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TROWS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TROWS",
+      "fields": [
+        {"name":"Rows","vis":"public","signature":"Rows() As TCOLS"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TSORTARROWMETRICS",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TSORTARROWMETRICS",
+      "fields": [
+        {"name":"CalcSize","vis":"public","signature":"CalcSize As SIZEAPI"},
+        {"name":"DrawSize","vis":"public","signature":"DrawSize As SIZEAPI"},
+        {"name":"ClientSize","vis":"public","signature":"ClientSize As SIZEAPI"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TTEXTINDENT",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TTEXTINDENT",
+      "fields": [
+        {"name":"Left","vis":"public","signature":"Left As Long"},
+        {"name":"Right","vis":"public","signature":"Right As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TUNDOREDOENTRY",
+      "kind": "type",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Type TUNDOREDOENTRY",
+      "fields": [
+        {"name":"OldString","vis":"public","signature":"OldString As String"},
+        {"name":"NewString","vis":"public","signature":"NewString As String"},
+        {"name":"Clip","vis":"public","signature":"Clip As Boolean"},
+        {"name":"ClearClip","vis":"public","signature":"ClearClip As Boolean"},
+        {"name":"Row","vis":"public","signature":"Row As Long"},
+        {"name":"Col","vis":"public","signature":"Col As Long"},
+        {"name":"RowSel","vis":"public","signature":"RowSel As Long"},
+        {"name":"ColSel","vis":"public","signature":"ColSel As Long"},
+        {"name":"MergedRange","vis":"public","signature":"MergedRange As TCELLRANGE"}
+      ],
+      "members": []
+    },
+    {
+      "name": "UxThemeButtonParts",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Enum UxThemeButtonParts",
+      "values": [
+        {"name":"BP_PUSHBUTTON","value":"1"},
+        {"name":"BP_CHECKBOX","value":"3"}
+      ]
+    },
+    {
+      "name": "UxThemeButtonStates",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Enum UxThemeButtonStates",
+      "values": [
+        {"name":"PBS_NORMAL","value":"1"},
+        {"name":"PBS_HOT","value":"2"},
+        {"name":"PBS_PRESSED","value":"3"},
+        {"name":"PBS_DISABLED","value":"4"}
+      ]
+    },
+    {
+      "name": "UxThemeCheckBoxStates",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Enum UxThemeCheckBoxStates",
+      "values": [
+        {"name":"CBS_UNCHECKEDNORMAL","value":"1"},
+        {"name":"CBS_UNCHECKEDHOT","value":"2"},
+        {"name":"CBS_UNCHECKEDPRESSED","value":"3"},
+        {"name":"CBS_UNCHECKEDDISABLED","value":"4"},
+        {"name":"CBS_CHECKEDNORMAL","value":"5"},
+        {"name":"CBS_CHECKEDHOT","value":"6"},
+        {"name":"CBS_CHECKEDPRESSED","value":"7"},
+        {"name":"CBS_CHECKEDDISABLED","value":"8"},
+        {"name":"CBS_MIXEDNORMAL","value":"9"},
+        {"name":"CBS_MIXEDHOT","value":"10"},
+        {"name":"CBS_MIXEDPRESSED","value":"11"},
+        {"name":"CBS_MIXEDDISABLED","value":"12"}
+      ]
+    },
+    {
+      "name": "UxThemeComboBoxParts",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Enum UxThemeComboBoxParts",
+      "values": [
+        {"name":"CP_DROPDOWNBUTTON","value":"1"}
+      ]
+    },
+    {
+      "name": "UxThemeComboBoxStates",
+      "kind": "enum",
+      "in": "VBFlexGrid",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGrid.ctl.twin",
+      "signature": "Private Enum UxThemeComboBoxStates",
+      "values": [
+        {"name":"CBXS_NORMAL","value":"1"},
+        {"name":"CBXS_HOT","value":"2"},
+        {"name":"CBXS_PRESSED","value":"3"},
+        {"name":"CBXS_DISABLED","value":"4"}
+      ]
+    },
+    {
+      "name": "VBFlexGridBase",
+      "kind": "module",
+      "vis": "public",
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Module VBFlexGridBase",
+      "members": [
+        {"name":"CS_DBLCLKS","kind":"const","vis":"private","signature":"Private Const CS_DBLCLKS As Long = &H8"},
+        {"name":"CS_DROPSHADOW","kind":"const","vis":"private","signature":"Private Const CS_DROPSHADOW As Long = &H20000"},
+        {"name":"CallNextHookEx","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"(ImplementPreTranslateMsg = True) And VBA7","signature":"Private Declare PtrSafe Function CallNextHookEx Lib \"user32\" (ByVal hHook As LongPtr, ByVal nCode As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"(ImplementPreTranslateMsg = True) And Not (VBA7)","signature":"Private Declare Function CallNextHookEx Lib \"user32\" (ByVal hHook As Long, ByVal nCode As Long, ByVal wParam As Long, ByVal lParam As Long) As Long","returnType":"Long"}]},
+        {"name":"CopyIcon","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CopyIcon Lib \"user32\" (ByVal hIcon As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CopyIcon Lib \"user32\" (ByVal hIcon As Long) As Long","returnType":"Long"}]},
+        {"name":"CopyMemory","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)"}]},
+        {"name":"CreateBitmapIndirect","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateBitmapIndirect Lib \"gdi32\" (ByRef lpBitmap As BITMAP) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateBitmapIndirect Lib \"gdi32\" (ByRef lpBitmap As BITMAP) As Long","returnType":"Long"}]},
+        {"name":"CreatePatternBrush","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreatePatternBrush Lib \"gdi32\" (ByVal hBitmap As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreatePatternBrush Lib \"gdi32\" (ByVal hBitmap As Long) As Long","returnType":"Long"}]},
+        {"name":"CreateWindowEx","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CreateWindowEx Lib \"user32\" Alias \"CreateWindowExW\" (ByVal dwExStyle As Long, ByVal lpClassName As LongPtr, ByVal lpWindowName As LongPtr, ByVal dwStyle As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As LongPtr, ByVal hMenu As LongPtr, ByVal hInstance As LongPtr, ByRef lpParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CreateWindowEx Lib \"user32\" Alias \"CreateWindowExW\" (ByVal dwExStyle As Long, ByVal lpClassName As Long, ByVal lpWindowName As Long, ByVal dwStyle As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, ByRef lpParam As Any) As Long","returnType":"Long"}]},
+        {"name":"DefSubclassProc","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DefSubclassProc Lib \"comctl32\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function DefSubclassProc Lib \"comctl32\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long","returnType":"Long"}]},
+        {"name":"DefSubclassProcW2K","kind":"function","vis":"private","declare":true,"signature":"Private Declare Function DefSubclassProcW2K Lib \"comctl32\" Alias \"#413\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long","returnType":"Long"},
+        {"name":"DefWindowProc","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DefWindowProc Lib \"user32\" Alias \"DefWindowProcW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function DefWindowProc Lib \"user32\" Alias \"DefWindowProcW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long","returnType":"Long"}]},
+        {"name":"DeleteObject","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DeleteObject Lib \"gdi32\" (ByVal hObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DeleteObject Lib \"gdi32\" (ByVal hObject As Long) As Long"}]},
+        {"name":"DestroyIcon","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DestroyIcon Lib \"user32\" (ByVal hIcon As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DestroyIcon Lib \"user32\" (ByVal hIcon As Long) As Long"}]},
+        {"name":"DestroyWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DestroyWindow Lib \"user32\" (ByVal hWnd As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DestroyWindow Lib \"user32\" (ByVal hWnd As Long) As Long"}]},
+        {"name":"DoReaderMode","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub DoReaderMode Lib \"comctl32\" Alias \"#383\" (ByRef lpRMI As READERMODEINFO)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub DoReaderMode Lib \"comctl32\" Alias \"#383\" (ByRef lpRMI As READERMODEINFO)"}]},
+        {"name":"DrawIconEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DrawIconEx Lib \"user32\" (ByVal hDC As LongPtr, ByVal XLeft As Long, ByVal YTop As Long, ByVal hIcon As LongPtr, ByVal CXWidth As Long, ByVal CYWidth As Long, ByVal istepIfAniCur As Long, ByVal hbrFlickerFreeDraw As LongPtr, ByVal diFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DrawIconEx Lib \"user32\" (ByVal hDC As Long, ByVal XLeft As Long, ByVal YTop As Long, ByVal hIcon As Long, ByVal CXWidth As Long, ByVal CYWidth As Long, ByVal istepIfAniCur As Long, ByVal hbrFlickerFreeDraw As Long, ByVal diFlags As Long) As Long"}]},
+        {"name":"ERROR_CLASS_ALREADY_EXISTS","kind":"const","vis":"private","signature":"Private Const ERROR_CLASS_ALREADY_EXISTS As Long = 1410"},
+        {"name":"FlexClassAtom","kind":"field","vis":"private","signature":"Private FlexClassAtom As Integer"},
+        {"name":"FlexComboCalendarClassAtom","kind":"field","vis":"private","signature":"Private FlexComboCalendarClassAtom As Integer"},
+        {"name":"FlexComboCalendarRefCount","kind":"field","vis":"private","signature":"Private FlexComboCalendarRefCount As Long"},
+        {"name":"FlexComboCalendarRegisterClass","kind":"sub","vis":"public","signature":"Public Sub FlexComboCalendarRegisterClass()"},
+        {"name":"FlexComboCalendarReleaseClass","kind":"sub","vis":"public","signature":"Public Sub FlexComboCalendarReleaseClass()"},
+        {"name":"FlexDefaultProc","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function FlexDefaultProc(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function FlexDefaultProc(ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long","returnType":"Long"}]},
+        {"name":"FlexDoReaderMode","kind":"sub","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Sub FlexDoReaderMode(ByVal hWnd As LongPtr, ByVal ScrollBars As Integer, ByVal wParam As LongPtr, ByVal lParam As LongPtr)"},{"cond":"Not (VBA7)","signature":"Public Sub FlexDoReaderMode(ByVal hWnd As Long, ByVal ScrollBars As Integer, ByVal wParam As Long, ByVal lParam As Long)"}]},
+        {"name":"FlexGetDragCursor","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function FlexGetDragCursor(ByVal IDC As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function FlexGetDragCursor(ByVal IDC As Long) As Long","returnType":"Long"}]},
+        {"name":"FlexGetSplitterBrush","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function FlexGetSplitterBrush() As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function FlexGetSplitterBrush() As Long","returnType":"Long"}]},
+        {"name":"FlexInitCC","kind":"sub","vis":"public","signature":"Public Sub FlexInitCC(ByVal ICC As Long)"},
+        {"name":"FlexLoadShellMod","kind":"sub","vis":"public","signature":"Public Sub FlexLoadShellMod()"},
+        {"name":"FlexObjAddRef","kind":"function","vis":"public","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Declare PtrSafe Function FlexObjAddRef Lib \"msvbvm60.dll\" Alias \"__vbaObjAddref\" (ByVal lpObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Declare Function FlexObjAddRef Lib \"msvbvm60.dll\" Alias \"__vbaObjAddref\" (ByVal lpObject As Long) As Long"}]},
+        {"name":"FlexObjSet","kind":"function","vis":"public","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Declare PtrSafe Function FlexObjSet Lib \"msvbvm60.dll\" Alias \"__vbaObjSet\" (ByRef Destination As Any, ByVal lpObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Declare Function FlexObjSet Lib \"msvbvm60.dll\" Alias \"__vbaObjSet\" (ByRef Destination As Any, ByVal lpObject As Long) As Long"}]},
+        {"name":"FlexObjSetAddRef","kind":"function","vis":"public","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Declare PtrSafe Function FlexObjSetAddRef Lib \"msvbvm60.dll\" Alias \"__vbaObjSetAddref\" (ByRef Destination As Any, ByVal lpObject As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Public Declare Function FlexObjSetAddRef Lib \"msvbvm60.dll\" Alias \"__vbaObjSetAddref\" (ByRef Destination As Any, ByVal lpObject As Long) As Long"}]},
+        {"name":"FlexPreTranslateMsgActivate","kind":"sub","vis":"public","signatures":[{"cond":"(ImplementPreTranslateMsg = True) And VBA7","signature":"Public Sub FlexPreTranslateMsgActivate(ByVal hWnd As LongPtr)"},{"cond":"(ImplementPreTranslateMsg = True) And Not (VBA7)","signature":"Public Sub FlexPreTranslateMsgActivate(ByVal hWnd As Long)"}]},
+        {"name":"FlexPreTranslateMsgAddHook","kind":"sub","vis":"public","signature":"Public Sub FlexPreTranslateMsgAddHook()"},
+        {"name":"FlexPreTranslateMsgCount","kind":"field","vis":"private","signature":"Private FlexPreTranslateMsgCount As Long"},
+        {"name":"FlexPreTranslateMsgDeActivate","kind":"sub","vis":"public","signature":"Public Sub FlexPreTranslateMsgDeActivate()"},
+        {"name":"FlexPreTranslateMsgHookHandle","kind":"field","vis":"private","signature":"Private FlexPreTranslateMsgHookHandle As LongPtr"},
+        {"name":"FlexPreTranslateMsgHookProc","kind":"function","vis":"private","signature":"Private Function FlexPreTranslateMsgHookProc(ByVal nCode As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"FlexPreTranslateMsgHwnd","kind":"field","vis":"private","signature":"Private FlexPreTranslateMsgHwnd As LongPtr"},
+        {"name":"FlexPreTranslateMsgReleaseHook","kind":"sub","vis":"public","signature":"Public Sub FlexPreTranslateMsgReleaseHook()"},
+        {"name":"FlexReaderModeAnchorClassAtom","kind":"field","vis":"private","signature":"Private FlexReaderModeAnchorClassAtom As Integer"},
+        {"name":"FlexReaderModeAnchorHandle","kind":"field","vis":"private","signature":"Private FlexReaderModeAnchorHandle As LongPtr"},
+        {"name":"FlexReaderModeAnchorRefCount","kind":"field","vis":"private","signature":"Private FlexReaderModeAnchorRefCount As Long"},
+        {"name":"FlexReaderModeAnchorRegisterClass","kind":"sub","vis":"public","signature":"Public Sub FlexReaderModeAnchorRegisterClass()"},
+        {"name":"FlexReaderModeAnchorReleaseClass","kind":"sub","vis":"public","signature":"Public Sub FlexReaderModeAnchorReleaseClass()"},
+        {"name":"FlexReaderModeAnchorWindowProc","kind":"function","vis":"private","signature":"Private Function FlexReaderModeAnchorWindowProc(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"FlexReaderModeCreateAnchor","kind":"sub","vis":"private","signature":"Private Sub FlexReaderModeCreateAnchor()"},
+        {"name":"FlexReaderModeCursorInitialized","kind":"field","vis":"private","signature":"Private FlexReaderModeCursorInitialized As Boolean"},
+        {"name":"FlexReaderModeDispatch","kind":"function","vis":"private","signature":"Private Function FlexReaderModeDispatch(ByVal lpMsg As LongPtr) As Long","returnType":"Long"},
+        {"name":"FlexReaderModeScroll","kind":"function","vis":"private","signature":"Private Function FlexReaderModeScroll(ByVal lpRMI As LongPtr, ByVal DX As Long, ByVal DY As Long) As Long","returnType":"Long"},
+        {"name":"FlexReaderModeScrolled","kind":"field","vis":"private","signature":"Private FlexReaderModeScrolled As Boolean"},
+        {"name":"FlexRefCount","kind":"field","vis":"private","signature":"Private FlexRefCount As Long"},
+        {"name":"FlexReleaseShellMod","kind":"sub","vis":"public","signature":"Public Sub FlexReleaseShellMod()"},
+        {"name":"FlexRemoveSubclass","kind":"sub","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Sub FlexRemoveSubclass(ByVal hWnd As LongPtr, Optional ByVal Name As String)"},{"cond":"Not (VBA7)","signature":"Public Sub FlexRemoveSubclass(ByVal hWnd As Long, Optional ByVal Name As String)"}]},
+        {"name":"FlexSetSubclass","kind":"sub","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Sub FlexSetSubclass(ByVal hWnd As LongPtr, ByVal This As VBFlexGrid, ByVal dwRefData As LongPtr, Optional ByVal Name As String)"},{"cond":"Not (VBA7)","signature":"Public Sub FlexSetSubclass(ByVal hWnd As Long, ByVal This As VBFlexGrid, ByVal dwRefData As Long, Optional ByVal Name As String)"}]},
+        {"name":"FlexSplitterBrush","kind":"field","vis":"private","signature":"Private FlexSplitterBrush As LongPtr"},
+        {"name":"FlexSubclassProc","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function FlexSubclassProc(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByVal uIdSubclass As LongPtr, ByVal dwRefData As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function FlexSubclassProc(ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal uIdSubclass As Long, ByVal dwRefData As Long) As Long","returnType":"Long"}]},
+        {"name":"FlexSubclassProcPtr","kind":"field","vis":"private","signature":"Private FlexSubclassProcPtr As LongPtr"},
+        {"name":"FlexSubclassW2K","kind":"field","vis":"private","signature":"Private FlexSubclassW2K As Integer"},
+        {"name":"FlexWindowProc","kind":"function","vis":"private","signature":"Private Function FlexWindowProc(ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"},
+        {"name":"FlexWndRegisterClass","kind":"sub","vis":"public","signature":"Public Sub FlexWndRegisterClass()"},
+        {"name":"FlexWndReleaseClass","kind":"sub","vis":"public","signature":"Public Sub FlexWndReleaseClass()"},
+        {"name":"FreeLibrary","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function FreeLibrary Lib \"kernel32\" (ByVal hLibModule As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function FreeLibrary Lib \"kernel32\" (ByVal hLibModule As Long) As Long"}]},
+        {"name":"GetClassInfoEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetClassInfoEx Lib \"user32\" Alias \"GetClassInfoExW\" (ByVal hInstance As LongPtr, ByVal lpClassName As LongPtr, ByRef lpWndClassEx As WNDCLASSEX) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetClassInfoEx Lib \"user32\" Alias \"GetClassInfoExW\" (ByVal hInstance As Long, ByVal lpClassName As Long, ByRef lpWndClassEx As WNDCLASSEX) As Long"}]},
+        {"name":"GetClientRect","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetClientRect Lib \"user32\" (ByVal hWnd As LongPtr, ByRef lpRect As RECT) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetClientRect Lib \"user32\" (ByVal hWnd As Long, ByRef lpRect As RECT) As Long"}]},
+        {"name":"GetCursorInfo","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetCursorInfo Lib \"user32\" (ByRef pCI As CURSORINFO) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetCursorInfo Lib \"user32\" (ByRef pCI As CURSORINFO) As Long","returnType":"Long"}]},
+        {"name":"GetIconInfo","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetIconInfo Lib \"user32\" (ByVal hIcon As LongPtr, ByRef pIconInfo As ICONINFO) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetIconInfo Lib \"user32\" (ByVal hIcon As Long, ByRef pIconInfo As ICONINFO) As Long"}]},
+        {"name":"GetObjectAPI","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetObjectAPI Lib \"gdi32\" Alias \"GetObjectW\" (ByVal hObject As LongPtr, ByVal nCount As Long, ByRef lpObject As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetObjectAPI Lib \"gdi32\" Alias \"GetObjectW\" (ByVal hObject As Long, ByVal nCount As Long, ByRef lpObject As Any) As Long"}]},
+        {"name":"GetProcAddress","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetProcAddress Lib \"kernel32\" (ByVal hModule As LongPtr, ByVal lpProcName As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetProcAddress Lib \"kernel32\" (ByVal hModule As Long, ByVal lpProcName As Any) As Long","returnType":"Long"}]},
+        {"name":"GetProp","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetProp Lib \"user32\" Alias \"GetPropW\" (ByVal hWnd As LongPtr, ByVal lpString As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetProp Lib \"user32\" Alias \"GetPropW\" (ByVal hWnd As Long, ByVal lpString As Long) As Long","returnType":"Long"}]},
+        {"name":"GetStockObject","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetStockObject Lib \"gdi32\" (ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetStockObject Lib \"gdi32\" (ByVal nIndex As Long) As Long","returnType":"Long"}]},
+        {"name":"GetWindowLongPtr","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7 And Win64","signature":"Private Declare PtrSafe Function GetWindowLongPtr Lib \"user32\" Alias \"GetWindowLongPtrW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"VBA7 And Not (Win64)","signature":"Private Declare PtrSafe Function GetWindowLongPtr Lib \"user32\" Alias \"GetWindowLongW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetWindowLongPtr Lib \"user32\" Alias \"GetWindowLongW\" (ByVal hWnd As Long, ByVal nIndex As Long) As Long","returnType":"Long"}]},
+        {"name":"IDC_ARROW","kind":"const","vis":"private","signature":"Private Const IDC_ARROW As Long = 32512"},
+        {"name":"InitCommonControlsEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function InitCommonControlsEx Lib \"comctl32\" (ByRef ICCEX As TINITCOMMONCONTROLSEX) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function InitCommonControlsEx Lib \"comctl32\" (ByRef ICCEX As TINITCOMMONCONTROLSEX) As Long"}]},
+        {"name":"LoadCursor","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function LoadCursor Lib \"user32\" Alias \"LoadCursorW\" (ByVal hInstance As LongPtr, ByVal lpCursorName As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function LoadCursor Lib \"user32\" Alias \"LoadCursorW\" (ByVal hInstance As Long, ByVal lpCursorName As Any) As Long","returnType":"Long"}]},
+        {"name":"LoadLibrary","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function LoadLibrary Lib \"kernel32\" Alias \"LoadLibraryW\" (ByVal lpLibFileName As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function LoadLibrary Lib \"kernel32\" Alias \"LoadLibraryW\" (ByVal lpLibFileName As Long) As Long","returnType":"Long"}]},
+        {"name":"NULL_PTR","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const NULL_PTR As LongPtr = 0"},{"cond":"Not (Win64)","signature":"Private Const NULL_PTR As Long = 0"}]},
+        {"name":"PTR_SIZE","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const PTR_SIZE As Long = 8"},{"cond":"Not (Win64)","signature":"Private Const PTR_SIZE As Long = 4"}]},
+        {"name":"PostMessage","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function PostMessage Lib \"user32\" Alias \"PostMessageW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByRef lParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function PostMessage Lib \"user32\" Alias \"PostMessageW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long","returnType":"Long"}]},
+        {"name":"RMF_HORIZONTALONLY","kind":"const","vis":"private","signature":"Private Const RMF_HORIZONTALONLY As Long = &H4"},
+        {"name":"RMF_VERTICALONLY","kind":"const","vis":"private","signature":"Private Const RMF_VERTICALONLY As Long = &H2"},
+        {"name":"RMF_ZEROCURSOR","kind":"const","vis":"private","signature":"Private Const RMF_ZEROCURSOR As Long = &H1"},
+        {"name":"RegisterClassEx","kind":"function","vis":"private","declare":true,"returnType":"Integer","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function RegisterClassEx Lib \"user32\" Alias \"RegisterClassExW\" (ByRef lpWndClassEx As WNDCLASSEX) As Integer"},{"cond":"Not (VBA7)","signature":"Private Declare Function RegisterClassEx Lib \"user32\" Alias \"RegisterClassExW\" (ByRef lpWndClassEx As WNDCLASSEX) As Integer"}]},
+        {"name":"RemoveProp","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function RemoveProp Lib \"user32\" Alias \"RemovePropW\" (ByVal hWnd As LongPtr, ByVal lpString As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function RemoveProp Lib \"user32\" Alias \"RemovePropW\" (ByVal hWnd As Long, ByVal lpString As Long) As Long","returnType":"Long"}]},
+        {"name":"RemoveWindowSubclass","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function RemoveWindowSubclass Lib \"comctl32\" (ByVal hWnd As LongPtr, ByVal pfnSubclass As LongPtr, ByVal uIdSubclass As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function RemoveWindowSubclass Lib \"comctl32\" (ByVal hWnd As Long, ByVal pfnSubclass As Long, ByVal uIdSubclass As Long) As Long"}]},
+        {"name":"RemoveWindowSubclassW2K","kind":"function","vis":"private","declare":true,"signature":"Private Declare Function RemoveWindowSubclassW2K Lib \"comctl32\" Alias \"#412\" (ByVal hWnd As Long, ByVal pfnSubclass As Long, ByVal uIdSubclass As Long) As Long","returnType":"Long"},
+        {"name":"SendMessage","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SendMessage Lib \"user32\" Alias \"SendMessageW\" (ByVal hWnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByRef lParam As Any) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SendMessage Lib \"user32\" Alias \"SendMessageW\" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long","returnType":"Long"}]},
+        {"name":"SetLayeredWindowAttributes","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetLayeredWindowAttributes Lib \"user32\" (ByVal hWnd As LongPtr, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetLayeredWindowAttributes Lib \"user32\" (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long"}]},
+        {"name":"SetProp","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetProp Lib \"user32\" Alias \"SetPropW\" (ByVal hWnd As LongPtr, ByVal lpString As LongPtr, ByVal hData As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetProp Lib \"user32\" Alias \"SetPropW\" (ByVal hWnd As Long, ByVal lpString As Long, ByVal hData As Long) As Long"}]},
+        {"name":"SetWindowLongPtr","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7 And Win64","signature":"Private Declare PtrSafe Function SetWindowLongPtr Lib \"user32\" Alias \"SetWindowLongPtrW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLong As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"VBA7 And Not (Win64)","signature":"Private Declare PtrSafe Function SetWindowLongPtr Lib \"user32\" Alias \"SetWindowLongW\" (ByVal hWnd As LongPtr, ByVal nIndex As Long, ByVal dwNewLong As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetWindowLongPtr Lib \"user32\" Alias \"SetWindowLongW\" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long","returnType":"Long"}]},
+        {"name":"SetWindowSubclass","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SetWindowSubclass Lib \"comctl32\" (ByVal hWnd As LongPtr, ByVal pfnSubclass As LongPtr, ByVal uIdSubclass As LongPtr, ByVal dwRefData As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function SetWindowSubclass Lib \"comctl32\" (ByVal hWnd As Long, ByVal pfnSubclass As Long, ByVal uIdSubclass As Long, ByVal dwRefData As Long) As Long"}]},
+        {"name":"SetWindowSubclassW2K","kind":"function","vis":"private","declare":true,"signature":"Private Declare Function SetWindowSubclassW2K Lib \"comctl32\" Alias \"#410\" (ByVal hWnd As Long, ByVal pfnSubclass As Long, ByVal uIdSubclass As Long, ByVal dwRefData As Long) As Long","returnType":"Long"},
+        {"name":"SetWindowsHookEx","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"(ImplementPreTranslateMsg = True) And VBA7","signature":"Private Declare PtrSafe Function SetWindowsHookEx Lib \"user32\" Alias \"SetWindowsHookExW\" (ByVal IDHook As Long, ByVal lpfn As LongPtr, ByVal hMod As LongPtr, ByVal dwThreadID As Long) As LongPtr","returnType":"LongPtr"},{"cond":"(ImplementPreTranslateMsg = True) And Not (VBA7)","signature":"Private Declare Function SetWindowsHookEx Lib \"user32\" Alias \"SetWindowsHookExW\" (ByVal IDHook As Long, ByVal lpfn As Long, ByVal hMod As Long, ByVal dwThreadID As Long) As Long","returnType":"Long"}]},
+        {"name":"ShellModCount","kind":"field","vis":"private","signature":"Private ShellModCount As Long"},
+        {"name":"ShellModHandle","kind":"field","vis":"private","signature":"Private ShellModHandle As LongPtr"},
+        {"name":"ShowWindow","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function ShowWindow Lib \"user32\" (ByVal hWnd As LongPtr, ByVal nCmdShow As Long) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function ShowWindow Lib \"user32\" (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long"}]},
+        {"name":"UM_PRETRANSLATEMSG","kind":"const","vis":"private","signature":"Private Const UM_PRETRANSLATEMSG As Long = (WM_USER + 1100)"},
+        {"name":"UnhookWindowsHookEx","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"(ImplementPreTranslateMsg = True) And VBA7","signature":"Private Declare PtrSafe Function UnhookWindowsHookEx Lib \"user32\" (ByVal hHook As LongPtr) As Long"},{"cond":"(ImplementPreTranslateMsg = True) And Not (VBA7)","signature":"Private Declare Function UnhookWindowsHookEx Lib \"user32\" (ByVal hHook As Long) As Long"}]},
+        {"name":"UnregisterClass","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function UnregisterClass Lib \"user32\" Alias \"UnregisterClassW\" (ByVal lpClassName As LongPtr, ByVal hInstance As LongPtr) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function UnregisterClass Lib \"user32\" Alias \"UnregisterClassW\" (ByVal lpClassName As Long, ByVal hInstance As Long) As Long"}]},
+        {"name":"WHITE_BRUSH","kind":"const","vis":"private","signature":"Private Const WHITE_BRUSH As Long = 0"},
+        {"name":"WM_CREATE","kind":"const","vis":"private","signature":"Private Const WM_CREATE As Long = &H1"},
+        {"name":"WM_DESTROY","kind":"const","vis":"private","signature":"Private Const WM_DESTROY As Long = &H2"},
+        {"name":"WM_NCDESTROY","kind":"const","vis":"private","signature":"Private Const WM_NCDESTROY As Long = &H82"},
+        {"name":"WM_UAHDESTROYWINDOW","kind":"const","vis":"private","signature":"Private Const WM_UAHDESTROYWINDOW As Long = &H90"},
+        {"name":"WM_USER","kind":"const","vis":"private","signature":"Private Const WM_USER As Long = &H400"}
+      ]
+    },
+    {
+      "name": "BITMAP",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type BITMAP",
+      "fields": [
+        {"name":"BMType","vis":"public","signature":"BMType As Long"},
+        {"name":"BMWidth","vis":"public","signature":"BMWidth As Long"},
+        {"name":"BMHeight","vis":"public","signature":"BMHeight As Long"},
+        {"name":"BMWidthBytes","vis":"public","signature":"BMWidthBytes As Long"},
+        {"name":"BMPlanes","vis":"public","signature":"BMPlanes As Integer"},
+        {"name":"BMBitsPixel","vis":"public","signature":"BMBitsPixel As Integer"},
+        {"name":"BMBits","vis":"public","signature":"BMBits As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "CURSORINFO",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type CURSORINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"Flags","vis":"public","signature":"Flags As Long"},
+        {"name":"hCursor","vis":"public","signature":"hCursor As LongPtr"},
+        {"name":"PTScreenPos","vis":"public","signature":"PTScreenPos As POINTAPI"}
+      ],
+      "members": []
+    },
+    {
+      "name": "ICONINFO",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type ICONINFO",
+      "fields": [
+        {"name":"fIcon","vis":"public","signature":"fIcon As Long"},
+        {"name":"XHotspot","vis":"public","signature":"XHotspot As Long"},
+        {"name":"YHotspot","vis":"public","signature":"YHotspot As Long"},
+        {"name":"hBMMask","vis":"public","signature":"hBMMask As LongPtr"},
+        {"name":"hBMColor","vis":"public","signature":"hBMColor As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "LongPtr",
+      "kind": "enum",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Enum LongPtr",
+      "values": [
+        {"name":"_"}
+      ]
+    },
+    {
+      "name": "POINTAPI",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type POINTAPI",
+      "fields": [
+        {"name":"X","vis":"public","signature":"X As Long"},
+        {"name":"Y","vis":"public","signature":"Y As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "READERMODEINFO",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type READERMODEINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"hWnd","vis":"public","signature":"hWnd As LongPtr"},
+        {"name":"dwFlags","vis":"public","signature":"dwFlags As Long"},
+        {"name":"lpRC","vis":"public","signature":"lpRC As LongPtr"},
+        {"name":"lpfnScroll","vis":"public","signature":"lpfnScroll As LongPtr"},
+        {"name":"lpfnDispatch","vis":"public","signature":"lpfnDispatch As LongPtr"},
+        {"name":"lParam","vis":"public","signature":"lParam As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "RECT",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type RECT",
+      "fields": [
+        {"name":"Left","vis":"public","signature":"Left As Long"},
+        {"name":"Top","vis":"public","signature":"Top As Long"},
+        {"name":"Right","vis":"public","signature":"Right As Long"},
+        {"name":"Bottom","vis":"public","signature":"Bottom As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TINITCOMMONCONTROLSEX",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type TINITCOMMONCONTROLSEX",
+      "fields": [
+        {"name":"dwSize","vis":"public","signature":"dwSize As Long"},
+        {"name":"dwICC","vis":"public","signature":"dwICC As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "TMSG",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type TMSG",
+      "fields": [
+        {"name":"hWnd","vis":"public","signature":"hWnd As LongPtr"},
+        {"name":"Message","vis":"public","signature":"Message As Long"},
+        {"name":"wParam","vis":"public","signature":"wParam As LongPtr"},
+        {"name":"lParam","vis":"public","signature":"lParam As LongPtr"},
+        {"name":"Time","vis":"public","signature":"Time As Long"},
+        {"name":"PT","vis":"public","signature":"PT As POINTAPI"}
+      ],
+      "members": []
+    },
+    {
+      "name": "WNDCLASSEX",
+      "kind": "type",
+      "in": "VBFlexGridBase",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VBFlexGrid/VBFlexGridBase.bas",
+      "signature": "Private Type WNDCLASSEX",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"dwStyle","vis":"public","signature":"dwStyle As Long"},
+        {"name":"lpfnWndProc","vis":"public","signature":"lpfnWndProc As LongPtr"},
+        {"name":"cbClsExtra","vis":"public","signature":"cbClsExtra As Long"},
+        {"name":"cbWndExtra","vis":"public","signature":"cbWndExtra As Long"},
+        {"name":"hInstance","vis":"public","signature":"hInstance As LongPtr"},
+        {"name":"hIcon","vis":"public","signature":"hIcon As LongPtr"},
+        {"name":"hCursor","vis":"public","signature":"hCursor As LongPtr"},
+        {"name":"hbrBackground","vis":"public","signature":"hbrBackground As LongPtr"},
+        {"name":"lpszMenuName","vis":"public","signature":"lpszMenuName As LongPtr"},
+        {"name":"lpszClassName","vis":"public","signature":"lpszClassName As LongPtr"},
+        {"name":"hIconSm","vis":"public","signature":"hIconSm As LongPtr"}
+      ],
+      "members": []
+    },
+    {
+      "name": "VTableHandle",
+      "kind": "module",
+      "vis": "public",
+      "file": "Builds/VTableHandle.bas",
+      "signature": "Module VTableHandle",
+      "members": [
+        {"name":"ActivateIPAO","kind":"sub","vis":"public","signature":"Public Sub ActivateIPAO(ByVal This As Object)"},
+        {"name":"CC_STDCALL","kind":"const","vis":"private","signature":"Private Const CC_STDCALL As Long = 4"},
+        {"name":"CLSIDFromString","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CLSIDFromString Lib \"ole32\" (ByVal lpszProgID As LongPtr, ByRef pCLSID As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function CLSIDFromString Lib \"ole32\" (ByVal lpszProgID As Long, ByRef pCLSID As Any) As Long"}]},
+        {"name":"CTRLINFO_EATS_ESCAPE","kind":"const","vis":"public","signature":"Public Const CTRLINFO_EATS_ESCAPE As Long = 2"},
+        {"name":"CTRLINFO_EATS_RETURN","kind":"const","vis":"public","signature":"Public Const CTRLINFO_EATS_RETURN As Long = 1"},
+        {"name":"CallByDispId","kind":"function","vis":"public","signature":"Public Function CallByDispId(ByVal This As Object, ByVal DispId As Long, ByVal CallType As VbCallType, ParamArray ArgList() As Variant) As Variant","returnType":"Variant"},
+        {"name":"CoTaskMemAlloc","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function CoTaskMemAlloc Lib \"ole32\" (ByVal cBytes As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function CoTaskMemAlloc Lib \"ole32\" (ByVal cBytes As Long) As Long","returnType":"Long"}]},
+        {"name":"CoTaskMemFree","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub CoTaskMemFree Lib \"ole32\" (ByVal hMem As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub CoTaskMemFree Lib \"ole32\" (ByVal hMem As Long)"}]},
+        {"name":"CookiesOutArray","kind":"field","vis":"private","signature":"Private CookiesOutArray() As Long"},
+        {"name":"CopyMemory","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As LongPtr)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub CopyMemory Lib \"kernel32\" Alias \"RtlMoveMemory\" (ByRef Destination As Any, ByRef Source As Any, ByVal Length As Long)"}]},
+        {"name":"DeActivateIPAO","kind":"sub","vis":"public","signature":"Public Sub DeActivateIPAO()"},
+        {"name":"DispCallFunc","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DispCallFunc Lib \"oleaut32\" (ByVal lpvInstance As LongPtr, ByVal oVft As LongPtr, ByVal CallConv As Long, ByVal vtReturn As Integer, ByVal cActuals As Long, ByVal prgvt As LongPtr, ByVal prgpvarg As LongPtr, ByRef pvargResult As Variant) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DispCallFunc Lib \"oleaut32\" (ByVal lpvInstance As Long, ByVal oVft As Long, ByVal CallConv As Long, ByVal vtReturn As Integer, ByVal cActuals As Long, ByVal prgvt As Long, ByVal prgpvarg As Long, ByRef pvargResult As Variant) As Long"}]},
+        {"name":"E_INVALIDARG","kind":"const","vis":"private","signature":"Private Const E_INVALIDARG As Long = &H80070057"},
+        {"name":"E_NOINTERFACE","kind":"const","vis":"private","signature":"Private Const E_NOINTERFACE As Long = &H80004002"},
+        {"name":"E_NOTIMPL","kind":"const","vis":"private","signature":"Private Const E_NOTIMPL As Long = &H80004001"},
+        {"name":"E_OUTOFMEMORY","kind":"const","vis":"private","signature":"Private Const E_OUTOFMEMORY As Long = &H8007000E"},
+        {"name":"E_POINTER","kind":"const","vis":"private","signature":"Private Const E_POINTER As Long = &H80004003"},
+        {"name":"GetDispId","kind":"function","vis":"public","signature":"Public Function GetDispId(ByVal This As Object, ByRef MethodName As String) As Long","returnType":"Long"},
+        {"name":"GetNewEnum","kind":"function","vis":"public","signature":"Public Function GetNewEnum(ByVal This As Object, ByVal Upper As Long, ByVal Lower As Long) As IEnumVARIANT","returnType":"IEnumVARIANT"},
+        {"name":"GetVTableControl","kind":"function","vis":"private","signature":"Private Function GetVTableControl() As LongPtr","returnType":"LongPtr"},
+        {"name":"GetVTableEnumVARIANT","kind":"function","vis":"private","signature":"Private Function GetVTableEnumVARIANT() As LongPtr","returnType":"LongPtr"},
+        {"name":"GetVTableIPAO","kind":"function","vis":"private","signature":"Private Function GetVTableIPAO() As LongPtr","returnType":"LongPtr"},
+        {"name":"GetVTableInPlaceObjectWindowless","kind":"function","vis":"private","signature":"Private Function GetVTableInPlaceObjectWindowless() As LongPtr","returnType":"LongPtr"},
+        {"name":"GetVTablePPB","kind":"function","vis":"private","signature":"Private Function GetVTablePPB() As LongPtr","returnType":"LongPtr"},
+        {"name":"GetWindowFromObject","kind":"function","vis":"public","signatures":[{"cond":"VBA7","signature":"Public Function GetWindowFromObject(ByVal This As Object) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Public Function GetWindowFromObject(ByVal This As Object) As Long","returnType":"Long"}]},
+        {"name":"IEnumVARIANT_AddRef","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_AddRef(ByRef This As VTableEnumVARIANTDataStruct) As Long","returnType":"Long"},
+        {"name":"IEnumVARIANT_Clone","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_Clone(ByRef This As VTableEnumVARIANTDataStruct, ByRef ppEnum As IEnumVARIANT) As Long","returnType":"Long"},
+        {"name":"IEnumVARIANT_Next","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_Next(ByRef This As VTableEnumVARIANTDataStruct, ByVal VntCount As Long, ByVal VntArrPtr As LongPtr, ByRef pcvFetched As Long) As Long","returnType":"Long"},
+        {"name":"IEnumVARIANT_QueryInterface","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_QueryInterface(ByRef This As VTableEnumVARIANTDataStruct, ByRef IID As OLEGuids.OLECLSID, ByRef pvObj As LongPtr) As Long","returnType":"Long"},
+        {"name":"IEnumVARIANT_Release","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_Release(ByRef This As VTableEnumVARIANTDataStruct) As Long","returnType":"Long"},
+        {"name":"IEnumVARIANT_Reset","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_Reset(ByRef This As VTableEnumVARIANTDataStruct) As Long","returnType":"Long"},
+        {"name":"IEnumVARIANT_Skip","kind":"function","vis":"private","signature":"Private Function IEnumVARIANT_Skip(ByRef This As VTableEnumVARIANTDataStruct, ByVal VntCount As Long) As Long","returnType":"Long"},
+        {"name":"IOleControl_FreezeEvents","kind":"function","vis":"private","signature":"Private Function IOleControl_FreezeEvents(ByRef This As LongPtr, ByVal bFreeze As Long) As Long","returnType":"Long"},
+        {"name":"IOleControl_GetControlInfo","kind":"function","vis":"private","signature":"Private Function IOleControl_GetControlInfo(ByRef This As LongPtr, ByRef CI As OLEGuids.OLECONTROLINFO) As Long","returnType":"Long"},
+        {"name":"IOleControl_OnAmbientPropertyChange","kind":"function","vis":"private","signature":"Private Function IOleControl_OnAmbientPropertyChange(ByRef This As LongPtr, ByVal DispId As Long) As Long","returnType":"Long"},
+        {"name":"IOleControl_OnMnemonic","kind":"function","vis":"private","signature":"Private Function IOleControl_OnMnemonic(ByRef This As LongPtr, ByRef Msg As OLEGuids.OLEACCELMSG) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_AddRef","kind":"function","vis":"private","signature":"Private Function IOleIPAO_AddRef(ByRef This As VTableIPAODataStruct) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_ContextSensitiveHelp","kind":"function","vis":"private","signature":"Private Function IOleIPAO_ContextSensitiveHelp(ByRef This As VTableIPAODataStruct, ByVal EnterMode As Long) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_EnableModeless","kind":"function","vis":"private","signature":"Private Function IOleIPAO_EnableModeless(ByRef This As VTableIPAODataStruct, ByVal Enable As Long) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_GetWindow","kind":"function","vis":"private","signature":"Private Function IOleIPAO_GetWindow(ByRef This As VTableIPAODataStruct, ByRef hWnd As LongPtr) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_OnDocWindowActivate","kind":"function","vis":"private","signature":"Private Function IOleIPAO_OnDocWindowActivate(ByRef This As VTableIPAODataStruct, ByVal Activate As Long) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_OnFrameWindowActivate","kind":"function","vis":"private","signature":"Private Function IOleIPAO_OnFrameWindowActivate(ByRef This As VTableIPAODataStruct, ByVal Activate As Long) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_QueryInterface","kind":"function","vis":"private","signature":"Private Function IOleIPAO_QueryInterface(ByRef This As VTableIPAODataStruct, ByRef IID As OLEGuids.OLECLSID, ByRef pvObj As LongPtr) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_Release","kind":"function","vis":"private","signature":"Private Function IOleIPAO_Release(ByRef This As VTableIPAODataStruct) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_ResizeBorder","kind":"function","vis":"private","signature":"Private Function IOleIPAO_ResizeBorder(ByRef This As VTableIPAODataStruct, ByRef RC As OLEGuids.OLERECT, ByVal UIWindow As OLEGuids.IOleInPlaceUIWindow, ByVal FrameWindow As Long) As Long","returnType":"Long"},
+        {"name":"IOleIPAO_TranslateAccelerator","kind":"function","vis":"private","signature":"Private Function IOleIPAO_TranslateAccelerator(ByRef This As VTableIPAODataStruct, ByRef Msg As OLEGuids.OLEACCELMSG) As Long","returnType":"Long"},
+        {"name":"IPPB_GetDisplayString","kind":"function","vis":"private","signature":"Private Function IPPB_GetDisplayString(ByRef This As LongPtr, ByVal DispId As Long, ByRef lpDisplayName As LongPtr) As Long","returnType":"Long"},
+        {"name":"IPPB_GetPredefinedStrings","kind":"function","vis":"private","signature":"Private Function IPPB_GetPredefinedStrings(ByRef This As LongPtr, ByVal DispId As Long, ByRef pCaStringsOut As OLEGuids.OLECALPOLESTR, ByRef pCaCookiesOut As OLEGuids.OLECADWORD) As Long","returnType":"Long"},
+        {"name":"IPPB_GetPredefinedValue","kind":"function","vis":"private","signature":"Private Function IPPB_GetPredefinedValue(ByRef This As LongPtr, ByVal DispId As Long, ByVal dwCookie As Long, ByRef pVarOut As Variant) As Long","returnType":"Long"},
+        {"name":"IPPB_MapPropertyToPage","kind":"function","vis":"private","signature":"Private Function IPPB_MapPropertyToPage(ByRef This As LongPtr, ByVal DispId As Long, ByRef pCLSID As OLEGuids.OLECLSID) As Long","returnType":"Long"},
+        {"name":"InPlaceObjectWindowless_GetDropTarget","kind":"function","vis":"private","signature":"Private Function InPlaceObjectWindowless_GetDropTarget(ByRef This As LongPtr, ByRef lppDropTarget As LongPtr) As Long","returnType":"Long"},
+        {"name":"InPlaceObjectWindowless_OnWindowMessage","kind":"function","vis":"private","signature":"Private Function InPlaceObjectWindowless_OnWindowMessage(ByRef This As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByRef Result As LongPtr) As Long","returnType":"Long"},
+        {"name":"NULL_PTR","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const NULL_PTR As LongPtr = 0"},{"cond":"Not (Win64)","signature":"Private Const NULL_PTR As Long = 0"}]},
+        {"name":"OnControlInfoChanged","kind":"sub","vis":"public","signature":"Public Sub OnControlInfoChanged(ByVal This As Object, Optional ByVal OnFocus As Boolean)"},
+        {"name":"OriginalVTableControl","kind":"field","vis":"private","signature":"Private OriginalVTableControl As LongPtr"},
+        {"name":"OriginalVTableInPlaceObjectWindowless","kind":"field","vis":"private","signature":"Private OriginalVTableInPlaceObjectWindowless As LongPtr"},
+        {"name":"OriginalVTablePPB","kind":"field","vis":"private","signature":"Private OriginalVTablePPB As LongPtr"},
+        {"name":"Original_IOleControl_FreezeEvents","kind":"function","vis":"private","signature":"Private Function Original_IOleControl_FreezeEvents(ByRef This As LongPtr, ByVal bFreeze As Long) As Long","returnType":"Long"},
+        {"name":"Original_IOleControl_GetControlInfo","kind":"function","vis":"private","signature":"Private Function Original_IOleControl_GetControlInfo(ByRef This As LongPtr, ByRef CI As OLEGuids.OLECONTROLINFO) As Long","returnType":"Long"},
+        {"name":"Original_IOleControl_OnAmbientPropertyChange","kind":"function","vis":"private","signature":"Private Function Original_IOleControl_OnAmbientPropertyChange(ByRef This As LongPtr, ByVal DispId As Long) As Long","returnType":"Long"},
+        {"name":"Original_IOleControl_OnMnemonic","kind":"function","vis":"private","signature":"Private Function Original_IOleControl_OnMnemonic(ByRef This As LongPtr, ByRef Msg As OLEGuids.OLEACCELMSG) As Long","returnType":"Long"},
+        {"name":"Original_IPPB_GetDisplayString","kind":"function","vis":"private","signature":"Private Function Original_IPPB_GetDisplayString(ByRef This As LongPtr, ByVal DispId As Long, ByRef lpDisplayName As LongPtr) As Long","returnType":"Long"},
+        {"name":"Original_IPPB_GetPredefinedStrings","kind":"function","vis":"private","signature":"Private Function Original_IPPB_GetPredefinedStrings(ByRef This As LongPtr, ByVal DispId As Long, ByRef pCaStringsOut As OLEGuids.OLECALPOLESTR, ByRef pCaCookiesOut As OLEGuids.OLECADWORD) As Long","returnType":"Long"},
+        {"name":"Original_IPPB_GetPredefinedValue","kind":"function","vis":"private","signature":"Private Function Original_IPPB_GetPredefinedValue(ByRef This As LongPtr, ByVal DispId As Long, ByVal dwCookie As Long, ByRef pVarOut As Variant) As Long","returnType":"Long"},
+        {"name":"Original_IPPB_MapPropertyToPage","kind":"function","vis":"private","signature":"Private Function Original_IPPB_MapPropertyToPage(ByRef This As LongPtr, ByVal DispId As Long, ByRef pCLSID As OLEGuids.OLECLSID) As Long","returnType":"Long"},
+        {"name":"Original_InPlaceObjectWindowless_GetDropTarget","kind":"function","vis":"private","signature":"Private Function Original_InPlaceObjectWindowless_GetDropTarget(ByRef This As LongPtr, ByRef lppDropTarget As LongPtr) As Long","returnType":"Long"},
+        {"name":"Original_InPlaceObjectWindowless_OnWindowMessage","kind":"function","vis":"private","signature":"Private Function Original_InPlaceObjectWindowless_OnWindowMessage(ByRef This As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByRef Result As LongPtr) As Long","returnType":"Long"},
+        {"name":"PTR_SIZE","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const PTR_SIZE As Long = 8"},{"cond":"Not (Win64)","signature":"Private Const PTR_SIZE As Long = 4"}]},
+        {"name":"RemoveVTableHandling","kind":"function","vis":"public","signature":"Public Function RemoveVTableHandling(ByVal This As Object, ByVal OLEInterface As VTableInterfaceConstants) As Boolean","returnType":"Boolean"},
+        {"name":"ReplaceIOleControl","kind":"sub","vis":"private","signature":"Private Sub ReplaceIOleControl(ByVal This As OLEGuids.IOleControl)"},
+        {"name":"ReplaceIPPB","kind":"sub","vis":"private","signature":"Private Sub ReplaceIPPB(ByVal This As OLEGuids.IPerPropertyBrowsing)"},
+        {"name":"ReplaceInPlaceObjectWindowless","kind":"sub","vis":"private","signature":"Private Sub ReplaceInPlaceObjectWindowless(ByVal This As OLEGuids.IOleInPlaceObjectWindowless)"},
+        {"name":"RestoreIOleControl","kind":"sub","vis":"private","signature":"Private Sub RestoreIOleControl(ByVal This As OLEGuids.IOleControl)"},
+        {"name":"RestoreIPPB","kind":"sub","vis":"private","signature":"Private Sub RestoreIPPB(ByVal This As OLEGuids.IPerPropertyBrowsing)"},
+        {"name":"RestoreInPlaceObjectWindowless","kind":"sub","vis":"private","signature":"Private Sub RestoreInPlaceObjectWindowless(ByVal This As OLEGuids.IOleInPlaceObjectWindowless)"},
+        {"name":"S_FALSE","kind":"const","vis":"private","signature":"Private Const S_FALSE As Long = &H1"},
+        {"name":"S_OK","kind":"const","vis":"private","signature":"Private Const S_OK As Long = &H0"},
+        {"name":"SetLastError","kind":"sub","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Sub SetLastError Lib \"kernel32\" (ByVal dwErrCode As Long)"},{"cond":"Not (VBA7)","signature":"Private Declare Sub SetLastError Lib \"kernel32\" (ByVal dwErrCode As Long)"}]},
+        {"name":"SetVTableHandling","kind":"function","vis":"public","signature":"Public Function SetVTableHandling(ByVal This As Object, ByVal OLEInterface As VTableInterfaceConstants) As Boolean","returnType":"Boolean"},
+        {"name":"StringsOutArray","kind":"field","vis":"private","signature":"Private StringsOutArray() As String"},
+        {"name":"SyncObjectRectsToContainer","kind":"sub","vis":"public","signature":"Public Sub SyncObjectRectsToContainer(ByVal This As Object)"},
+        {"name":"SysAllocString","kind":"function","vis":"private","declare":true,"signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function SysAllocString Lib \"oleaut32\" (ByVal lpString As LongPtr) As LongPtr","returnType":"LongPtr"},{"cond":"Not (VBA7)","signature":"Private Declare Function SysAllocString Lib \"oleaut32\" (ByVal lpString As Long) As Long","returnType":"Long"}]},
+        {"name":"VTableCall","kind":"function","vis":"public","returnType":"Variant","signatures":[{"cond":"VBA7","signature":"Public Function VTableCall(ByVal RetType As VbVarType, ByVal InterfacePointer As LongPtr, ByVal Entry As LongPtr, ParamArray ArgList() As Variant) As Variant"},{"cond":"Not (VBA7)","signature":"Public Function VTableCall(ByVal RetType As VbVarType, ByVal InterfacePointer As Long, ByVal Entry As Long, ParamArray ArgList() As Variant) As Variant"}]},
+        {"name":"VTableControl","kind":"field","vis":"private","signature":"Private VTableControl(0 To 6) As LongPtr"},
+        {"name":"VTableEnumVARIANT","kind":"field","vis":"private","signature":"Private VTableEnumVARIANT(0 To 6) As LongPtr"},
+        {"name":"VTableHandlingSupported","kind":"function","vis":"private","signature":"Private Function VTableHandlingSupported(ByRef This As Object, ByVal OLEInterface As VTableInterfaceConstants) As Boolean","returnType":"Boolean"},
+        {"name":"VTableIPAO","kind":"field","vis":"private","signature":"Private VTableIPAO(0 To 9) As LongPtr"},
+        {"name":"VTableIPAOData","kind":"field","vis":"private","signature":"Private VTableIPAOData As VTableIPAODataStruct"},
+        {"name":"VTableInPlaceObjectWindowless","kind":"field","vis":"private","signature":"Private VTableInPlaceObjectWindowless(0 To 10) As LongPtr"},
+        {"name":"VTableInterfaceControl","kind":"field","vis":"private","signature":"Private VTableInterfaceControl"},
+        {"name":"VTableInterfaceInPlaceActiveObject","kind":"field","vis":"private","signature":"Private VTableInterfaceInPlaceActiveObject"},
+        {"name":"VTableInterfaceInPlaceObjectWindowless","kind":"field","vis":"private","signature":"Private VTableInterfaceInPlaceObjectWindowless"},
+        {"name":"VTableInterfacePerPropertyBrowsing","kind":"field","vis":"private","signature":"Private VTableInterfacePerPropertyBrowsing"},
+        {"name":"VTableInterfaceSupported","kind":"function","vis":"public","signature":"Public Function VTableInterfaceSupported(ByVal This As OLEGuids.IUnknownUnrestricted, ByVal IIDString As String) As Boolean","returnType":"Boolean"},
+        {"name":"VTablePPB","kind":"field","vis":"private","signature":"Private VTablePPB(0 To 6) As LongPtr"},
+        {"name":"VariantCopy","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function VariantCopy Lib \"oleaut32\" (ByRef pvargDest As Any, ByRef pvargSrc As Any) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function VariantCopy Lib \"oleaut32\" (ByRef pvargDest As Any, ByRef pvargSrc As Any) As Long"}]}
+      ]
+    },
+    {
+      "name": "LongPtr",
+      "kind": "enum",
+      "in": "VTableHandle",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VTableHandle.bas",
+      "signature": "Private Enum LongPtr",
+      "values": [
+        {"name":"_"}
+      ]
+    },
+    {
+      "name": "VTableEnumVARIANTDataStruct",
+      "kind": "type",
+      "in": "VTableHandle",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VTableHandle.bas",
+      "signature": "Private Type VTableEnumVARIANTDataStruct",
+      "fields": [
+        {"name":"VTable","vis":"public","signature":"VTable As LongPtr"},
+        {"name":"RefCount","vis":"public","signature":"RefCount As Long"},
+        {"name":"Enumerable","vis":"public","signature":"Enumerable As Object"},
+        {"name":"Index","vis":"public","signature":"Index As Long"},
+        {"name":"Count","vis":"public","signature":"Count As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "VTableIPAODataStruct",
+      "kind": "type",
+      "in": "VTableHandle",
+      "vis": "private",
+      "public": false,
+      "file": "Builds/VTableHandle.bas",
+      "signature": "Private Type VTableIPAODataStruct",
+      "fields": [
+        {"name":"VTable","vis":"public","signature":"VTable As LongPtr"},
+        {"name":"RefCount","vis":"public","signature":"RefCount As Long"},
+        {"name":"OriginalIOleIPAO","vis":"public","signature":"OriginalIOleIPAO As OLEGuids.IOleInPlaceActiveObject"},
+        {"name":"IOleIPAO","vis":"public","signature":"IOleIPAO As OLEGuids.IOleInPlaceActiveObjectVB"}
+      ],
+      "members": []
+    },
+    {
+      "name": "VTableInterfaceConstants",
+      "kind": "enum",
+      "in": "VTableHandle",
+      "vis": "public",
+      "file": "Builds/VTableHandle.bas",
+      "signature": "Public Enum VTableInterfaceConstants",
+      "values": [
+        {"name":"VTableInterfaceInPlaceActiveObject","value":"1"},
+        {"name":"VTableInterfaceControl","value":"2"},
+        {"name":"VTableInterfacePerPropertyBrowsing","value":"3"},
+        {"name":"VTableInterfaceInPlaceObjectWindowless","value":"4"}
+      ]
+    },
+    {
+      "name": "VisualStyles",
+      "kind": "module",
+      "vis": "public",
+      "file": "Common/VisualStyles.bas",
+      "signature": "Module VisualStyles",
+      "members": [
+        {"name":"ActivateVisualStyles","kind":"function","vis":"public","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Declare PtrSafe Function ActivateVisualStyles Lib \"uxtheme\" Alias \"SetWindowTheme\" (ByVal hWnd As LongPtr, Optional ByVal pszSubAppName As LongPtr = 0, Optional ByVal pszSubIdList As LongPtr = 0) As Long"},{"cond":"Not (VBA7)","signature":"Public Declare Function ActivateVisualStyles Lib \"uxtheme\" Alias \"SetWindowTheme\" (ByVal hWnd As Long, Optional ByVal pszSubAppName As Long = 0, Optional ByVal pszSubIdList As Long = 0) As Long"}]},
+        {"name":"DllGetVersion","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function DllGetVersion Lib \"comctl32\" (ByRef pdvi As DLLVERSIONINFO) As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function DllGetVersion Lib \"comctl32\" (ByRef pdvi As DLLVERSIONINFO) As Long"}]},
+        {"name":"EnabledVisualStyles","kind":"function","vis":"public","signature":"Public Function EnabledVisualStyles() As Boolean","returnType":"Boolean"},
+        {"name":"GetComCtlVersion","kind":"function","vis":"public","signature":"Public Function GetComCtlVersion() As Long","returnType":"Long"},
+        {"name":"GetThemeAppProperties","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function GetThemeAppProperties Lib \"uxtheme\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function GetThemeAppProperties Lib \"uxtheme\" () As Long"}]},
+        {"name":"IsAppThemed","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function IsAppThemed Lib \"uxtheme\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function IsAppThemed Lib \"uxtheme\" () As Long"}]},
+        {"name":"IsThemeActive","kind":"function","vis":"private","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Private Declare PtrSafe Function IsThemeActive Lib \"uxtheme\" () As Long"},{"cond":"Not (VBA7)","signature":"Private Declare Function IsThemeActive Lib \"uxtheme\" () As Long"}]},
+        {"name":"NULL_PTR","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const NULL_PTR As LongPtr = 0"},{"cond":"Not (Win64)","signature":"Private Const NULL_PTR As Long = 0"}]},
+        {"name":"PTR_SIZE","kind":"const","vis":"private","signatures":[{"cond":"Win64","signature":"Private Const PTR_SIZE As Long = 8"},{"cond":"Not (Win64)","signature":"Private Const PTR_SIZE As Long = 4"}]},
+        {"name":"RemoveVisualStyles","kind":"function","vis":"public","declare":true,"returnType":"Long","signatures":[{"cond":"VBA7","signature":"Public Declare PtrSafe Function RemoveVisualStyles Lib \"uxtheme\" Alias \"SetWindowTheme\" (ByVal hWnd As LongPtr, Optional ByRef pszSubAppName As String = \" \", Optional ByRef pszSubIdList As String = \" \") As Long"},{"cond":"Not (VBA7)","signature":"Public Declare Function RemoveVisualStyles Lib \"uxtheme\" Alias \"SetWindowTheme\" (ByVal hWnd As Long, Optional ByRef pszSubAppName As String = \" \", Optional ByRef pszSubIdList As String = \" \") As Long"}]},
+        {"name":"STAP_ALLOW_CONTROLS","kind":"const","vis":"private","signature":"Private Const STAP_ALLOW_CONTROLS As Long = (1 * (2 ^ 1))"},
+        {"name":"S_OK","kind":"const","vis":"private","signature":"Private Const S_OK As Long = &H0"}
+      ]
+    },
+    {
+      "name": "DLLVERSIONINFO",
+      "kind": "type",
+      "in": "VisualStyles",
+      "vis": "private",
+      "public": false,
+      "file": "Common/VisualStyles.bas",
+      "signature": "Private Type DLLVERSIONINFO",
+      "fields": [
+        {"name":"cbSize","vis":"public","signature":"cbSize As Long"},
+        {"name":"dwMajor","vis":"public","signature":"dwMajor As Long"},
+        {"name":"dwMinor","vis":"public","signature":"dwMinor As Long"},
+        {"name":"dwBuildNumber","vis":"public","signature":"dwBuildNumber As Long"},
+        {"name":"dwPlatformID","vis":"public","signature":"dwPlatformID As Long"}
+      ],
+      "members": []
+    },
+    {
+      "name": "LongPtr",
+      "kind": "enum",
+      "in": "VisualStyles",
+      "vis": "private",
+      "public": false,
+      "file": "Common/VisualStyles.bas",
+      "signature": "Private Enum LongPtr",
+      "values": [
+        {"name":"_"}
+      ]
+    }
+  ],
+  "aliases": [],
+  "problems": []
+}
diff --git a/lib/package-tests.mjs b/lib/package-tests.mjs
index 096912745..5d8f9f069 100644
--- a/lib/package-tests.mjs
+++ b/lib/package-tests.mjs
@@ -28,6 +28,14 @@ export const COMPILE_DIR = "compile";
 export const EXE_DIR = "exe";
 export const RESOURCES_DIR = "Resources";
 
+/**
+ * The packages a run of every package leaves out, each run only when named (owner): GdiPlus, whose
+ * known defects include cases that never return, which make such a run much longer. Read by
+ * scripts/package_tests.mjs (--all-packages) and by the launcher repository's
+ * phase3/np4-tests-check.mjs (its packages section); keep package_tests' usage text in step.
+ */
+export const ALL_PACKAGES_SKIP = new Set(["GdiPlus"]);
+
 /** The file name of a package's published test project. */
 export const downloadName = (pkg) => `${pkg}-tests.twinproj`;
 
diff --git a/scripts/check_examples.mjs b/scripts/check_examples.mjs
index 427827ef2..2433b7af0 100644
--- a/scripts/check_examples.mjs
+++ b/scripts/check_examples.mjs
@@ -127,6 +127,7 @@ import {
   crashedIn,
   diagKind,
   embeddedPackages,
+  exclusionPackage,
   joinConcatGroups,
   makeBatches,
   runBatch,
@@ -292,12 +293,12 @@ const BUILD = values.build || LLVM;
 const EXCLUSION_MODE = LLVM ? "llvm" : BUILD ? "build" : "compile";
 
 // test/harness.json (test/harness.md), read and checked before anything runs:
-// the exclusions, and each phase's limit in ms -- the option, else the
-// TB_ variable, else the file. A fault in either is exit 2.
-let HARNESS, LIMITS;
+// the exclusions, and each TB_ variable, whose value a batch's limits
+// take (limitsFor). A fault in either is exit 2.
+let HARNESS;
 try {
   HARNESS = readHarness();
-  LIMITS = Object.fromEntries(Object.entries(seconds).map(([key, s]) => [key, timeoutMs(key, s)]));
+  for (const [key, s] of Object.entries(seconds)) timeoutMs(key, s);
 } catch (e) {
   if (!(e instanceof HarnessError)) throw e;
   console.error(`check_examples: ${e.message}`);
@@ -700,7 +701,7 @@ function stageBatch(batch, work) {
   // under Packages/ makes.
   packTree(proj, dir);
   // A batch of win64 copies (splitArches) is built for that target, the rest for win32.
-  return { proj, dir, map, runs, arch: batch.arch ?? ARCHES[0] };
+  return { proj, dir, map, runs, project: batch.project, arch: batch.arch ?? ARCHES[0] };
 }
 
 // ------------------------------------------------------------------- building
@@ -714,16 +715,24 @@ const IDE = findIde(values.ide);
 let tidy = null;
 
 // How a run batch's wait ends (see buildStaged): its sentinel, or the run's
-// quiet period or limit from test/harness.json (LIMITS).
+// quiet period or limit from test/harness.json (limitsFor).
 // Whether a batch's own samples bring a [RunAfterBuild] Sub, whose compile a build
 // follows after the link (buildProject); a run batch's dispatcher is captureRun's.
 const runsAfterBuild = (staged) => [...staged.map.values()].some((e) => DECLARES_HOOK.test(e.fence.content));
-const runWait = () => ({
+const runWait = (limits) => ({
   done: (lines) => lines.some((l) => l.trim() === RUN_DONE),
-  runMs: LIMITS.compilerRun,
-  quietMs: LIMITS.compilerRunQuiet,
+  runMs: limits.compilerRun,
+  quietMs: limits.compilerRunQuiet,
 });
 
+// A batch's limits in ms: each phase's option, else its TB_ variable, else the entry of
+// the batch's package in test/harness.json's packageTimeouts, else the file's timeouts
+// (timeoutMs). The package is named as the exclusions name it, from the batch's template.
+function limitsFor(project) {
+  const pkg = exclusionPackage({ project });
+  return Object.fromEntries(Object.entries(seconds).map(([key, s]) => [key, timeoutMs(key, s, { pkg })]));
+}
+
 // What each run sample did, by fence id, from the last build of a project that
 // held it: its share of the lines the dispatcher wrote, and the sample that
 // began and did not return, if there was one. A later build of a smaller
@@ -780,7 +789,8 @@ const timingBatch = (batch, staged) =>
 async function buildCanary(batch, session, work) {
   const staged = stageBatch(batch, work);
   timingBatch(batch, staged);
-  const run = staged.runs.length ? runWait() : null;
+  const limits = limitsFor(batch.project);
+  const run = staged.runs.length ? runWait(limits) : null;
   const r = await compileProject({
     project: staged.proj,
     ide: IDE,
@@ -789,8 +799,8 @@ async function buildCanary(batch, session, work) {
     build: BUILD || !!run,
     llvm: LLVM,
     run,
-    timeout: LIMITS.compile,
-    buildTimeout: LIMITS.build,
+    timeout: limits.compile,
+    buildTimeout: limits.build,
     followRun: runsAfterBuild(staged),
   });
   if (!values.keep) rmSync(staged.dir, { recursive: true, force: true });
@@ -812,7 +822,8 @@ async function buildStaged(staged, session) {
   // been quiet for the run's quiet period, counted from [BUILD] Executing or the
   // run's last output, whichever is later, so that a pause in an LLVM build's log
   // never ends it (captureRun).
-  const run = staged.runs.length ? runWait() : null;
+  const limits = limitsFor(staged.project);
+  const run = staged.runs.length ? runWait(limits) : null;
   const compile = () =>
     compileProject({
       project: staged.proj,
@@ -822,8 +833,8 @@ async function buildStaged(staged, session) {
       build: BUILD || !!run,
       llvm: LLVM,
       run,
-      timeout: LIMITS.compile,
-      buildTimeout: LIMITS.build,
+      timeout: limits.compile,
+      buildTimeout: limits.build,
       followRun: runsAfterBuild(staged),
     });
   let r = await compile();
diff --git a/scripts/check_tb_registry.mjs b/scripts/check_tb_registry.mjs
index 2e1e0b0b4..5fc724f4f 100644
--- a/scripts/check_tb_registry.mjs
+++ b/scripts/check_tb_registry.mjs
@@ -289,13 +289,24 @@ try {
   const REAL = '"C:\\IDE\\twinBASIC.exe" "%1"';
   const COPY_EXE = path.join(tmpdir(), "tbaddin", "9870", "ide", "twinBASIC.exe");
   const COPY = `"${COPY_EXE}" "%1"`;
+  // The template a new .twinproj is made from, which the copy writes with its own folder at the
+  // same time as its open command: it comes back as the same file in the install's folder.
+  const SHELLNEW = ASSOC + "\\ShellNew";
+  const TEMPLATE = "projects\\_Standard EXE\\projectName.twinproj";
+  const COPY_TEMPLATE = path.join(path.dirname(COPY_EXE), TEMPLATE);
   const tbIde = process.env.TB_IDE;
   try {
     process.env.TB_IDE = "C:\\IDE\\twinBASIC.exe";
     setValues(COMMAND, { "": COPY }); // another run's copy has it
+    setValues(SHELLNEW, { FileName: COPY_TEMPLATE });
     const dirty = R.startTidy({ root: ROOT, keys: [ASSOC] });
     assert.ok(R.finishTidy(dirty).association >= 1);
     assert.equal(readValue(COMMAND, ""), REAL, "an association naming the temp folder points at the install");
+    assert.equal(
+      readValue(SHELLNEW, "FileName"),
+      `C:\\IDE\\${TEMPLATE}`,
+      "ShellNew's FileName in the copy's folder points into the install's folder",
+    );
     process.env.TB_IDE = COPY_EXE; // no install outside the temp folder
     setValues(COMMAND, { "": COPY });
     const noInstall = R.startTidy({ root: ROOT, keys: [ASSOC] });
diff --git a/scripts/lib/harness-settings.mjs b/scripts/lib/harness-settings.mjs
index 7510ea62a..a6e24a3f2 100644
--- a/scripts/lib/harness-settings.mjs
+++ b/scripts/lib/harness-settings.mjs
@@ -10,7 +10,8 @@
 // exit 2. So is a TB_ variable that is not such a number.
 //
 // A timeout is resolved as test/harness.md says: the tool's option, then the
-// variable, then the file. The option is the tool's to parse (optionSeconds, so
+// variable, then the package's entry in packageTimeouts (version 2), then the
+// file's timeouts. The option is the tool's to parse (optionSeconds, so
 // that a bad value is a usage error with the tool's own usage text); the rest is
 // timeoutMs's. Seconds go in, milliseconds come out.
 
@@ -24,7 +25,7 @@ export const HARNESS_FILE = path.join(REPO_ROOT, "test", "harness.json");
 /** How the file is named in a message. */
 export const HARNESS_NAME = "test/harness.json";
 /** The newest `version` this reader knows. */
-export const HARNESS_VERSION = 1;
+export const HARNESS_VERSION = 2;
 
 /** The modes the exclusions are keyed by: a compile, a `--build`, an `--llvm` build. */
 export const EXCLUSION_MODES = ["compile", "build", "llvm"];
@@ -102,6 +103,29 @@ export function exclusionProblems(list) {
   return problems;
 }
 
+/**
+ * What is wrong with the per-package timeouts' shape, as a list of sentences: an
+ * object keyed by package, each a non-empty object of the keys a person can
+ * override (OVERRIDES), each a number of seconds greater than 0.
+ * @param {unknown} list  the parsed `packageTimeouts` object
+ */
+export function packageTimeoutProblems(list) {
+  if (!isMap(list)) return ["it is not an object keyed by package"];
+  const problems = [];
+  for (const [pkg, limits] of Object.entries(list)) {
+    if (!isMap(limits) || !Object.keys(limits).length) {
+      problems.push(`${pkg}: not an object keyed by phase`);
+      continue;
+    }
+    for (const [key, value] of Object.entries(limits)) {
+      if (!(key in OVERRIDES))
+        problems.push(`${pkg}.${key}: not a phase a package may set (${Object.keys(OVERRIDES).join(", ")})`);
+      else if (!isSeconds(value)) problems.push(`${pkg}.${key}: not a number of seconds greater than 0`);
+    }
+  }
+  return problems;
+}
+
 /**
  * What is wrong with the whole file, as a list of sentences: the version, the
  * keys at every level, the exclusions' shape, and every timeout a number of
@@ -118,7 +142,12 @@ export function harnessProblems(data) {
     problems.push(`version ${data.version} is newer than this reader knows (${HARNESS_VERSION})`);
   }
   for (const key of Object.keys(data)) {
-    if (!["version", "exclusions", "timeouts"].includes(key)) problems.push(`${key}: not a known key`);
+    if (!["version", "exclusions", "timeouts", "packageTimeouts"].includes(key))
+      problems.push(`${key}: not a known key`);
+  }
+  if ("packageTimeouts" in data) {
+    if (data.version === 1) problems.push("packageTimeouts: version 1 has no packageTimeouts (it came in version 2)");
+    for (const p of packageTimeoutProblems(data.packageTimeouts)) problems.push(`packageTimeouts: ${p}`);
   }
   if (!("exclusions" in data)) problems.push("it has no exclusions");
   else for (const p of exclusionProblems(data.exclusions)) problems.push(`exclusions: ${p}`);
@@ -170,21 +199,54 @@ export function variableSeconds(key, env = process.env) {
 
 /**
  * A timeout in milliseconds: `seconds` (the tool's option, parsed) when it is
- * given, else the phase's TB_ variable, else the file.
+ * given, else the phase's TB_ variable, else the package's entry in
+ * `packageTimeouts` when `pkg` names one that sets it, else the file's
+ * `timeouts`.
  *
  * @param {string} key   a TIMEOUT_KEYS entry
  * @param {number} [seconds]  the option's value, from optionSeconds
  * @param {object} [o]
  * @param {Record} [o.env]  the variables (default process.env)
  * @param {object} [o.harness]  the parsed file (default readHarness())
+ * @param {string} [o.pkg]  the package the run is for, as test/harness.md names it
  * @throws {HarnessError}
  */
-export function timeoutMs(key, seconds, { env = process.env, harness } = {}) {
+export function timeoutMs(key, seconds, { env = process.env, harness, pkg } = {}) {
   if (!TIMEOUT_KEYS.includes(key)) throw new Error(`not a timeout key: ${key}`);
   if (seconds !== undefined) return Math.round(seconds * 1000);
   const fromVariable = variableSeconds(key, env);
   if (fromVariable !== undefined) return Math.round(fromVariable * 1000);
-  return Math.round((harness ?? readHarness()).timeouts[key] * 1000);
+  const file = harness ?? readHarness();
+  const fromPackage = pkg === undefined ? undefined : file.packageTimeouts?.[pkg]?.[key];
+  if (fromPackage !== undefined) return Math.round(fromPackage * 1000);
+  return Math.round(file.timeouts[key] * 1000);
+}
+
+/**
+ * The options that give a tool which takes a tree, not a package (`tbrun`,
+ * `tbbuild`), the limits of `pkg`'s entry in `packageTimeouts`: one
+ * `--