Search found 170 matches
- Wed Oct 15, 2014 10:53 am
- Forum: Talking LiveCode
- Topic: Find what word a character is in
- Replies: 8
- Views: 4162
Find what word a character is in
Hi, I need a way to find out what word a certain character is in. For example, say I had char 4 of "LiveCode Forums", the result would be 1 (because char 4 is in the first word of "LiveCode Forums". I looked in the dictionary, and both "charIndex" and "lineIndex" seem very similar to what I am tryin...
- Sat Oct 04, 2014 7:14 am
- Forum: Talking LiveCode
- Topic: MouseLeave message to be sent when object moves away
- Replies: 3
- Views: 2673
MouseLeave message to be sent when object moves away
Hi, I have an object that has a mouseLeave handler. This handler is run when the mouse moves off the object. However if I keep the mouse still and move the object with the "move" command, mouseLeave is only sent when the user moves their mouse a tiny bit after the object have been moved from under t...
- Fri Oct 03, 2014 6:08 pm
- Forum: Talking LiveCode
- Topic: Resize a field to the width of its contents
- Replies: 3
- Views: 2699
Re: Resize a field to the width of its contents
Thanks very much, this is exactly what I was looking for!
Andrew
Andrew
- Fri Oct 03, 2014 5:47 pm
- Forum: Talking LiveCode
- Topic: Resize a field to the width of its contents
- Replies: 3
- Views: 2699
Resize a field to the width of its contents
Hi,
I have a field and I need a way for it to resize its width to the the width of text that is in the field. The text in the field could be any length, but will not span over multiple lines.
Any ideas?
Andrew
I have a field and I need a way for it to resize its width to the the width of text that is in the field. The text in the field could be any length, but will not span over multiple lines.
Any ideas?
Andrew
- Mon Sep 29, 2014 4:09 pm
- Forum: Talking LiveCode
- Topic: Move a group in whilst moving an object in the group
- Replies: 2
- Views: 2381
Move a group in whilst moving an object in the group
Hi all, I have a group of objects, and I want to move this group along the horizontal axis. At the same time, I also want an object that is in the group to move along the vertical axis whilst still moving with the rest of the group . I know of a more complicated way that involves calculating where t...
- Wed Jun 04, 2014 7:20 pm
- Forum: Talking LiveCode
- Topic: Working with large numbers in LiveCode
- Replies: 4
- Views: 2723
Re: Working with large numbers in LiveCode
Hi Craig,
The thing is, my program is not working with decimal places, all numbers generated are integers.
In answer to Klaus, I have tried setting the numberFormat to various values, and it changes nothing. I am not sure what to do next. Any advice?
Thanks again,
Andrew
The thing is, my program is not working with decimal places, all numbers generated are integers.
In answer to Klaus, I have tried setting the numberFormat to various values, and it changes nothing. I am not sure what to do next. Any advice?
Thanks again,
Andrew
- Wed Jun 04, 2014 12:56 pm
- Forum: Talking LiveCode
- Topic: Working with large numbers in LiveCode
- Replies: 4
- Views: 2723
Working with large numbers in LiveCode
Hello, I have just started a program that works with large numbers (not for any particular reason, I was just bored). However, when I try and calculate a really large number (for example 2^2^2^2^2^2), I get the result "00000inf". I know this is probably beyond the limits of what LiveCode can process...
- Sun May 25, 2014 4:13 pm
- Forum: Talking LiveCode
- Topic: Inverse Tangent in degrees
- Replies: 3
- Views: 2615
Re: Inverse Tangent in degrees
Thank you Dixie, for solving this!
Your help is much appreciated.
Andrew
Your help is much appreciated.
Andrew
- Sun May 25, 2014 3:34 pm
- Forum: Talking LiveCode
- Topic: Inverse Tangent in degrees
- Replies: 3
- Views: 2615
Inverse Tangent in degrees
Hello, I am trying to find a function that returns the inverse tangent of an angle in degrees. I am currently using the following function for the "normal" tangent: function tanInDegrees angleInDegrees return tan(angleInDegrees * pi / 180) end tanInDegrees but I have now come across a situation wher...
- Sat May 03, 2014 11:52 am
- Forum: Multimedia
- Topic: Keep Image Aspect Ratio
- Replies: 5
- Views: 5121
Keep Image Aspect Ratio
Hello, I have a stack that uses an image object. The user is able to select an image from a list, and the image is loaded up into the image control through the fileName property. However, when the fileName is set the the image path, the size and width of the image control change, causing it to cover...
- Thu Apr 17, 2014 4:14 pm
- Forum: Android Deployment
- Topic: Not a valid Android SDK
- Replies: 2
- Views: 2074
Re: Not a valid Android SDK
Just checking, but have you enabled Android 2.2?
- Thu Apr 17, 2014 3:44 pm
- Forum: Talking LiveCode
- Topic: Easy cross platform way to show a file?
- Replies: 10
- Views: 6235
Re: Easy cross platform way to show a file?
... is an easy way to open the folder containing a file in the Finder/Explorer/Linux Desktop. From looking at the LiveCode documentation, I believe that the "launch document" command launches the document in the default application , not the Finder/Explorer/Linux Desktop. Is this what you are looki...
- Wed Apr 16, 2014 3:40 pm
- Forum: Converting to LiveCode
- Topic: Moving to LiveCode from Adobe (macromedia) Director?
- Replies: 1
- Views: 6188
Re: Moving to LiveCode from Adobe (macromedia) Director?
Hello Johan, and welcome to the LiveCode forums! reading and writing text files LiveCode can definitely do that. There is a lesson in the LiveCode lessons website which shows you how to do that: http://lessons.runrev.com/s/lessons/m/4071/l/7407-file-input-output manipulating images (scaling, croppin...
- Sat Dec 14, 2013 2:01 pm
- Forum: Engine Contributors
- Topic: RaspberryPi
- Replies: 12
- Views: 12827
Re: RaspberryPi
Brilliant, Thank you for this!
Do you know when I will be able to build apps for the Raspberry Pi on the Windows/Mac version of LiveCode?
Thanks,
Andrew
Do you know when I will be able to build apps for the Raspberry Pi on the Windows/Mac version of LiveCode?
Thanks,
Andrew
- Sun Nov 24, 2013 7:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Beginner Tutorial Stack Update
- Replies: 14
- Views: 6831
Re: Beginner Tutorial Stack
Hello Terry,
Thank you! What a great stack. It is really detailed.
Is this under the GPL licence (The one that LiveCode Community is licensed under) or have you chosen another licence?
Thanks,
Andrew
Thank you! What a great stack. It is really detailed.
Is this under the GPL licence (The one that LiveCode Community is licensed under) or have you chosen another licence?
Thanks,
Andrew