Posted 13 years ago by netme
Version: 3.1.0213
Avatar
1. Can I change the automatic hint of an collapsed outlined node such that it won't be the same as the actual text?
2. Can I hide the automatic hint that pops up when I move the mouse over the collapsed node?
3. Can I hide the expand/collapse outlining image (I want to have collapsed nodes that cannot be expanded)?

Thanks

Comments (3)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
1) Yes, in v3.1 the TokenMouseHover event will fire right before the hint is displayed. Its event args will have a ToolTipText already set to the automated hint. You can change that if you want. Also the event arg's IsCollapsedNode will be true in that case. v4.0 has a similar concept but it is in the more generic ViewMouseHover event.

2) Yes, if you set that ToolTipText to null in the event handler listed above.

3) Sorry but I don't think that is possible right now.


Actipro Software Support

Posted 13 years ago by netme
Avatar
Regarding issue number 2), here is what I do:

private void txtExpression_TokenMouseEnter(object sender, TokenMouseEventArgs e)
{
e.ToolTipText = null;
}


The e.ToolTipText is always null, changing it does not do anything.
Am I missing something here?

Currently, I tried it on: SyntaxEditor 3.1.0210

Cheers
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes, it's the TokenMouseHover event, not TokenMouseEnter.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 24 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.