General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Attribute hover on "Normal View" screen

  • AmitElhanan

    Attribute hover on "Normal View" screen

    Participants 2
    Replies 3
    Last Activity 4 years, 3 months ago

    Is there a way to get the attribute hover that works on the “Tags On View” to work in the “Normal View”?

    Using XMetaL Author Enterprise 10.0

    Reply

    Derek Read

    Reply to: Attribute hover on "Normal View" screen

    Popping something up in Normal view in the same way it appears in Tags On view would tend to get in the way I think, at least if the same gesture was used.

    The only thing I can think of that might give you some bit of similar functionality immediately using existing functionality and that wouldn't get in the way would be to display something in the status bar. There isn't a lot of room in there though, so I think you'd want to limit which attributes are being displayed to one or two.

    The following would give you that functionality, provided it doesn't conflict with another macro already in your customization(s) that is displaying information in there:

    [code]var attrs = [“id”,”href”]; var msg = “”;
    for(i=0;i msg += attrs + “=””;
    msg += Selection.ContainerAttribute(attrs
    ) + “”  “;
    }
    Application.SetStatusText(msg);
    ]]>
    [/code]

    I don't think that is much better than having the Attribute Inspector open but you might feel otherwise. One benefit might be that displaying this information in the status bar kind of makes sense because you don't really know exactly what you have selected in Normal view unless you look at the mini-context to see which element you are in (and that appears just above the status bar, so you're looking in the same place).

    Reply

    Derek Read

    Reply to: Attribute hover on "Normal View" screen

    This somewhat related idea might also be useful:
    http://forums.xmetal.com/index.php/topic,738.0.html

    Reply

    AmitElhanan

    Reply to: Attribute hover on "Normal View" screen

    Thank you Derek,

    I'll give these suggestions a shot.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support