Search found 11 matches

by rstevenson
Sat Aug 03, 2013 12:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need to be pointed in the right direction(s)
Replies: 14
Views: 10130

Re: Need to be pointed in the right direction(s)

I haven't tried this, but I think it will get you started in the right direction. Draw one triangle and fill it with a colour. Since you want a hexagon made of six of them, the triangles will be equilateral and the angles will all be 60° Now draw the other five similarly, but using different colours...
by rstevenson
Wed Jul 17, 2013 3:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need to be pointed in the right direction(s)
Replies: 14
Views: 10130

Re: Need to be pointed in the right direction(s)

Thanks folks, for the hints and also for the sample stack. I can see I'm digging myself a fairly deep hole here, but it'll be a great way to get back up to speed on programming.

Rob
by rstevenson
Wed Jul 17, 2013 1:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need to be pointed in the right direction(s)
Replies: 14
Views: 10130

Re: Need to be pointed in the right direction(s)

Thanks Craig, I'll need to think of a way to pin the circle to the vertices, since I want the user to be able to change the shape of the triangles at will. I likely need to explore the geometry of circumcircles to see how they're calculated, and then write a routine to do that in my stack -- Oops! p...
by rstevenson
Tue Jul 16, 2013 7:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need to be pointed in the right direction(s)
Replies: 14
Views: 10130

Need to be pointed in the right direction(s)

Hi, I need some kind soul to point me towards whatever part of this forum I'll need to review to get hints on how to do the following... 1. Draw a triangle (or quadrilateral) which the user can manipulate by dragging any of the corners to resize/reshape it. 2. Have a circumcircle of the triangle aut...
by rstevenson
Sun Oct 10, 2010 2:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: stubbed my toe already!
Replies: 2
Views: 2370

Re: stubbed my toe already!

Thank you Bernd. Very kind of you to help. I'll definitely have a look at your code example. It should get me going with the table's column widths. As for calculation, I was thinking of holding it all in an array. Probably a bit overkill, but I like working with arrays. They seem such a simple struc...
by rstevenson
Sun Oct 10, 2010 3:04 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: stubbed my toe already!
Replies: 2
Views: 2370

stubbed my toe already!

Hi, Just starting my first LiveCode project. I used H'Card years ago, so I know just enough to hurt myself. I'm trying to create a score card -- very simple thing. First stab was to put in a Basic Table Field. I'd figure out how to put data into it and add it up later. But I can't do something very ...
by rstevenson
Tue Jan 01, 2008 3:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: should I use a table field?
Replies: 2
Views: 3287

I'll just talk to myself for a while, if you don't mind. ;-) My current field script attempt is this... on focusIn select after tab 1 of me set the locktext of me to false end focusIn on closeField set the locktext of me to true end closeField This results in an error... Type Chunk: can't create a v...
by rstevenson
Tue Jan 01, 2008 3:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: name of button disappeared
Replies: 5
Views: 4654

Thanks again Malte, I understand now -- makes perfect sense. Though perhaps if choosing either Option menu or Combo box sets the label property to something, choosing one of the other button types should quietly reset the label property to empty. Maybe the devs can fix that when they've got lots of ...
by rstevenson
Tue Jan 01, 2008 2:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: should I use a table field?
Replies: 2
Views: 3287

should I use a table field?

Hello all, I need to emulate a score sheet. The sheet has a column of drop-down buttons next to a 2-column table. Each button is used to enter a team member's name in the first cell in each row of the table. Then the user enters a W or L in the second cell (to indicate win or loss) and a script upda...
by rstevenson
Tue Jan 01, 2008 2:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: name of button disappeared
Replies: 5
Views: 4654

Thanks Malte. The second command worked; the name reappeared. So am I to assume that setting the button type to any other type will cause this? Or is it just one of the types? Is this a bug or a "feature"? :P By the way, in the inspector (is that what that window is called?) there was nothing in the...
by rstevenson
Mon Dec 31, 2007 9:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: name of button disappeared
Replies: 5
Views: 4654

name of button disappeared

Hello, Just messing around and getting started. I created a button of type Pull Down, put a small script into it. When it worked, I duplicated it several times. The names remained the same, and there was a small change in each script. Not efficient I know, but it worked. Then, wondering what the oth...