Reputation:
I am a newbie for Visual Basic 6 project. I downloaded some tutorials for testing; however, I am not able to drag, move, or edit the UI form designer objects in those projects.
Does anybody know there is an object lock function in VB6?
If there is, how can I unlock it?
Upvotes: 1
Views: 3678
Reputation: 163
I read this in a post, it was the following google search link after this one for 'vb6 unlock drag move'. It worked for me.
This may not be the problem but it's something that you can check: There's a hidden setting (Microsoft even hides settings from programmers!) that will cause controls to be unmoveable. Open the .FRM file in Notepad. If it contains a line: LockControls = -1 then remove that line.
Original poster was named 'Mayayana' at: http://bytes.com/topic/visual-basic/answers/14881-cant-move-controls-form
Upvotes: 3
Reputation: 54127
Are you saying that you're in the VB6 forms designer, and you cannot move any of the controls on the form?
If that's the case, I seem to remember that there's a "locked" property for the form - the setting for it should be in the properties window.
Hope that helps...
Upvotes: 3