Search found 200 matches

by kdjanz
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: 8561

Re: How to constrain position of dragged graphic to path of a circle?

Can you create a template circle the same colour as the background and check that the mouse is “within” the graphic?

Kelly
by kdjanz
Mon Sep 20, 2021 4:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading file and folder dates
Replies: 20
Views: 8854

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...
by kdjanz
Sun Sep 19, 2021 12:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading file and folder dates
Replies: 20
Views: 8854

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
by kdjanz
Thu Aug 26, 2021 12:38 am
Forum: Talking LiveCode
Topic: Control key vs right mouse click: Pros & cons?
Replies: 21
Views: 7609

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.
by kdjanz
Sun Aug 22, 2021 11:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with sub stacks
Replies: 4
Views: 2700

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
by kdjanz
Sun Aug 22, 2021 9:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with sub stacks
Replies: 4
Views: 2700

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 ...
by kdjanz
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: 2379

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...
by kdjanz
Wed Aug 11, 2021 8:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Way back when . . .
Replies: 6
Views: 3057

Re: Way back when . . .

Is it possible to convert the EPS to SVG and use the new capabilities?
Wondering…
by kdjanz
Thu Aug 05, 2021 3:20 am
Forum: Talking LiveCode
Topic: osx service menu call to Livecode app
Replies: 11
Views: 4779

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...
by kdjanz
Tue Jul 06, 2021 11:16 pm
Forum: Android Deployment
Topic: FTP Upload Issues.
Replies: 16
Views: 7065

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.
by kdjanz
Tue Jul 06, 2021 11:12 pm
Forum: iOS Deployment
Topic: Exporting text from LiveCode in iOS
Replies: 20
Views: 12135

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...
by kdjanz
Fri Jul 02, 2021 2:26 am
Forum: Off-Topic
Topic: MacOS 11.5 beta 4
Replies: 4
Views: 3265

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...
by kdjanz
Thu Jul 01, 2021 6:23 pm
Forum: Talking LiveCode
Topic: Radio buttons with custom icons don't always hilite
Replies: 16
Views: 6422

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...
by kdjanz
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: 7096

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 ...
by kdjanz
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: 7569

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

Go to advanced search