Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions access-add-in/source/forms/AccUnitUserSettings.cls
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ End Sub
Private Sub LoadDataFromSettings()
With m_UserSettings
Me.txtImportExportFolder.Value = .ImportExportFolder
Me.cboImportExportEncoding.Value = .ImportExportEncoding
Me.txtTemplateFolder.Value = .TemplateFolder
Me.txtTestClassNameFormat.Value = .TestClassNameFormat
Me.txtTestMethodTemplate.Value = Replace(.TestMethodTemplate, vbTab, TabSpaces)
Expand All @@ -62,6 +63,7 @@ End Sub
Private Sub SaveDataToSettings()
With m_UserSettings
.ImportExportFolder = Me.txtImportExportFolder.Value
.ImportExportEncoding = Me.cboImportExportEncoding.Value
.TemplateFolder = Me.txtTemplateFolder.Value
.TestClassNameFormat = Me.txtTestClassNameFormat.Value
.TestMethodTemplate = Replace(Me.txtTestMethodTemplate.Value, TabSpaces, vbTab)
Expand Down
94 changes: 76 additions & 18 deletions access-add-in/source/forms/AccUnitUserSettings.form
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Begin Form
GridY =10
Width =11520
DatasheetFontHeight =11
ItemSuffix =209
ItemSuffix =211
Left =1000
Top =1000
Right =50000
Expand Down Expand Up @@ -85,6 +85,14 @@ Begin Form
BorderColor =12632256
FontName ="Calibri"
End
Begin ComboBox
BorderLineStyle =0
Width =1701
LabelX =-1701
FontSize =11
BorderColor =12632256
FontName ="Calibri"
End
Begin ToggleButton
Width =283
Height =283
Expand All @@ -99,7 +107,7 @@ Begin Form
GridlineShade =65.0
End
Begin Section
Height =5460
Height =6060
Name ="Detail"
Begin
Begin TextBox
Expand Down Expand Up @@ -196,20 +204,25 @@ Begin Form
End
End
End
Begin TextBox
Begin ComboBox
LimitToList = NotDefault
RowSourceTypeInt =1
OverlapFlags =85
TextAlign =1
IMESentenceMode =3
ColumnCount =2
Left =2340
Top =1320
Width =9060
Height =420
TabIndex =3
Name ="txtTemplateFolder"
Name ="cboImportExportEncoding"
RowSourceType ="Value List"
RowSource ="0;\"UTF-8 with BOM\";1;\"ANSI\""
ColumnWidths ="0;9060"
GroupTable =2
BottomPadding =150
HorizontalAnchor =2
ShowDatePicker =0

RowStart =2
RowEnd =2
Expand All @@ -227,8 +240,8 @@ Begin Form
Top =1320
Width =2160
Height =420
Name ="Label132"
Caption ="TemplateFolder:"
Name ="lblImportExportEncoding"
Caption ="ImportExportEncoding:"
GroupTable =2
RightPadding =0
BottomPadding =150
Expand All @@ -244,14 +257,59 @@ Begin Form
Begin TextBox
OverlapFlags =85
TextAlign =1
TextFontFamily =49
IMESentenceMode =3
Left =2340
Top =1920
Width =9060
Height =420
TabIndex =4
Name ="txtTemplateFolder"
GroupTable =2
BottomPadding =150
HorizontalAnchor =2
ShowDatePicker =0

RowStart =3
RowEnd =3
ColumnStart =1
ColumnEnd =1
LayoutGroup =1
GridlineThemeColorIndex =1
GridlineShade =65.0
GroupTable =2
Begin
Begin Label
OverlapFlags =85
TextAlign =1
Left =120
Top =1920
Width =2160
Height =420
Name ="Label132"
Caption ="TemplateFolder:"
GroupTable =2
RightPadding =0
BottomPadding =150
RowStart =3
RowEnd =3
LayoutGroup =1
GridlineThemeColorIndex =1
GridlineShade =65.0
GroupTable =2
End
End
End
Begin TextBox
OverlapFlags =85
TextAlign =1
TextFontFamily =49
IMESentenceMode =3
Left =2340
Top =2520
Width =9060
Height =2820
FontSize =10
TabIndex =5
TabIndex =6
Name ="txtTestMethodTemplate"
FontName ="Consolas"
GroupTable =2
Expand All @@ -260,8 +318,8 @@ Begin Form
VerticalAnchor =2
ShowDatePicker =0

RowStart =3
RowEnd =3
RowStart =4
RowEnd =4
ColumnStart =1
ColumnEnd =1
LayoutGroup =1
Expand All @@ -273,7 +331,7 @@ Begin Form
OverlapFlags =85
TextAlign =1
Left =120
Top =1920
Top =2520
Width =2160
Height =2820
Name ="Label134"
Expand All @@ -282,8 +340,8 @@ Begin Form
RightPadding =0
BottomPadding =0
VerticalAnchor =2
RowStart =3
RowEnd =3
RowStart =4
RowEnd =4
LayoutGroup =1
GridlineThemeColorIndex =1
GridlineShade =65.0
Expand All @@ -294,9 +352,9 @@ Begin Form
Begin CommandButton
OverlapFlags =85
Left =9689
Top =4860
Top =5460
Height =454
TabIndex =6
TabIndex =7
Name ="cmdCommit"
Caption ="Save"
OnClick ="[Event Procedure]"
Expand All @@ -307,9 +365,9 @@ Begin Form
Cancel = NotDefault
OverlapFlags =85
Left =113
Top =4860
Top =5460
Height =454
TabIndex =4
TabIndex =5
Name ="cmdCancel"
Caption ="Cancel"
OnClick ="[Event Procedure]"
Expand Down