Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member Not On Interface inspection doesn't trigger when member is an object with subsequent member #3700

Closed
ThunderFrame opened this issue Jan 13, 2018 · 1 comment
Labels
bug Identifies work items for known bugs feature-inspections

Comments

@ThunderFrame
Copy link
Member

This code accesses the FormatConditions property of the TextBox control, but because FormatConditions is an object, and one of its members is accessed, the Member Not On Interface inspection is not triggered:

Dim accessTextBox As Access.Control
Set accessTextBox = Me.Text0
Debug.Print accessTextBox.FormatConditions.Count

This code accesses the FormatConditions property without accessing a subsequent member, and does trigger the inspection.

  Dim accessTextBox As Access.Control
  Set accessTextBox = Me.Text0
  Dim obj As Object
  Set obj = accessTextBox.FormatConditions
@ThunderFrame ThunderFrame added bug Identifies work items for known bugs feature-inspections labels Jan 13, 2018
@retailcoder
Copy link
Member

Fixed

Semi-automatic bug tracker automation moved this from ToDo to Done Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs feature-inspections
Projects
Development

No branches or pull requests

2 participants