Limits on Button Text

Richard Gaskin ambassador at
Mon Apr 21 11:56:00 EDT 2003

Rob Cozens wrote:

> I needed a place to store data passed to a dialog stack, and, being a
> lazy foole, decided to put the data into the text of an unrelated
> existing button rather than create a new control or variable.
> What I found was 'set the text of button "Textholder" to rawData' put
> only 39,667 of the 105,203 characters in rawData into the button
> text.  When I added a field and put rawData into it I got all 105,203
> characters.

Buttons contents as limited to 35,667, while a field can hold about 4GB.

 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 Ambassador at
 Tel: 323-225-3717                       AIM: FourthWorldInc

More information about the Use-livecode mailing list