Search Field for LiveCode in OSX Style

This search field adjusts its size automatically to the size of its group. Use the pointer toolto select and resize the group.

Screen_shot_2012-11-23_at_01

You can copy this search field and paste it into your own stack. All required scripts are included.
When you type return or enter, the message extSearch is sent together with the long id of the searchfield (actually the group). This allows you to retrieve the textValue property of the search field.

You can get and set the textValue property. The textValue property has 4 possible keys: text,html,utf8, utf16 or rtf. Each key returns the respective text property. The format key is optional ifyou are retrieving or setting plain text (i.e. textValue[“text”] and textValue both work).

An overview of all of Economy-x-Talk’s products and services can be found at http://qery.us/sm and the search field control can be downloaded at http://qery.us/3am

Leave a Reply

Your email address will not be published. Required fields are marked *


*