Skip to content

Commit c26aef6

Browse files
authored
Merge pull request #11 from AccessCodeLib/dev
Document IncludeUsedMembers in RunVcsCheck API docs
2 parents 339a11e + 6d0aad8 commit c26aef6

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ The complete Access menu add-in is [ACLibDeclarationDictionaryAddIn](https://git
99

1010
## API
1111

12-
### RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath]) As Variant
12+
### RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath], [IncludeUsedMembers]) As Variant
1313
Compare lettercase from CurrentVbProject with saved file dictionary items
1414

1515
#### Parameters
1616
- OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase
1717
- DeclDictFilePath - (String) - use alternative dictionary file path
18+
- IncludeUsedMembers - (Boolean) - also add used members to the dictionary (default: False)
1819

1920
#### Returns
2021
- Boolean (True) ... if DiffCount = 0
@@ -33,4 +34,4 @@ End If
3334
```
3435

3536
### RunVcsCheckDialog()
36-
Equal to RunVcsCheck(True)
37+
Equal to RunVcsCheck(True, , True)

‎source/modules/_AddInAPI.bas‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ End Function
3535
'
3636
' Parameters:
3737
' OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase
38+
' DeclDictFilePath - (String) - Use alternative dictionary file path
39+
' IncludeUsedMembers - (Boolean) - Also add used members to the dictionary (default: False)
3840
'
3941
' Returns:
4042
' Boolean (True) ... if DiffCount = 0

‎source/tables/USysAPI.xml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<dataroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
33
<USysAPI>
4-
<ProcName>RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath]) As Variant</ProcName>
4+
<ProcName>RunVcsCheck([OpenDialogToFixLettercase], [DeclDictFilePath], [IncludeUsedMembers]) As Variant</ProcName>
55
<Description>&lt;div&gt;&lt;font size=2&gt;Compare lettercase from CurrentVbProject with saved (table/file) dictionary items&lt;/font&gt;&lt;/div&gt;
66

77
&lt;div&gt;&lt;font size=2&gt;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;
@@ -12,6 +12,7 @@
1212

1313
&lt;div&gt;&lt;font size=2&gt;OpenDialogToFixLettercase - (Boolean) - Open dialog to fix lettercase&lt;/font&gt;&lt;/div&gt;
1414
&lt;div&gt;&lt;font size=2&gt;DeclDictFilePath - (String) - use alternative dictionary file path&lt;/font&gt;&lt;/div&gt;
15+
&lt;div&gt;&lt;font size=2&gt;IncludeUsedMembers - (Boolean) - also add used members to the dictionary (default: False)&lt;/font&gt;&lt;/div&gt;
1516

1617
&lt;/blockquote&gt;
1718

@@ -50,7 +51,7 @@
5051
</USysAPI>
5152
<USysAPI>
5253
<ProcName>RunVcsCheckDialog()</ProcName>
53-
<Description>&lt;div&gt;Equal to &lt;b&gt;RunVcsCheck(True)&lt;/b&gt;&lt;/div&gt;</Description>
54+
<Description>&lt;div&gt;Equal to &lt;b&gt;RunVcsCheck(True, , True)&lt;/b&gt;&lt;/div&gt;</Description>
5455
<OrderPos>3</OrderPos>
5556
</USysAPI>
5657
</dataroot>

0 commit comments

Comments
 (0)