I received three responses to my question and I wish
to thank the responders.
Here is the question:
With mapx 4.0x, it's possible to display
info tips when using MapX Tools or custom tools. Those tips display the
content of the first column of an item (a bitmap objects for example).
Is it possible to display custom
informations or the content of another column than the first one using those
tips ?
Here are the answers:
Jeff James wrote:
Yes you can. The tool tip shows the same
data as the labels. Just set the dataset column and data field for the
labels, and the tooltip should change to relect the new values as well.
(Also, I *think* you can set the labels to an expression, similar to
MapBasic, in MapX 4.0, although you can't do that through the layer dialog.)
Yas NaKayama wrote:
In Mapx3.x.. MapX was able to show only one
line of tooltiptext, now I have heard that in MapX4.0 you can show multiple
columns, which I am not sure since I have not had chance to test it.
In order to show a diff. column, you need to
get a dataset for that layer if mapInfo layer then find that object's
dataset to extract the data, then assign MapX1.TooltipText = "" to show as
tooltiptext.
If you are wanting to show a multiple
columns, you may have to create some kind of custom control to show a
multiple line info
Peter Elphick wrote:
Using VB (as I do) or presumably any other
Language to host MapX, you can program the system to display whatever
tooltips you like from the data accessible in the application. In one
application, I programmed the mousemove event to searchpoint the map object
at the mouse's current coordinates and set the map object's tooltip property
to the keyvalue of whatever features it found, giving a similar result to
Mapinfo Pro.
Serge Bedard
GeoCom TMS
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]