Search found 56 matches

by SWEdeAndy
Sun Oct 25, 2020 4:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: custom 'widgets'
Replies: 35
Views: 3654

Re: custom 'widgets'

A stack or substack would i think need to be external to the group and at the very least keep a record of the long id of a specific gadget. Probably the best way would be to have the stack add the gadget to the card in that case? In that case could it just be a an external stack rather than substac...
by SWEdeAndy
Sun Oct 25, 2020 3:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: custom 'widgets'
Replies: 35
Views: 3654

Re: custom 'widgets'

Thinking more about it, what i was really envisioning is the option to to have a floating palette for the configuration in edit mode (rather than switching back and forth from browse mode) - but i guess that would be something like a plugin? You could make a substack with the configuration controls...
by SWEdeAndy
Sun Oct 25, 2020 11:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttonbar
Replies: 11
Views: 1490

Re: Buttonbar

selecting another icon from font awesome Indeed you can. BUT you are confined to those icons, and they are all black. Well, no and no: LiveCode lesson: How do I add a custom SVG to use in my app? http://lessons.livecode.com/m/4071/l/1053632-how-do-i-add-a-custom-svg-to-use-in-my-app and button bar ...
by SWEdeAndy
Sat Oct 24, 2020 8:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: custom 'widgets'
Replies: 35
Views: 3654

Re: custom 'widgets'

Stam, would this do what you want?: In the group script of the settings gadget: on mouseEnter choose browse tool end mouseEnter on mouseLeave choose pointer tool end mouseLeave This saves you the hassle in the IDE of changing tools manually. I use this myself sometimes, when I have something similar...
by SWEdeAndy
Mon Oct 19, 2020 4:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Programmatically trigger a mouseUp in a data grid?
Replies: 4
Views: 681

Re: Programmatically trigger a mouseUp in a data grid?

But back to my original question (not really relevant any more but more for my curiosity) - can you dispatch a mouseUp event to the script of a data grid? To the datagrid as a whole, yes. If you've added a mouseUp handler to its script. To simulate a mouseclick on a specific row, I guess you'd have...
by SWEdeAndy
Mon Oct 19, 2020 1:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Programmatically trigger a mouseUp in a data grid?
Replies: 4
Views: 681

Re: Programmatically trigger a mouseUp in a data grid?

I would put the handler that does the populating of other fields in the card script: command displayData pLine set the dgHilitedLines of group "YourDataGrid" to pLine -- This is redundant when clicking in the dg, but covers the automation case put the dgDataOfLine[pLine] of group "YourDataGrid" into...
by SWEdeAndy
Tue Oct 06, 2020 11:55 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Adding a 2nd datagrid to a stack
Replies: 10
Views: 1335

Re: Adding a 2nd datagrid to a stack

Is this possibly a Windows thing? Anyone else see this? If so, it needs to go to the team right away. I'll do some more testing tomorrow and report it if I still have problems. This was on a Mac, and was not even on the same card as the previous control. It was a brand new blank card in the stack. ...
by SWEdeAndy
Wed Sep 30, 2020 8:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Best strategy for building complex software?
Replies: 24
Views: 2719

Re: Best strategy for building complex software?

I'd like to move more into this kind of approach. But – does Apple approve such apps for the AppStore? I can't imagine why they wouldn't. Sandboxing applies to the compiled executable, which controls what any scripts running inside it can and can't do. In that sense it's like downloading a spreadsh...
by SWEdeAndy
Wed Sep 30, 2020 6:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Best strategy for building complex software?
Replies: 24
Views: 2719

Re: Best strategy for building complex software?

you can create a launcher file that you distribute to everyone, and have your main stack live on the server. When someone opens the launcher file it downloads the main stack and that is what they use. Very cool idea... I’d have to host this external to my hospital but that shouldn’t be an issue wit...
by SWEdeAndy
Tue Sep 29, 2020 8:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Best strategy for building complex software?
Replies: 24
Views: 2719

Re: Best strategy for building complex software?

Actually finding time to code is the challenge, so I’m hoping that setting up a more rigid framework to work in will provide an easier way to jump in and out of coding. One thing I’ve found very useful, when it comes to jumping in and out of coding, is to write notes to myself after a coding sessio...
by SWEdeAndy
Mon Sep 07, 2020 6:19 pm
Forum: Developer Services Marketplace
Topic: Looking for a LC developer for a small and simple job
Replies: 3
Views: 2282

Re: Looking for a LC developer for a small and simple job

Hi Peter,

I'm interested in discussing the details of this project. Please contact me at info@wheninspace.se if you have not already found someone who can help you.

/Andreas
by SWEdeAndy
Tue Jul 14, 2020 9:29 am
Forum: Talking LiveCode
Topic: Nothing new here
Replies: 14
Views: 2284

Re: Nothing new here

dunbarx wrote:
Tue Jul 14, 2020 4:40 am
It is worse than you think. Both those methods were native ito the first release of Hypercard.
Indeed, often "since the very start" would not even mean the start of LiveCode (or Revolution, as it were) but HyperCard (and/or Super/Meta-). :)
by SWEdeAndy
Mon Jul 13, 2020 12:13 pm
Forum: Talking LiveCode
Topic: Nothing new here
Replies: 14
Views: 2284

Re: Nothing new here

This is one of the amazing things in LiveCode, and I guess we've all experienced it at some point: Looking something up in the dictionary, and then your eye catches a word in the Related section, and you go "Hmm, that's interesting". You then go to that entry and learn about a command/function/keywo...
by SWEdeAndy
Wed Jul 01, 2020 9:30 pm
Forum: Games
Topic: Space game to test - can animation be improved?
Replies: 19
Views: 6239

Re: Space game to test - can animation be improved?

Nicely done - thanks! Downloading now... Cool! 8) Let me know if you run into any problems installing our playing it. I need to test again to install it fresh on latest Catalina to see how much the OS complains about security issues. :| At last Windows test it got instantly quarantined by the secur...
by SWEdeAndy
Wed Jul 01, 2020 9:13 pm
Forum: Talking LiveCode
Topic: Save variables after closing the app
Replies: 24
Views: 3413

Re: Save variables after closing the app

Spat' wrote:
Wed Jul 01, 2020 8:16 pm
Is there any method to execute this code when the player close he's app ?
Certainly! In the stack script, put:

Code: Select all

on shutdown
  -- Script the saving to local file or stack here
end shutdown

Go to advanced search