Search found 39 matches

by 3d-swiss
Wed Apr 25, 2012 12:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Label of this stack - refreshing problem
Replies: 3
Views: 3893

Re: Label of this stack - refreshing problem

thanks for your answer.

Now I created a brand new stack and a short version of my scripting. There is no delay with the label of the stack.

So, I have to search in my big project. Perhabs one 'lock screen' too much anywhere?
by 3d-swiss
Wed Apr 25, 2012 9:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Label of this stack - refreshing problem
Replies: 3
Views: 3893

Label of this stack - refreshing problem

Hello again,

just a small problem, but it's irritating.


# in the script of the stack:
on preOpenCard
set label of this stack to the short name of this card
end preOpenCard

# in the script of a card for a button:
on mouseUp
lock screen
go to card "Importieren"
put empty into field "test ...
by 3d-swiss
Sat Apr 21, 2012 5:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat for each marked card i of this stack - error
Replies: 7
Views: 6100

Re: repeat for each marked card i of this stack - error

Hi,

thanks for the answers. I like the second solution best, because it's faster :-)

BTW: It's confusing, that some objects can be used with 'repeat for each' and other not. :shock:
by 3d-swiss
Sat Apr 21, 2012 4:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to make a referenced image part of the stack
Replies: 6
Views: 6381

Re: How to make a referenced image part of the stack

Thanks for the answers.

I will try the code later on ;-)

Have a good weekend.
Jens
by 3d-swiss
Sat Apr 21, 2012 4:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat for each marked card i of this stack - error
Replies: 7
Views: 6100

repeat for each marked card i of this stack - error

Hello

I like to visit all marked cards:
repeat for each marked card i of this stack
-- do something
end repeat
Please tell me, what's the correct first line.

Thanks, have a good weekend.
by 3d-swiss
Fri Apr 20, 2012 3:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to make a referenced image part of the stack
Replies: 6
Views: 6381

Re: How to make a referenced image part of the stack

Allegra Klaus,
thanks for your answer. But it doesn't not work.

I tried this:

put field "fPfad" into tPath # get the path of an image (i.e. with answer file)
put empty into image 1 # clear the image
put url ("binfile:" & tPath) into image 1 # take the new image
put tPath into field "fPfad ...
by 3d-swiss
Fri Apr 20, 2012 9:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to make a referenced image part of the stack
Replies: 6
Views: 6381

How to make a referenced image part of the stack

Hello again,

I like to use referenced images during the process of design and programming.
But when it come to the standalone version. I like to have the referenced images part of the stack, so that there is no extra folder with the images, which can be deleted and distort the look of the program ...
by 3d-swiss
Fri Apr 13, 2012 10:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace/Update a group in a substack?
Replies: 2
Views: 3423

Re: How to replace/Update a group in a substack?

I have created a solution only for fields. I hope you will like it. The update will only run, when there are no fields with the same name.


on mouseUp
local tArray
lock screen

## Update one background to all cards of a substack

-- Check the name of all fields in background in the ...
by 3d-swiss
Fri Apr 13, 2012 4:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to replace/Update a group in a substack?
Replies: 2
Views: 3423

How to replace/Update a group in a substack?

Hello again.

In http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=11635 I learned how to copy a group to a substack.
Now I have a update problem. When I chance an object or add a new object to the group in the mainstack, the cards in the substack will not be updated.

I tried to use a button to ...
by 3d-swiss
Fri Apr 13, 2012 1:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Include file for standalone (Mac problem)
Replies: 2
Views: 2818

Re: Include file for standalone (Mac problem)

:idea: ok, thanks. Every day a new discovery. :D
by 3d-swiss
Fri Apr 13, 2012 9:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Include file for standalone (Mac problem)
Replies: 2
Views: 2818

Include file for standalone (Mac problem)

Hello again,

I try to include a file for a standalone app.

I put the file into "Copy Files". I will find the file in the windows (and linux) folder, but not in the mac folder. Why? (see image).
Bildschirmfoto 2012-04-13 um 10.42.05.png
Thanks for your answer.

Jens
by 3d-swiss
Thu Apr 12, 2012 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Place group of a card to a new card in a substack?
Replies: 2
Views: 3103

Re: Place group of a card to a new card in a substack?

Hello Craig,

thanks for your input. It's perfect!
It works with that code:


on mouseUp

set the defaultStack to "Daten" -- "Daten" is a SubStack of Stack "Test_DB_1"
create card -- in SubStack "Daten"
put it into tNewCard -- Remember the new card, for testing only

set the defaultStack to ...
by 3d-swiss
Thu Apr 12, 2012 4:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Delete data of all fields in a special group?
Replies: 4
Views: 4335

Re: Delete data of all fields in a special group?

Hello Jean-Marc,

thanks. Work perfect.

I missed that information in the Dictonary. There is no entry about 'field of group', is it?

Greetings from Switzerland
Jens.

[Case closed]
by 3d-swiss
Thu Apr 12, 2012 4:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Delete data of all fields in a special group?
Replies: 4
Views: 4335

Delete data of all fields in a special group?

Hello again,

I like to have a very quick way to 'put empty' in all fields of a special group:

Code: Select all

put empty into all fields of group "InputFields" -- Perhaps this is possible in the future
How can it solved with todays LiveCode?

Thanks for reading.
Jens
by 3d-swiss
Thu Apr 12, 2012 4:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Place group of a card to a new card in a substack?
Replies: 2
Views: 3103

Place group of a card to a new card in a substack?

Hello,

I tried to use the main stack for templates and put my data into a substack. How can I copy/place a group from a card in the main stack onto a new card?
"bkgMasterCard" is set to "Behave like Background"
I tried to use a button with that script:


on mouseUp

set the defaultStack to ...