set tab widths on combo box

Mike Bonner bonnmike at gmail.com
Sun Jun 17 12:34:14 EDT 2012


You might read the article here.
http://www.runrev.com/newsletter/march/issue87/newsletter4.php

It details a custom built combo box.  The link to the example is no longer
valid, but a copy of it can be found at
http://www.imksoftware.co.uk/JDCombobox.zip (I found this link at
http://lists.runrev.com/pipermail/use-livecode/2011-August/160235.html .

Since it uses a real field for the custom control you should be able to set
the tabstops to your hearts content, plus it looks and works very well.
Jerry puts together good stuff.

On Sun, Jun 17, 2012 at 10:24 AM, Klaus on-rev <klaus at major.on-rev.com>wrote:

>
> 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
>
>
> _______________________________________________
> 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
>



More information about the Use-livecode mailing list