Search found 285 matches

by bwmilby
Sun Feb 23, 2020 10:20 pm
Forum: iOS Deployment
Topic: Geometry Manager and iOS
Replies: 2
Views: 423

Re: Geometry Manager and iOS

One of my initial projects when getting into LiveCode was making GM and PM work on mobile. As I've worked on some additional projects, I'm beginning to think that in most cases using your own library or custom code would be easier. Geometry manager does work on iOS as long as you are using 9.0 or la...
by bwmilby
Wed Jan 29, 2020 1:14 am
Forum: Android Deployment
Topic: Default app Screen size in Android?
Replies: 2
Views: 575

Re: Default app Screen size in Android?

Create a button that will give you the screenrect directly from the device (or log it to a field when the stack opens). Sounds like the logical screen size is 1/2 or 1/3 actual. If that is the case, then just cut the stack dimensions to match and you will be fine. Anything vector should be rendered ...
by bwmilby
Fri Jan 24, 2020 3:42 am
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 63
Views: 26810

Re: POLL: LiveCode Server deployment

I selected the first option but I do actually use it on my workstations to provide linting for Atom. I have a VPS where I would like to set it up at some point for testing.
by bwmilby
Thu Jan 09, 2020 3:26 am
Forum: Making IDE Plugins
Topic: ANN: Calendar Plugin
Replies: 36
Views: 8130

Re: ANN: Calendar Plugin

For this plugin, the instructions are in the first post. When you click the button to add one to your stack, the default name is "cal". So, to set the date of that group you would use something like: set the pDate of group "cal" to "2020-12-25" And you can use the date that is set with something lik...
by bwmilby
Wed Jan 08, 2020 12:08 am
Forum: Making IDE Plugins
Topic: ANN: Calendar Plugin
Replies: 36
Views: 8130

Re: ANN: Calendar Plugin

In LC docs, you will see “widget” referenced like that when the command expects a reference to a widget. You can see a similar pattern with other objects as well. I will agree that it would be better to make them more clear with something like ‘pWidgetRef’ to be clear that it is a parameter and that...
by bwmilby
Thu Dec 19, 2019 8:30 pm
Forum: Announcements
Topic: RELEASE LiveCode 9.6.0 DP-2
Replies: 5
Views: 2799

Re: RELEASE LiveCode 9.6.0 DP-2

There is a bug in the tree widget that is a bit annoying. Since it is due to my PR, only fair for me to fix it:
https://github.com/livecode/livecode/pull/7240
If you compile the lcb file, you can replace the files in the distribution to get the fix.
by bwmilby
Tue Nov 19, 2019 12:58 am
Forum: iOS Deployment
Topic: mobile player control with hidden controls
Replies: 12
Views: 1309

Re: mobile player control with hidden controls

What object are you trying to get to respond to the messages? Have you tried putting a few test buttons on the card?
by bwmilby
Tue Nov 19, 2019 12:51 am
Forum: Databases
Topic: Encrypting or password protecting SQLite file
Replies: 4
Views: 891

Re: Encrypting or password protecting SQLite file

My guess is that encrypting the file would not work well due to how SQLite works. You certainly could store your data inside the database encrypted though. Depending on how much data you are dealing with, you could use other file formats that could be more easily encrypted directly (LSON as one exam...
by bwmilby
Sun Nov 10, 2019 10:52 pm
Forum: Engine Contributors
Topic: little help with combo/option menus?
Replies: 2
Views: 2952

Re: little help with combo/option menus?

Is that section of code only dealing with sub menus (CS_SUBMENU)? If so, then 792-811 handles other types. It would take me a bit to wrap my head around the variables in that block (entry and state mainly) and the constants that are used.
by bwmilby
Tue Nov 05, 2019 1:14 pm
Forum: Talking LiveCode
Topic: Msg box still dicey?
Replies: 30
Views: 3262

Re: Msg box still dicey?

Sorry about that. Just type “?” To get the help screen. Error appears when you type “Q”. Mac Mojave, LC 9.5
by bwmilby
Tue Nov 05, 2019 2:58 am
Forum: Talking LiveCode
Topic: Msg box still dicey?
Replies: 30
Views: 3262

Re: Msg box still dicey?

I remember discussing this at San Jose. Pretty cool. I am seeing an error when trying to leave the viewer though. Here's how I solved it: I put this in the card script: on fwClearParentScript set the behavior of cd 1 of stack "4wConsole" to empty end fwClearParentScript Then I changed line 443 of th...
by bwmilby
Sat Nov 02, 2019 10:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: I'm pretty sure it can't be done but just checking.
Replies: 6
Views: 1242

Re: I'm pretty sure it can't be done but just checking.

It actually sounds like you need ChordPro functionality. That stores chords inline in a text format. Then there are programs that render it with chords over lyrics. Monospaced font is the easiest way though, you just end up with a bunch of spaces and when you edit lyrics the chords don’t move automa...
by bwmilby
Fri Oct 18, 2019 3:46 am
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 2598

Re: Using external script only stack as behaviour

As long as all changes are being made to the text files, Git can handle merging things together. You will probably want to work on separate branches though. Any changes to the binary will need to be carefully controlled and usually done by one person at a time since there is no way for Git to handle...
by bwmilby
Wed Oct 16, 2019 3:43 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 2598

Re: Using external script only stack as behaviour

I always thought that having a button as the only repository of a behavior was bad behavior. I mean, a button? A small control that has to be cradled on a card in a stack? The beauty of behaviors is that they can catch the messages of a vast array of gadgetry within one's project. To have an object...
by bwmilby
Wed Oct 16, 2019 3:31 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 2598

Re: Using external script only stack as behaviour

Yes, but the question I now have is, did the "hi" message pop up because it is in the openStack handler of the script stack, or because of the behavior setting? In my previous post, I am assuming it is because of the former, not the latter :? I added “put the long id of me after msg” to the behavio...

Go to advanced search