create field

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
haribo
Posts: 23
Joined: Fri Jun 29, 2007 8:04 pm

create field

Post by haribo » Mon Jul 02, 2007 7:25 pm

Hi,
i'm new to RR, it at this time a demoversion.
now, i have a stack with an editfield. i have a button for create a field. the new field is always in the first editfield, but i want to have a second editfield with size of 617x845, please tell me howto.
ralle

Lynn P.
Posts: 79
Joined: Sun Apr 09, 2006 1:09 pm

Re: create field

Post by Lynn P. » Mon Jul 02, 2007 7:53 pm

haribo wrote:Hi,
i'm new to RR, it at this time a demoversion.
now, i have a stack with an editfield. i have a button for create a field. the new field is always in the first editfield, but i want to have a second editfield with size of 617x845, please tell me howto.
ralle
```````````````
Hi ralle ~

One way is this script. Put it into the button that will create the new field:

Code: Select all

on mouseUp
  create invisible field "myNewField"
  set the width of field "myNewField" to 617
  set the height of field "myNewField" to 845
  set the visible of field "myNewField" to true
end mouseUp
Lynn P.

Post Reply