Search found 78 matches
- Wed Apr 06, 2016 9:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Total newb question: selecting from a list
- Replies: 10
- Views: 4959
Re: Total newb question: selecting from a list
Hi Cliffale7. You're going to have so much fun. Attached is a stack to help you get started on a path toward your project. Look inside the button and field objects (right Edit Tool arrow to select object, Object > Object Inspector and Object > Object Script). The object inspector, object script, car...
- Mon Apr 04, 2016 8:03 pm
- Forum: Talking LiveCode
- Topic: Limiting a field to 2 decimal places
- Replies: 21
- Views: 10457
Re: Limiting a field to 2 decimal places
Great fun. The closeField suggestion could handle integer only and re-entering decimal point by applying restrictive formatting with numberFormat, which also auto-rounds. Would this help? Terry on keyDown X --allow only numbers and 1 decimal point, formatted for 2 decimal places if X is a number or ...
- Mon Mar 07, 2016 8:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Performance meter
- Replies: 5
- Views: 3652
Re: Performance meter
Hi Shikha. How did your performance meter / prediction tool turn out? I made one that might give you a few more ideas. Seven criteria scored from 0 to 3 with weight option. Final score converted to a percentage of total score is displayed in a slider with resizing color bars. Everything was "off-the...
- Mon Jan 11, 2016 8:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Save Changes Using Stack Player
- Replies: 0
- Views: 1615
Save Changes Using Stack Player
A stack player may be useful distributing your stacks to those who don't want to install the LiveCode program, or to help convince them installing and learning to code with LiveCode might actually be fun. Save changes to the stack being played with a closeStackRequest handler placed in its stack scr...
- Wed Aug 05, 2015 6:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Nine Chart Examples
- Replies: 7
- Views: 6346
Re: Nine Chart Examples
Updated Chart Maker stack at the top of the thread.
Thanks golive for the error catch. Changed the style to "rectangle". No error thrown in 6.7.5. Terry
Thanks golive for the error catch. Changed the style to "rectangle". No error thrown in 6.7.5. Terry
- Mon Aug 03, 2015 7:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Nine Chart Examples
- Replies: 7
- Views: 6346
Re: Nine Chart Examples
Free Richard, all free for anyone to use. Terry
- Mon Aug 03, 2015 6:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Nine Chart Examples
- Replies: 7
- Views: 6346
Nine Chart Examples
Here are nine charts I made as examples for your own project: pie, bar, bar group, line, spatial, spider, thermometer, speedometer, stem & leaf. They demonstrate the use of templates, grouping using create, and points for line graphics. I tried to make them simple and basic. No globals, no custom pr...
- Mon Apr 13, 2015 7:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Working With Dates < 1/1/1970
- Replies: 4
- Views: 2966
Working With Dates < 1/1/1970
Convert to seconds/dateItems and is a date don't work in Windows when calculating with dates < 1/1/1970. This is a Windows issue, not LiveCode. A work-around is to do math directly on the date numbers with approximate result. I have a kludgy past-date function. There must be a better elegant solutio...
- Thu Apr 09, 2015 6:51 pm
- Forum: Android Deployment
- Topic: Android Setup Crib Sheet
- Replies: 1
- Views: 1995
Android Setup Crib Sheet
I recently tried making my first Android apps with the help of a forum member and the android app lessons http://lessons.runrev.com/s/lessons/m/2571/l/27385-how-do-i-become-an-android-developer-on-a-pc http://lessons.runrev.com/m/2571/l/27389-how-do-i-become-an-android-developer-on-a-mac While the l...
- Thu Apr 09, 2015 6:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Formatting numbers to show commas after thousands
- Replies: 12
- Views: 7617
Re: Formatting numbers to show commas after thousands
Dunbarx suggested an exercise trying to convert money to a text string, like on a check, the paper thingy people used to write on to pay for things in ancient times. Money-to-Text conversion isn't so easy. I used the "zen" technique and visualized three elements: 1) work with hundreds, 2) use a func...
- Mon Apr 06, 2015 8:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: List all Custom Properties in a stack
- Replies: 54
- Views: 16848
Re: List all Custom Properties in a stack
You could use the customKeys property, which returns a line list of all custom props for an object. Another simpler solution is to look in each object's properties inspector under custom properties if there are only a few objects in the stack. Terry local AllCustomProps put the short name of this st...
- Mon Apr 06, 2015 7:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Formatting numbers to show commas after thousands
- Replies: 12
- Views: 7617
Re: Formatting numbers to show commas after thousands
I found another way to format a number with commas and handle decimals. Do any math before comma-izing. Strip with replace command: replace comma with empty in tSubTotal --strip out commas. I can't recall the original code author. LiveCode is a flexible language. Fun stuff. Terry on mouseUp --format...
- Mon Dec 22, 2014 8:56 pm
- Forum: Talking LiveCode
- Topic: LiveCode Community Open Source Apps
- Replies: 8
- Views: 6082
Re: LiveCode Community Open Source Apps
Hi Linda I have some community stacks you're welcome to look over at http://tlittle72.neocities.org/info.html. They include the newest version of Beginner Lab, a tutorial for LiveCode. Reading other people's code is a great way to learn tricks and solutions to common problems. Both RevOnline (within...
- Sat Jul 05, 2014 7:24 pm
- Forum: IDE Contributors
- Topic: PROJECT: RevOnline triage
- Replies: 30
- Views: 34509
Re: PROJECT: RevOnline triage
I found a minor revOnline stack problem. In upload mode, the file selector btn "Browse" only lists .rev files, not .livecode too. The script of control 42, btn "Browse", line 3: answer file "select stack to upload" with type "revolution stack|rev|REV" Could be changed to: answer file "Select stack t...
- Mon Jun 23, 2014 7:40 pm
- Forum: IDE Contributors
- Topic: PROJECT: RevOnline triage
- Replies: 30
- Views: 34509
Re: PROJECT: RevOnline triage
Win7 (32), LC v6.6.2stable, no delete account, no change password, no upload, yes download. Thanks Richard for trying to help solve this long-standing problem with revOnline. RunRev is aware, but they've been "looking into it" for years. Then the web version appeared with no upload capability. They'...