Tooltip with Autocomplete

Post a reply

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review

Expand view Topic review: Tooltip with Autocomplete

Re: Tooltip with Autocomplete

Post by robert » Fri May 17, 2013 3:29 am

If a BasicCompletion's getShortDescription() method returns an HTML snippet, it is rendered in a tool tip-like documentation window along-side the completion choices, similar to populare IDE's. For this to happen though, you have to call setShowDescWindow(true) on your AutoCompletion instance first.

This isn't actually a FocusableTip, but it's essentially the same thing - a popup window that the user can click in, move around, and copy/paste from.

Tooltip with Autocomplete

Post by Azlan » Tue May 14, 2013 10:32 pm

How do I use a FocusableToolTip with autocompletion? I'm using BasicCompletion's right now, so is there any way to attach the tooltip to a BasicCompletion or do have to use another kind of Completion?