Results 1 to 9 of 9

Thread: Jump to (property or value) not possible (for class or usercontrol)

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    578

    Question 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.

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,891

    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    578

    Re: Jump to (property or value) not possible (for class or usercontrol)

    There you go.
    Note that it's not a runtime error.
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by tmighty2; Oct 5th, 2024 at 11:51 AM.

  4. #4
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,891

    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.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    578

    Re: Jump to (property or value) not possible (for class or usercontrol)

    Sorry, I wasn't aware. I have updated the post.

  6. #6
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,609

    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.

  7. #7
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,206

    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.

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    578

    Re: Jump to (property or value) not possible (for class or usercontrol)

    This description does not fit the error unfortunately.

  9. #9
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,464

    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
  •  



Click Here to Expand Forum to Full Width