Dynamically Creating Buttons
cmsheffield at icloud.com
Tue May 28 12:49:00 CDT 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.
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:
More information about the use-livecode