Search found 25 matches
- Mon Feb 10, 2014 4:28 am
- Forum: Talking LiveCode
- Topic: "OVER 9000!" Object IDs
- Replies: 2
- Views: 2885
"OVER 9000!" Object IDs
I have a stack that 1. Creates many objects - to populate a screen with controls 2. Deletes them - to clear the screen for repopulation. For all objects, the ID is guaranteed to be unique within a stack. IDs are not reused if the object is deleted. At the moment my objects have IDs of 91000. I'm con...
- Wed Nov 20, 2013 2:33 am
- Forum: Talking LiveCode
- Topic: windowShape On the Fly
- Replies: 4
- Views: 3591
Re: windowShape On the Fly
Yes I'm pretty sure that has sorted it. Thanks very much Bernd 

- Wed Nov 20, 2013 1:06 am
- Forum: Talking LiveCode
- Topic: windowShape On the Fly
- Replies: 4
- Views: 3591
windowShape On the Fly
Dear reader, I have attached a simple stack. You click the button and you should get a pink rectangle with rounded corners. If you click the rectangle it disappears. You can do this again and again. I have randomized the height of the pink rectangle to show that it is in fact changing with each clic...
- Wed Oct 02, 2013 12:43 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Ulam Spiral Prime Numbers
- Replies: 2
- Views: 2937
Re: Ulam Spiral Prime Numbers
When a list of points contains a blank line, it will cause the resulting polygon to be discontiguous. Often this is very useful, but if it's not what you're looking for then you may need to review the script to find out why it's generating at least one blank line. I checked it again. The variable c...
- Tue Oct 01, 2013 11:39 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Text vertical alignment
- Replies: 42
- Views: 33469
Perfect Top Margin
Perfect Top Margin.zip Here is an update. Now you can adjust the text height also. I'm not much of a programmer and more of a graphic designer so trying to get the text to line up correctly was really starting to wind me up :x . I'm sure there are others out there who are as visually pedantic as me...
- Tue Oct 01, 2013 7:48 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Ulam Spiral Prime Numbers
- Replies: 2
- Views: 2937
Ulam Spiral Prime Numbers
Is there a limit to the number of points you can set in a graphic object? Or perhaps you can't have more than 380000x2 lines in a variable? I find that once I exceed around 380000 points that it forgets the first 380000 and continues drawing from there leaving a black square in the middle. Also if I...
- Sat Sep 28, 2013 10:41 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Text vertical alignment
- Replies: 42
- Views: 33469
Re: Text vertical alignment
Nice stack Bernd Here is an example stack for you. nlexaExample.zip You will notice when you turn off the correction and make the margins 0 that as you decrease the text size it starts disappearing into the top of the field as per normal. If you use the right ratio (multiplier) applied to the text s...
- Thu Sep 26, 2013 1:51 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Text vertical alignment
- Replies: 42
- Views: 33469
Re: Text vertical alignment
Hey Bernd why does put the formattedHeight of char 1 to -1 of field 1 into tVariable give a different result than put the formattedHeight of field 1 into tVariable On a related note, in my own investigations I have found that 6 + 2/3 (6.6666666666666666666) is the magic number. Subtracting it from a...
- Thu Jul 11, 2013 5:59 am
- Forum: Android Deployment
- Topic: SDK Woes
- Replies: 3
- Views: 4029
Re: SDK Woes
Oh the irony: The YouTube video on the livecode.com home page "How LiveCode Works; In Under 60 Seconds" shows someone quickly and easily deploying to samsung galaxy s3.
- Fri Jun 14, 2013 4:37 am
- Forum: Android Deployment
- Topic: SDK Woes
- Replies: 3
- Views: 4029
SDK Woes
So I have been reading all the issues and related posts and I have jumped through all the hoops and I manage to navigate the minefield that is Livecode + Android . Here are some of them: "The chosen folder is not a valid Android SDK..." SDK rel22.0.1 and having to use a older version. Finally gettin...
- Sun Nov 11, 2012 10:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] Groups always 8 pixels bigger
- Replies: 3
- Views: 3424
Re: Groups always 8 pixels bigger
Awesome thank you FourthWorld. Forums always deliver. Why does a group have text formatting options when it doesn't have a text input? What would you use these margins for?
- Thu Nov 08, 2012 5:10 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] Groups always 8 pixels bigger
- Replies: 3
- Views: 3424
[SOLVED] Groups always 8 pixels bigger
Make a new Stack Drag on a button Group the button in the application browser we have a button and a group. Use the inspector to check the size of the button and the size of the group. The group is always 8 pixels taller and 8 pixels wider Is this normal? Can I make the group exactly the size of its...
- Thu Nov 01, 2012 2:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting an object !SOLVED!
- Replies: 2
- Views: 3163
Re: Deleting an object
Thanks heaps! Why I didn't think of this before I don't know but that's the power of the forum 

- Mon Oct 29, 2012 4:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleting an object !SOLVED!
- Replies: 2
- Views: 3163
Deleting an object !SOLVED!
From the livecode dictionary: You cannot delete the object whose script holds a currently executing handler. I have a group of controls. In that group of controls is a button with an x on it, like the little x in the top right hand corner of my browser window. When I press the x I want the the butto...
- Thu Dec 15, 2011 12:11 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Drag and drop Tiles
- Replies: 0
- Views: 1473
Drag and drop Tiles
DragNDrop.zip I've made this wee program. You can double click on each tile and type some text, hit enter/return to exit typing. You can click and drag the tiles over the other tiles and they will shuffle. Under normal conditions it works fairly well BUT: If you grab a tile and start dragging it ar...