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
-
Nomi
- Posts: 19
- Joined: Wed Feb 27, 2008 4:08 pm
Post
by Nomi » Fri May 16, 2008 2:08 pm
I'm hoping there is a shortcut here
I need to put the same choices into about 40 combo boxes. Is there any way to say "put all this data into all 40 at once"? Or do I need to just put it in to each one individually.
- Noel
-
Klaus
- Posts: 14177
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Fri May 16, 2008 2:24 pm
Bonjour Noel,
you can of course say what you want, but in Rev you must fill every single combo box individually!
But with a "lock screen" and a repeat loop this is insanely fast
Best
Klaus
-
Nomi
- Posts: 19
- Joined: Wed Feb 27, 2008 4:08 pm
Post
by Nomi » Fri May 16, 2008 5:58 pm
Thanks for the info
I had a feeling I was going to have to do some kind of repeat loop, I was just hoping otherwise!
- Noel
-
Klaus
- Posts: 14177
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Fri May 16, 2008 6:12 pm
Nomi wrote:Thanks for the info
I had a feeling I was going to have to do some kind of repeat loop, I was just hoping otherwise!
- Noel
Sorry for having to disappoint you
Remember to "lock screen" before (m)any changes to ui elements happen, like putting text into field or filling combo boxes etc.
This will speed up things to a factor of > 100!
Best
Klaus
-
Nomi
- Posts: 19
- Joined: Wed Feb 27, 2008 4:08 pm
Post
by Nomi » Fri May 16, 2008 8:29 pm
I'll take a look at Lock. I haven't used that before.
- Noel