Reply to: Tooltips XMAX 10.0May 6, 2016 at 6:01 pm
I can reproduce this with VB.NET here. We've discovered an old bug in the code dating way back to XMAX 7 when we introduced a bunch of properties that allow you to set things that in XMetaL Author are set using INI settings and through its built-in UI.
Boolean values for run-time properties sent to XMAX by VB.NET in this case are being read in as -1 and 0 instead of 1 and 0 (what most languages use to represent true and false). The code we have for dealing with these properties should handle them no matter what the containing language is. We'll add fixes for these properties for XMAX 11.
In the meantime, you can work around this by setting the property after XMAX has been instantiated. Here's a VB example with the important bit highlighted in red:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim docStr, xacPath As String
docStr = "
xacPath = "C:xacFilesdoc.xac"
AxXMetaLControl1.LoadFromString(docStr, xacPath, XMetaLControlLib.SQDocViewType.sqViewTagsOn, True)
AxXMetaLControl1.ShowTagTips = True