summaryrefslogtreecommitdiff
path: root/wizards/source/access2base/Dialog.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/access2base/Dialog.xba')
-rw-r--r--wizards/source/access2base/Dialog.xba5
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/source/access2base/Dialog.xba b/wizards/source/access2base/Dialog.xba
index 244f5a11be83..935f7cf7debc 100644
--- a/wizards/source/access2base/Dialog.xba
+++ b/wizards/source/access2base/Dialog.xba
@@ -305,9 +305,9 @@ Dim vProperty As Variant, vPropertiesList() As Variant, sObject As String
vPropertiesList = _PropertiesList()
sObject = Utils._PCase(_Type)
If IsMissing(pvIndex) Then
- vProperty = PropertiesGet._Properties(sObject, _Name, vPropertiesList)
+ vProperty = PropertiesGet._Properties(sObject, _This, vPropertiesList)
Else
- vProperty = PropertiesGet._Properties(sObject, _Name, vPropertiesList, pvIndex)
+ vProperty = PropertiesGet._Properties(sObject, _This, vPropertiesList, pvIndex)
vProperty._Value = _PropertyGet(vPropertiesList(pvIndex))
End If
@@ -363,6 +363,7 @@ Dim j As Integer
Set oCounter._This = oCounter
oCounter._CollType = COLLCONTROLS
oCounter._Count = iControlCount
+ Set oCounter._Parent = _This
Set Controls = oCounter
Goto Exit_Function
End If