set tab widths on combo box

Klaus on-rev klaus at major.on-rev.com
Sun Jun 17 12:24:07 EDT 2012


Am 17.06.2012 um 18:02 schrieb Dr. Hawkins:

> On Sun, Jun 17, 2012 at 8:17 AM, Klaus on-rev <klaus at major.on-rev.com> wrote:
>>> Is there a way to set the tab widths on a combo box?  I'm getting a
>>> "no property specified" error when I try
>>> 
>>>    set the the tab widths of button exTyp to 3
>> the correct term is "the tabstops of ..."
>   set the tabstops of btn prtyp of card entry to 20, 40
> yields
>    Script compile error:
>    Error description: seek: missing 'in'

Yes, see below...

>> But I doubt that buttons can have tabstops at all in their displayed "text"!
>> Usually a TAB in the TEXT of a menubutton will create a submenu.
> This is a combo-box.  It's *using* tabstops of its own when I put a
> couple of tab-delimited values into a single line of its text.  I want
> to change them.

Yes, sorry, I forgot to mention that "the tabstops of..." is a FIELD property (only), 
not a button property! See the dictionary.

So you can put TABbed text into these button(s) but you cannot control the display.

> thanks
> 
> -- 
> The Hawkins Law Firm
> Richard E. Hawkins, Esq.
> (702) 508-8462
> HawkinsLawFirm at gmail.com
> 3025 S. Maryland Parkway
> Suite A
> Las Vegas, NV  89109

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list