Dynamically Creating Buttons

Chris Sheffield cmsheffield at icloud.com
Tue May 28 13:49:00 EDT 2013

See the create command in the dictionary. Then just position using the location property or left, right, top, bottom properties as needed.

You might be better off populating a field or data grid, however, depending on your requirements.


Chris Sheffield
Read Naturally, Inc.

On May 28, 2013, at 11:35 AM, Graham Pearson <gspearson at gmail.com> wrote:

> I have been searching this mailing list and the forums at runrev for an
> answer before I post.
> Without having any objects on a card, does anyone have notes on how to
> create a button and position it to the coordinates of 5,5
> In my application, I am to the point now to taking each record from a
> database and creating a button for the user to select. The information
> from this loop will contain the text for the button and will allow for 5
> pixels of spacing between buttons.
> _______________________________________________
> 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