Skip to content

Commit df12bda

Browse files
authored
minor add-in optimizations (#34)
1 parent aca5ccf commit df12bda

File tree

14 files changed

+14866
-26
lines changed

14 files changed

+14866
-26
lines changed

access-add-in/AccUnitLoader.accda

56 KB
Binary file not shown.

access-add-in/AccUnitLoader.accda.src/forms/AccUnitUserSettings.bas

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Begin Form
1919
ItemSuffix =209
2020
Left =3855
2121
Top =3030
22-
Right =14430
23-
Bottom =13815
22+
Right =17078
23+
Bottom =13695
2424
RecSrcDt = Begin
2525
0x212b6fd80e9ce340
2626
End
@@ -268,13 +268,16 @@ Begin Form
268268
Begin TextBox
269269
OverlapFlags =85
270270
TextAlign =1
271+
TextFontFamily =49
271272
IMESentenceMode =3
272273
Left =2318
273274
Top =1868
274275
Width =9072
275276
Height =2835
277+
FontSize =10
276278
TabIndex =5
277279
Name ="txtTestMethodTemplate"
280+
FontName ="Consolas"
278281
GroupTable =2
279282
BottomPadding =0
280283
HorizontalAnchor =2

access-add-in/AccUnitLoader.accda.src/tables/USys_AppFiles.xml

Lines changed: 14735 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<dataroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<tab1DS>
4+
<id>1</id>
5+
<ShowInfoForm>0</ShowInfoForm>
6+
</tab1DS>
7+
</dataroot>

access-add-in/AccUnitLoader.accda.src/tbldefs/ACLib_ConfigTable.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

access-add-in/AccUnitLoader.accda.src/tbldefs/ACLib_ConfigTable.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

access-add-in/AccUnitLoader.accda.src/vcs-options.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"UseFastSave": true,
1010
"UseMergeBuild": false,
1111
"UseGitIntegration": false,
12-
"SavePrintVars": true,
12+
"SavePrintVars": false,
1313
"ExportPrintSettings": {
1414
"Orientation": true,
1515
"PaperSize": true,
@@ -42,6 +42,15 @@
4242
"SanitizeLevel": 2,
4343
"ExtractThemeFiles": false,
4444
"TablesToExportData": {
45+
"ACLib_ConfigTable": {
46+
"Format": "XML Format"
47+
},
48+
"tab1DS": {
49+
"Format": "XML Format"
50+
},
51+
"USys_AppFiles": {
52+
"Format": "XML Format"
53+
},
4554
"USysRegInfo": {
4655
"Format": "Tab Delimited"
4756
},

excel-add-in/AccUnitLoader.xlam

62.7 KB
Binary file not shown.

excel-add-in/customUI/customUI.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
size="normal" imageMso="VisualBasicReferences"
1414
onAction="RemoveAccUnitTlbReferenceRCB" />
1515
</group>
16-
<group id="AccUnitTestsGrp" label="AccUnit Test Environment">
16+
<group id="AccUnitTestEnvironmentGrp" label="AccUnit Test Environment">
1717
<button id="AccUnitLoaderInsertFactoryBtn" label="Insert/Update AccUnit Factory"
1818
size="large" imageMso="CreateModule"
1919
onAction="InsertFactoryModuleRCB" />
@@ -26,6 +26,8 @@
2626
<button id="AccUnitLoaderRemoveEnvironment1Btn" label="Remove Test Environment"
2727
size="large" imageMso="Delete"
2828
onAction="RemoveTestEnvironmentDelTestsRCB" />
29+
</group>
30+
<group id="AccUnitTestsGrp" label="Test">
2931
<button id="TestSuiteRunAllFromVBProjectBtn" label="Run All Tests"
3032
size="large" imageMso="SourceControlRun"
3133
onAction="TestSuiteRunAllFromVBProjectRCB" />

excel-add-in/source/AccUnitLoaderForm.frm

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,24 +132,20 @@ On Error GoTo HandleErr
132132
With mnu
133133
Set .AccessForm = Me
134134
.UserFormCaption = Me.Caption
135-
136135
Set .MenuControl = Me.cmdOpenMenu
137-
138-
' .ControlSection = acDetail
139136

140137
#If DEVMODE = 1 Then
141-
.AddMenuItem -99, "", MF_SEPARATOR
142138
.AddMenuItem -1, "For AccUnit developers:", MF_STRING + MF_GRAYED
143139
.AddMenuItem 11, "Import AccUnit files from directory"
140+
.AddMenuItem -2, "", MF_SEPARATOR
144141
#End If
145142

146143
If ThisWorkbook.CustomDocumentProperties.Count >= 5 Then
147-
.AddMenuItem -2, "", MF_SEPARATOR
148144
.AddMenuItem 21, "Export AccUnit files to directory"
149145
.AddMenuItem 22, "Remove AccUnit files from Add-In file"
146+
.AddMenuItem -3, "", MF_SEPARATOR
150147
End If
151148

152-
.AddMenuItem -3, "", MF_SEPARATOR
153149
.AddMenuItem 31, "Remove test environment incl. test classes"
154150
.AddMenuItem 32, "Remove test environment (keep test classes)"
155151

@@ -294,7 +290,7 @@ End Sub
294290

295291

296292
Private Sub cmdUserSettings_Click()
297-
' DoCmd.OpenForm "AccUnitUserSettings", acNormal, , , , acDialog
293+
AccUnitUserSettings.Show 1
298294
End Sub
299295

300296
Private Sub txtAccUnitDllPath_AfterUpdate()

0 commit comments

Comments
 (0)