Jump to (property or value) not possible (for class or usercontrol)
Hello!
When I want to jump to a method or properties, I right-click it in the codeline and then I select "Definition". This way I can jump to another form's code or to another module's code.
When I do this for a property of a usercontrol or class, I get the message "Can't jump to [XY] because it is not shown" ("not shown" is a translation of my VB6's error message which is not English, I didn't find the error message in English).
I thought it was a god given fact that this is just not possible, until recently, when I changed something, and suddenly it would work for classes and usercontrols, it felt like a new world.
Now I get these messages again, and I can not no longer jump into usercontrols and classes.
Can anyone help / shed light on this?
Thank you.
Re: Jump to (property or value) not possible (for class or usercontrol)
Perhaps you could share the relevant code? Also, does this error message which isn't in english have an error code? I believe you can copy it using alt+c if you want to copy it and post it here.
2 Attachment(s)
Re: Jump to (property or value) not possible (for class or usercontrol)
There you go.
Note that it's not a runtime error.
Re: Jump to (property or value) not possible (for class or usercontrol)
The forum automatically resized it, now it's unreadable. Could you try the following while the error message is displayed: press ctr+alt+c, it should copy the text contained in the messagebox to the clipboard. Either that, or crop the screenshot before posting it.
Re: Jump to (property or value) not possible (for class or usercontrol)
Sorry, I wasn't aware. I have updated the post.
Re: Jump to (property or value) not possible (for class or usercontrol)
It is in German... Not many Englisch-sprechers hier will have encountered it. Find out what the text ought to be in English, possibly change Windows language and then let us know.
Re: Jump to (property or value) not possible (for class or usercontrol)
This message is show when you do a right click on a property/method of a usercontrol and choose "Definition"
hcReport(0) is a usercontrol on a Form
Code:
Public Sub Update()
hcReport(0).Update
End Sub
If I put the mousepointer on .Update and choose "Definition" the following message a is shown:
Quote:
Code:
---------------------------
Microsoft Visual Basic
---------------------------
Cannot jump to 'Update' because it is hidden
---------------------------
OK Help
---------------------------
MSDN:
Quote:
Cannot display specified name because it is hidden
Some names exist in a type library, but are marked as hidden. This error has the following causes and solutions:
- You specified a name that is in the type library, but it is marked as hidden.
You cannot normally view hidden type library members. Choose Show Hidden Members on the object browser context menu to make hidden members visible. You can then view the member information.
For additional information, select the item in question and press F1.
Re: Jump to (property or value) not possible (for class or usercontrol)
This description does not fit the error unfortunately.
Re: Jump to (property or value) not possible (for class or usercontrol)
Maybe you can write a plug-in directly to implement this function. Like your current mouse position. Which object and which attribute are corresponding? What type is the object?Then the plug-in automatically opens the custom control and locates the method, function, or structure.