Search found 457 matches

by magice
Fri Mar 20, 2015 7:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image no longer scrolls
Replies: 4
Views: 6047

Re: Image no longer scrolls

I have found a workaround, but it is probably the ugliest workaround I have ever done.

answer file "Choose an image"
put it into tFile
lock screen
import paint from file tFile
set the name of the last img to "temp"
set the height of img "iOrig" to the height of img "temp"
set the width of ...
by magice
Fri Mar 20, 2015 6:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image no longer scrolls
Replies: 4
Views: 6047

Re: Image no longer scrolls

This is the expected behavior if the lockLoc of the image is true. Is it locked?
The group is locked, but that is necessary otherwise when you set the filename the image takes over the whole stack rather than just activate the scrollbars. Here is what I have just done to test the problem. I have ...
by magice
Fri Mar 20, 2015 2:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image no longer scrolls
Replies: 4
Views: 6047

Image no longer scrolls

I have a stack that I built several years ago in RunRev 3.0. I have been updating the app on LiveCode 7.1. I have just noticed a problem that began with the transition. I have an image. the image is grouped so that when it's filename is set to a larger image than the group it will scroll with the ...
by magice
Thu Mar 19, 2015 1:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using BackSpaceKey and selectedChunk to Analyze a Word
Replies: 7
Views: 10521

Re: Using BackSpaceKey and selectedChunk to Analyze a Word

This is kind of an ugly way to do it, but it works provided the cursor is exactly to the right of the word you want deleted (no space between them). I'm sure someone can come up with a better way. Maybe a regex solution?

put word 2 of the selectedChunk into x
put x-1 into x
repeat until ...
by magice
Wed Mar 18, 2015 1:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Su su ssudio (problem with revBrowser full HTML) (=^‥^=)
Replies: 7
Views: 8254

Re: Su su ssudio (problem with revBrowser full HTML) (=^‥^=)

I suspect that the comments section is not written in HTML. It is more than likely a java or flash app.
by magice
Wed Mar 18, 2015 12:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: search text result
Replies: 4
Views: 5272

Re: search text result

Look up foundText and foundLine. :D
by magice
Mon Mar 16, 2015 10:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stand Alone Takes long to startup
Replies: 3
Views: 4375

Re: Stand Alone Takes long to startup

Another possibility..Check your anti-Virus software. Some real time protection apps will run a scan on any unknown software before it will allow it to run.
by magice
Mon Mar 16, 2015 9:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Property to store data in a standalone ap
Replies: 17
Views: 19345

Re: Custom Property to store data in a standalone ap

Magice and Newbie4,

Where to start? I’m sure I’m going to sound really dense. Most of the info you guys gave me is new, so it might take me some time to completely understand it.

Problem is guys, I don’t know how to save data in a custom property which is then saved as an “external” stack in ...
by magice
Sun Mar 15, 2015 3:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Parse the Array
Replies: 7
Views: 10464

Re: Parse the Array

look oh "keys" in the LiveCode dictionary :wink:
I have check the dictionary but i don't find anything related to this.
if i put the below code i get only 1 key the first one. <MyArray 1>
put the keys of myArray1 to pKeys

I am not to sure what got you to this point, and I suspect that there may ...
by magice
Sun Mar 15, 2015 8:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Property to store data in a standalone ap
Replies: 17
Views: 19345

Re: Custom Property to store data in a standalone ap



Programs (like LiveCode) are normally installed into a directory that has restricted permissions (Apple==>"Applications", PC==>"Program Files"). You need "Admin" rights to install it and to change it. Users can only execute programs that are in it. They can not write or save files in that ...
by magice
Sun Mar 15, 2015 7:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Parse the Array
Replies: 7
Views: 10464

Re: Parse the Array

look oh "keys" in the LiveCode dictionary :wink:
by magice
Sat Mar 14, 2015 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Property to store data in a standalone ap
Replies: 17
Views: 19345

Re: Custom Property to store data in a standalone ap

dunbarx wrote:Magice,

But then the stack you open has to run in the IDE, that is with LC resident on the machine, no? It is not really a standalone.

Craig
It is essentially the same as a splash screen. It will run on any machine even one without LC. (provided you have all necessary external files)
by magice
Sat Mar 14, 2015 10:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Property to store data in a standalone ap
Replies: 17
Views: 19345

Re: Custom Property to store data in a standalone ap

Here is a little trick to show how stacks that are not saved as stand alone apps can still act like it is one. Create a stack with 1 button. In that button script put these 2 lines of code :

on mouseUp
answer file "navigate to any uncompiled stack file"
open it
end mouseUp


Now save it as a ...
by magice
Fri Mar 13, 2015 7:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with variables
Replies: 8
Views: 10062

Re: Help with variables

why not do away with the global variable altogether and use a custom property?


on openStack
set the cStartArrow of this stack to false
end openStack


then to make the change

set the cStartArrow of this stack to true


and of course in the if statement:
if the cStartArrow of this stack is ...
by magice
Fri Mar 13, 2015 5:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help with variables
Replies: 8
Views: 10062

Re: Help with variables

@Magice, I do not see the broken global reference in the button handlers. "gStartArrow" is declared in both. The other globals are not declared, but they are not involved either. I assume it is declared in the card script. (?)

@Peacfulrvr. And do everyone a favor. Place all your script examples ...