Skip to content

Commit 960bd6a

Browse files
authored
Merge pull request #101 from KubaO/staging
Add 2nd tranche of VB package documentation.
2 parents 675c95e + 8b25fe6 commit 960bd6a

11 files changed

Lines changed: 3395 additions & 18 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.claude/
22
CLAUDE.md
3+
/.htmltest.yml

docs/Reference/VB/CheckBox/index.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: CheckBox
33
parent: VB Package
4-
permalink: /tB/Packages/VB/CheckBox
4+
permalink: /tB/Packages/VB/CheckBox/
55
has_toc: false
66
---
77

@@ -28,7 +28,7 @@ End Sub
2828

2929
## Three-state behaviour
3030

31-
[**Value**](#value) is typed as [**CheckBoxConstants**](../VBRUN/Constants/CheckBoxConstants):
31+
[**Value**](#value) is typed as [**CheckBoxConstants**](../../VBRUN/Constants/CheckBoxConstants):
3232

3333
| Constant | Value | Meaning |
3434
|------------------|-------|--------------------------------------------------------|
@@ -68,12 +68,12 @@ Specifies the side of the box on which the [**Caption**](#caption) text appears.
6868
Syntax: *object*.**Alignment** [ = *value* ]
6969

7070
*value*
71-
: A member of [**AlignmentConstantsNoCenter**](../VBRUN/Constants/AlignmentConstantsNoCenter): **tbLeftJustify** (0, default — caption to the right of the box) or **tbRightJustify** (1 — caption to the left of the box).
71+
: A member of [**AlignmentConstantsNoCenter**](../../VBRUN/Constants/AlignmentConstantsNoCenter): **tbLeftJustify** (0, default — caption to the right of the box) or **tbRightJustify** (1 — caption to the left of the box).
7272

7373
### Appearance
7474
{: .no_toc }
7575

76-
Determines how the control's border is drawn by the OS. A member of [**AppearanceConstants**](../VBRUN/Constants/AppearanceConstants): **vbAppearFlat** or **vbAppear3d** (default).
76+
Determines how the control's border is drawn by the OS. A member of [**AppearanceConstants**](../../VBRUN/Constants/AppearanceConstants): **vbAppearFlat** or **vbAppear3d** (default).
7777

7878
### BackColor
7979
{: .no_toc }
@@ -95,7 +95,7 @@ Determines whether the previously focused control's [**Validate**](#validate) ev
9595
### ControlType
9696
{: .no_toc }
9797

98-
A read-only [**ControlTypeConstants**](../VBRUN/Constants/ControlTypeConstants) value identifying this control as a check box. Always **vbCheckBox**.
98+
A read-only [**ControlTypeConstants**](../../VBRUN/Constants/ControlTypeConstants) value identifying this control as a check box. Always **vbCheckBox**.
9999

100100
### DataField
101101
{: .no_toc }
@@ -125,7 +125,7 @@ A **StdPicture** used as the mouse cursor while the control is being drag-and-dr
125125
### DragMode
126126
{: .no_toc }
127127

128-
Whether the control should drag itself when the user holds the mouse over it. A member of [**DragModeConstants**](../VBRUN/Constants/DragModeConstants): **vbManual** (0, default — call [**Drag**](#drag) from code) or **vbAutomatic** (1).
128+
Whether the control should drag itself when the user holds the mouse over it. A member of [**DragModeConstants**](../../VBRUN/Constants/DragModeConstants): **vbManual** (0, default — call [**Drag**](#drag) from code) or **vbAutomatic** (1).
129129

130130
### Enabled
131131
{: .no_toc }
@@ -181,7 +181,7 @@ A **StdPicture** used as the mouse cursor when [**MousePointer**](#mousepointer)
181181
### MousePointer
182182
{: .no_toc }
183183

184-
The mouse cursor shown when the pointer is over the control. A member of [**MousePointerConstants**](../VBRUN/Constants/MousePointerConstants).
184+
The mouse cursor shown when the pointer is over the control. A member of [**MousePointerConstants**](../../VBRUN/Constants/MousePointerConstants).
185185

186186
### Name
187187
{: .no_toc }
@@ -191,7 +191,7 @@ The unique design-time name of the control on its parent form. Read-only at run
191191
### OLEDropMode
192192
{: .no_toc }
193193

194-
How the control responds to OLE drops. A restricted member of [**OLEDropConstants**](../VBRUN/Constants/OLEDropConstants): **vbOLEDropNone** or **vbOLEDropManual**. Automatic-drop mode is not supported on a CheckBox.
194+
How the control responds to OLE drops. A restricted member of [**OLEDropConstants**](../../VBRUN/Constants/OLEDropConstants): **vbOLEDropNone** or **vbOLEDropManual**. Automatic-drop mode is not supported on a CheckBox.
195195

196196
### Opacity
197197
{: .no_toc }
@@ -206,7 +206,7 @@ The number of pixels of empty space inserted between the picture and the caption
206206
### Parent
207207
{: .no_toc }
208208

209-
A reference to the [**Form**](Form) (or **UserControl**) that contains this control. Read-only.
209+
A reference to the [**Form**](../Form) (or **UserControl**) that contains this control. Read-only.
210210

211211
### Picture
212212
{: .no_toc }
@@ -216,7 +216,7 @@ A **StdPicture** drawn on the control when [**Style**](#style) is **vbButtonGrap
216216
### PictureAlignment
217217
{: .no_toc }
218218

219-
How [**Picture**](#picture) is positioned relative to the caption when [**Style**](#style) is **vbButtonGraphical**. A member of [**AlignConstants**](../VBRUN/Constants/AlignConstants): **vbAlignNone**, **vbAlignTop** (default), **vbAlignBottom**, **vbAlignLeft**, **vbAlignRight**.
219+
How [**Picture**](#picture) is positioned relative to the caption when [**Style**](#style) is **vbButtonGraphical**. A member of [**AlignConstants**](../../VBRUN/Constants/AlignConstants): **vbAlignNone**, **vbAlignTop** (default), **vbAlignBottom**, **vbAlignLeft**, **vbAlignRight**.
220220

221221
### PictureDpiScaling
222222
{: .no_toc }
@@ -232,7 +232,7 @@ When **True**, scales [**Picture**](#picture), [**DownPicture**](#downpicture),
232232
### Style
233233
{: .no_toc }
234234

235-
Selects between the standard Win32 check-box appearance and an owner-drawn graphical button. A member of [**ButtonConstants**](../VBRUN/Constants/ButtonConstants): **vbButtonStandard** (0, default) or **vbButtonGraphical** (1). Changing **Style** at run time recreates the underlying window.
235+
Selects between the standard Win32 check-box appearance and an owner-drawn graphical button. A member of [**ButtonConstants**](../../VBRUN/Constants/ButtonConstants): **vbButtonStandard** (0, default) or **vbButtonGraphical** (1). Changing **Style** at run time recreates the underlying window.
236236

237237
### TabIndex
238238
{: .no_toc }
@@ -278,7 +278,7 @@ The current state of the check box. **Default property.**
278278
Syntax: *object*.**Value** [ = *value* ]
279279

280280
*value*
281-
: A member of [**CheckBoxConstants**](../VBRUN/Constants/CheckBoxConstants): **vbUnchecked** (0), **vbChecked** (1), or **vbGrayed** (2). Negative numbers raise run-time error 380.
281+
: A member of [**CheckBoxConstants**](../../VBRUN/Constants/CheckBoxConstants): **vbUnchecked** (0), **vbChecked** (1), or **vbGrayed** (2). Negative numbers raise run-time error 380.
282282

283283
Assigning a value that differs from the current one raises a [**Click**](#click) event.
284284

@@ -312,7 +312,7 @@ Begins, completes, or cancels a manual drag-and-drop operation. Typically called
312312
Syntax: *object*.**Drag** [ *Action* ]
313313

314314
*Action*
315-
: *optional* A member of [**DragConstants**](../VBRUN/Constants/DragConstants): **vbCancel** (0), **vbBeginDrag** (1, default), or **vbEndDrag** (2).
315+
: *optional* A member of [**DragConstants**](../../VBRUN/Constants/DragConstants): **vbCancel** (0), **vbBeginDrag** (1, default), or **vbEndDrag** (2).
316316

317317
### Move
318318
{: .no_toc }
@@ -363,7 +363,7 @@ Brings the control to the front or back of its sibling stack.
363363
Syntax: *object*.**ZOrder** [ *Position* ]
364364

365365
*Position*
366-
: *optional* A member of [**ZOrderConstants**](../VBRUN/Constants/ZOrderConstants): **vbBringToFront** (0, default) or **vbSendToBack** (1).
366+
: *optional* A member of [**ZOrderConstants**](../../VBRUN/Constants/ZOrderConstants): **vbBringToFront** (0, default) or **vbSendToBack** (1).
367367

368368
## Events
369369

docs/Reference/VB/Form/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Form
33
parent: VB Package
44
permalink: /tB/Packages/VB/Form/
55
has_toc: false
6-
redirect_from:
7-
- /tB/Packages/VB/Form
86
---
97

108
# Form class

0 commit comments

Comments
 (0)