combobox in a background group

Geoff Canyon gcanyon at inspiredlogic.com
Mon Aug 30 22:45:49 EDT 2004


On Aug 30, 2004, at 8:55 AM, Ken Ray wrote:

> On 8/30/04 9:41 AM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:
>
>>> in other words, sharing a combobox in few cards,
>>> how to put different values on each card ?
>>>
>>> thanks for a help, or pointing to the documentation,
>>> i'm stuck :-(
>>>
>>> regards, thierry
>>>
>>
>> Bonjour Thierry,
>>
>> In this case, I'd add a hidden field to contain the
>> actual data, then copy the value from the combobox
>> into that field on closeField, and set the combobox
>> label to the text of the hidden field on preOpenCard
>> in the background group script.
>
> I was thinking the same thing, but using a custom property of the card
> instead of a field.
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com

I was thinking the same thing, but using custom properties on the 
combobox, each named for the card they should be used on.

Horses for courses ;-)

regards,

Geoff Canyon
gcanyon at inspiredlogic.com



More information about the use-livecode mailing list