-
Oct 5th, 2024, 06:21 AM
#1
Thread Starter
Fanatic Member
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.
-
Oct 5th, 2024, 09:34 AM
#2
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.
-
Oct 5th, 2024, 09:41 AM
#3
Thread Starter
Fanatic Member
-
Oct 5th, 2024, 11:47 AM
#4
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.
-
Oct 5th, 2024, 11:52 AM
#5
Thread Starter
Fanatic Member
Re: Jump to (property or value) not possible (for class or usercontrol)
Sorry, I wasn't aware. I have updated the post.
-
Oct 6th, 2024, 09:47 AM
#6
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.
https://github.com/yereverluvinunclebert
Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.
By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.
-
Oct 7th, 2024, 02:05 AM
#7
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:
Code:
---------------------------
Microsoft Visual Basic
---------------------------
Cannot jump to 'Update' because it is hidden
---------------------------
OK Help
---------------------------
MSDN:
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.
-
Oct 7th, 2024, 02:32 PM
#8
Thread Starter
Fanatic Member
Re: Jump to (property or value) not possible (for class or usercontrol)
This description does not fit the error unfortunately.
-
Oct 7th, 2024, 05:28 PM
#9
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|