Combobox

Pete pete at mollysrevenge.com
Thu Jun 30 18:38:39 EDT 2011


OK, thanks for pointing me in the right direction, I have everything working
now.

There doesn't appear to be very much documentation on this, so in case it
helps other combobox neophytes, here's a summary of what I found.

The menuPick message can be processed just like any other menuPick message.

In the closeField message:

- References to "me" relate to the combobox button; the label property
contains the value typed in, the text property contains the combobox choices

- References to "the target" relate to the combobox field, the label
property is empty, and the text property contains the value typed in.

I still don't know what the dictionary means by "the text box at the top of
the combobox".  I just type over any value displayed in the combobox and it
gets changed.

Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Thu, Jun 30, 2011 at 2:04 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 6/30/11 3:24 PM, Pete wrote:
>
>> How do I get hold of the text the user just typed in, for example to set
>> the menuhistory using a lineOffset function?
>>
>
> It's the label.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>



More information about the use-livecode mailing list