Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

ToolTip Method

(0) ShareShare
ReportReport
Posted on by 75

Hi,

I have overridden the ToolTip method on control in the form-design

When I move the mouse over fields, the tooltip (information shown) seems to be always generated from the current selected record, this is not the one under the mouse cursor.

How can I fix it please ?

Regards

*This post is locked for comments

  • DJosef Profile Picture
    75 on at
    RE: ToolTip Method

    Hi Crispin,

    is a business requirement

  • DJosef Profile Picture
    75 on at
    RE: ToolTip Method

    Ok, thanks Nikolaos

  • Verified answer
    nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: ToolTip Method

    Your method always uses the record that you have in WHSShipmentTableUnassignedAddress variable, which is the active method of the data source.

    You would need to get the record of the data source fields that is under your mouse cursor when the tooltip is displayed. I don't see in the overridable methods of grid or form field anything that would help you, so I don't know if it's possible.

    The reason why you created this override was that some standard tooltip for Zip code was not working correctly (community.dynamics.com/.../299642).

    I think it might not possible to fix this yourself for grid fields. So you might want to create a supporte request to Microsoft.

  • DJosef Profile Picture
    75 on at
    RE: ToolTip Method

    this is my code

    public str toolTip()
    {
        return strFmt("@SPL803", WHSShipmentTableUnassignedAddress.ZipCode, WHSShipmentTableUnassignedAddress.CountryRegionId);
    
    }


  • nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: ToolTip Method

    Then the issue is in your code. Would you mind sharing your code? It would make it much easier to troubleshoot.

  • DJosef Profile Picture
    75 on at
    RE: ToolTip Method

    Hi Nikolaos,

    No, if I don't override the tooltip, so when I move the mouse over fields the informations changes

  • Suggested answer
    nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: ToolTip Method

    Is this related to the overriding in any way? I mean if you don't override the tooltip, does it also then generate the tooltip based on the selected record? Does this happen in all forms or only some specific form?

    To me it sounds it might be a kernel issue / bug and in that case it's very probable that you can't fix it (and why should you fix the bugs of the standard product?). Instead you should create a support request for Microsoft and ask them to fix it.

    To me it looks the tooltip feature works wrong in some places. For example Global address book list page. For the City field, the tooltip shows always empty in my environment. But for the Zip code it shows the data based on the record I'm hovering on.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans