I am trying to display a box that can be edited with text (rtf style, color, fonts and other effects such as hyperlinks) and where I can also place pictures and images. I would like this to work the same way as the tooltip, i.e. once the mouse hovers over the object (shape) I would need this box to appear, OR it can be in an seperate window inside the view which gets updated depending on the hovering context. So far, the only thing i succeded to do is to register to the GoView.ObjectEnterLeave event and show the tooltip message, yet, like I mentioned above I would like to make this a much more powerful interface than just a black string of text.
If you had any suggestions for the best way to achieve what I am trying to do it would be greatly appreciated.
There’s a sample of how to use RichText in the Demo1 application. But Windows tooltips are defined by the system to just be simple text, so if you want a fancier pop-up than that, you’ll have to build it yourself with Go (using GoObjects to display the fancy tooltop).
It’s not too hard… just use the GoView.ObjectHover event and then display the GoObject(s) you want, with a timer to remove it.