Can you create a template circle the same colour as the background and check that the mouse is “within” the graphic?
Kelly
Search found 200 matches
- Mon Sep 20, 2021 4:24 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to constrain position of dragged graphic to path of a circle?
- Replies: 18
- Views: 9487
- Mon Sep 20, 2021 4:19 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reading file and folder dates
- Replies: 20
- Views: 9847
Re: Reading file and folder dates
I was also thinking of something even more basic: What if the first time a file was saved it was ”Data0000000000000001.dat” and then each further save from any source just increments that by 1. You don’t really need to care about the date or time so long as you know that you have the newest master d...
- Sun Sep 19, 2021 12:19 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reading file and folder dates
- Replies: 20
- Views: 9847
Re: Reading file and folder dates
You could even store the time as part of the file name when you save it. If the Dropbox number is bigger than the local number then update.
Kelly
Kelly
- Thu Aug 26, 2021 12:38 am
- Forum: Talking LiveCode
- Topic: Control key vs right mouse click: Pros & cons?
- Replies: 21
- Views: 8261
Re: Control key vs right mouse click: Pros & cons?
Use both. Check the control key and check the mouse button so that either will work.
- Sun Aug 22, 2021 11:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Working with sub stacks
- Replies: 4
- Views: 2936
Re: Working with sub stacks
Thanks for the ideas. Since the keypad is already grouped, I think I will try that first as the simplest
- Sun Aug 22, 2021 9:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Working with sub stacks
- Replies: 4
- Views: 2936
Working with sub stacks
I'm working on a simple Fuel Economy app where the user needs to enter numbers. Two questions: 1. On mobile devices, the dictionary says that I can use set the keyboardType of field "odd" to "numeric" - but where do I put that line of script? In the openCard script? In mouseEnter? Substack.jpg When ...
- Mon Aug 16, 2021 5:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to use one list to populate many identical, but independent, menus?
- Replies: 2
- Views: 2801
Re: How to use one list to populate many identical, but independent, menus?
I think the first thing you need to separate in your mind is the DATA vs the DISPLAY of the data. Where does your list really live ie. where is the master copy that is always correct? Simple Solution : If it is in the field, then all the other locations that use the data must refer back to that mast...
- Wed Aug 11, 2021 8:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Way back when . . .
- Replies: 6
- Views: 3291
Re: Way back when . . .
Is it possible to convert the EPS to SVG and use the new capabilities?
Wondering…
Wondering…
- Thu Aug 05, 2021 3:20 am
- Forum: Talking LiveCode
- Topic: osx service menu call to Livecode app
- Replies: 11
- Views: 5150
Re: osx service menu call to Livecode app
Building off the AppleScript idea, you can use Automator to create a new Quick Action that can be added to the Services menu and can also appear in the Touch Bar and Finder. Start a new Quick Action, then in the Utilities category drag Launch Application into the workflow area on the right. A pull d...
- Tue Jul 06, 2021 11:16 pm
- Forum: Android Deployment
- Topic: FTP Upload Issues.
- Replies: 16
- Views: 7795
Re: FTP Upload Issues.
I've never done it myself BUT...
from other threads I think you need to use a POST command to the server. Perhaps try looking up that.
from other threads I think you need to use a POST command to the server. Perhaps try looking up that.
- Tue Jul 06, 2021 11:12 pm
- Forum: iOS Deployment
- Topic: Exporting text from LiveCode in iOS
- Replies: 20
- Views: 13035
Re: Exporting text from LiveCode in iOS
To use the clipboard you have to use a native field - then you get the pop over options for cut and paste etc via iOS itself. LiveCode alone cannot access those, but using a native field gets access through the operating system. You should really start a new topic instead of resurrecting an old thre...
- Fri Jul 02, 2021 2:26 am
- Forum: Off-Topic
- Topic: MacOS 11.5 beta 4
- Replies: 4
- Views: 3440
Re: MacOS 11.5 beta 4
I'm running the public beta of Monterey and LC has some major appearance and usability issues: All items on the pull down menus have check marks in front of them When in edit mode, the Object and Text pull down menus are completely disabled, so you can't edit the card script, use Inspectors etc. The...
- Thu Jul 01, 2021 6:23 pm
- Forum: Talking LiveCode
- Topic: Radio buttons with custom icons don't always hilite
- Replies: 16
- Views: 6850
Re: Radio buttons with custom icons don't always hilite
Another thought - If this only occurs with your enlarged images of the buttons, it may be that there are some stray transparent pixels in your images. If your mouse happens to hit one of those, the click will go right through the image and get lost. You could try changing the images to circle graphi...
- Fri Jun 04, 2021 12:41 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to get the current brush color ?
- Replies: 18
- Views: 7559
Re: How to get the current brush color ?
Sticking to LC you can use the colornames and if you put the length of the colornames into the message box, I found that LC understands 5390 colornames out of the box. Should be a good start. In a former life I was an architect, and every office has a product library in a backroom somewhere that is ...
- Sun May 30, 2021 5:02 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a database for mobile journal? - Solved
- Replies: 15
- Views: 8484
Re: Creating a database for mobile journal? - Solved
DemoSaveAppData.livecode.zip With all credit to mrcoollion, I have modified his stack to make it a little more modern. All the fields now use a behaviour script for their functions, so all the code for all the fields is in a single spot for modifications. This also means that if you clone a field b...