VB 2017 Controls Locked and Properties Greyed Out

Jeffrey 21 Reputation points
2021-04-07T01:36:47.45+00:00

Grey boxes appear in the top left corner of all form controls. All control properties are greyed out. All controls and properties are uneditable. Does anyone know how to fix this?

85063-image.png

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,879 questions
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 122.1K Reputation points
    2021-04-07T12:45:47.053+00:00

    Usually a form inherits System.Windows.Form class, but it seems that your form is derived from another form (that contains the shown controls). It is not clear if this was done purposely.

    You can back-up your files and try fixing the *.Designer.vb files manually. Show the beginning of this file, which contains the Inherits statement.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jeffrey 21 Reputation points
    2021-04-07T16:45:11.297+00:00

    My mistake. This is indeed the derived form, not the source form.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.