Hi, I'm want to know if it's possible to add GUI elements with script code.
The problem that i have is:
I have a quetionnnair with a number of quetions.
And because I dont want to make a new GUI each time a number of questions changes, i want to do it dynamicly.
is that possible in Livecode?
Adding Gui through code
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Adding Gui through code
Hi momo,
1. welcome to the forum
2. yes, this is surely possible! Look up "create", "clone" and "copy" in the dictionary!
Drop a line if you need more or specific help!
Best
Klaus
1. welcome to the forum

2. yes, this is surely possible! Look up "create", "clone" and "copy" in the dictionary!
Drop a line if you need more or specific help!
Best
Klaus
Re: Adding Gui through code
thanks for your help
momo
momo
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: Adding Gui through code
Hello,
There is a lesson in the LiveCode lessons section that shows you how to make an 8-Puzzle game. The entire game was made using just code.
Link: http://lessons.runrev.com/s/lessons/m/4 ... uzzle-game
Andrew
There is a lesson in the LiveCode lessons section that shows you how to make an 8-Puzzle game. The entire game was made using just code.
Link: http://lessons.runrev.com/s/lessons/m/4 ... uzzle-game
Andrew
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: Adding Gui through code
Hi Momo
I'm doing a similar thing with multiple, user-generated checklists (data stored in SQLite database) and either show/hide previously created controls/groups or clone them and then link to the database. In one part of the app the user designs a checklist, in another part she can view and complete it.
I'm doing a similar thing with multiple, user-generated checklists (data stored in SQLite database) and either show/hide previously created controls/groups or clone them and then link to the database. In one part of the app the user designs a checklist, in another part she can view and complete it.
"...this is not the code you are looking for..."