Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
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 ?
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.
No, if I don't override the tooltip, so when I move the mouse over fields the informations changes
Then the issue is in your code. Would you mind sharing your code? It would make it much easier to troubleshoot.
this is my code
public str toolTip()
return strFmt("@SPL803", WHSShipmentTableUnassignedAddress.ZipCode, WHSShipmentTableUnassignedAddress.CountryRegionId);
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.
I guess, you have to revisit your requirement. Too much effort just to avoid a single click (select another record) ??
Ok, thanks Nikolaos
is a business requirement
Business Applications communities