On Sunday, April 3, 2016 at 3:40:11 AM UTC-7, Hegart Dmishiv wrote:
>
> Hi all,
>
> I have finally mastered the *<$select>* widget, but it has left me 
> wanting a *<$combobox>* widget as well.....I know we have the original 
> inventor of the combobox itself, lurking around here somewhere, hehe.
>

Ok.... here's my ComboBox macro.... (note: this is NOT officially published 
yet, and is subject to change without regard to backward-compatibility.

http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox

and here's some (preliminary) documentation:

http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox%2Finfo

The combo box appears as a basic text input field, except that when you 
mouse over it, a down arrow button appears, allowing you to display a list 
of items to select from (using a filter you specify as a macro parameter). 
 Depending upon optional parameters, you can have the list also appear as 
soon as you begin to type into the input field, and also have the list 
progressively filtered to only items that 'match' the current input value.

In addition to the basic edit/list combination, the macro also permits you 
to specify an "okaction" parameter (see examples) that performs action(s) 
based on the contents of the input field.  When an okaction is provided, 
mousing over the input field shows ok and cancel buttons in addition to the 
down arrow button.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals

Note: the URLs above (as well as the URLs contained in the documentation 
itself) are not the final location for these tiddlers, and *WILL* change 
when published (hopefully very soon).

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56317e73-f3fe-43d9-a570-1ae6a2bbf85c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to