Search found 26 matches

by nlexa
Mon Feb 10, 2014 4:28 am
Forum: Talking LiveCode
Topic: "OVER 9000!" Object IDs
Replies: 2
Views: 708

"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...
by nlexa
Wed Nov 20, 2013 2:33 am
Forum: Talking LiveCode
Topic: windowShape On the Fly
Replies: 4
Views: 866

Re: windowShape On the Fly

Yes I'm pretty sure that has sorted it. Thanks very much Bernd :)
by nlexa
Wed Nov 20, 2013 1:06 am
Forum: Talking LiveCode
Topic: windowShape On the Fly
Replies: 4
Views: 866

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...
by nlexa
Wed Oct 02, 2013 12:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ulam Spiral Prime Numbers
Replies: 2
Views: 579

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...
by nlexa
Tue Oct 01, 2013 11:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Text vertical alignment
Replies: 42
Views: 13732

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...
by nlexa
Tue Oct 01, 2013 7:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ulam Spiral Prime Numbers
Replies: 2
Views: 579

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...
by nlexa
Sat Sep 28, 2013 10:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Text vertical alignment
Replies: 42
Views: 13732

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...
by nlexa
Thu Sep 26, 2013 1:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Text vertical alignment
Replies: 42
Views: 13732

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...
by nlexa
Thu Jul 11, 2013 5:59 am
Forum: Android Deployment
Topic: SDK Woes
Replies: 3
Views: 1427

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.
by nlexa
Fri Jun 14, 2013 4:37 am
Forum: Android Deployment
Topic: SDK Woes
Replies: 3
Views: 1427

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...
by nlexa
Thu Nov 29, 2012 2:56 am
Forum: rTree
Topic: Geometry Lost on "render_tree"
Replies: 0
Views: 2736

Geometry Lost on "render_tree"

In the property inspector I set up the Geometry settings of my field "Tree" so that it will scale with the stack when the stack is re-sized. Then in a button I put on mouseUp dispatch "render_tree" to control "Tree" end mouseUp Now my geometry settings in the property inspector for the field "Tree" ...
by nlexa
Sun Nov 11, 2012 10:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Groups always 8 pixels bigger
Replies: 3
Views: 738

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?
by nlexa
Thu Nov 08, 2012 5:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Groups always 8 pixels bigger
Replies: 3
Views: 738

[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...
by nlexa
Thu Nov 01, 2012 2:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Deleting an object !SOLVED!
Replies: 2
Views: 669

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 :D
by nlexa
Mon Oct 29, 2012 4:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Deleting an object !SOLVED!
Replies: 2
Views: 669

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...

Go to advanced search