Search found 783 matches

by sphere
Thu Mar 14, 2019 2:26 pm
Forum: LiveCode for FM
Topic: Embarrassing
Replies: 5
Views: 280

Re: Embarrassing

This is how I solve my coding problems too. Just ask here and within minutes you'll figure out the answer yourself. Never fails.
i second that. :lol:
by sphere
Thu Mar 14, 2019 2:22 pm
Forum: Android Deployment
Topic: Splash format
Replies: 7
Views: 144

Re: Splash format

I don't know if that works at all.
I just use the first card as a splash screen and then evolve to 2nd card after a few checks/settings and seconds.
by sphere
Tue Mar 12, 2019 1:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Serious Runtime problem
Replies: 12
Views: 336

Re: Serious Runtime problem

It won't give problems i'm sure. But it's easier to remember to use g for globals, t for locals, k for constants and s for scriptlocals (to use between handlers in a script) so don't get "in de war". As i had one time not figering out why a global did not work...i've putted it after the word local i...
by sphere
Mon Mar 11, 2019 1:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Serious Runtime problem
Replies: 12
Views: 336

Re: Serious Runtime problem

Maybe it's not hard, but should a global not begin with a g instead of a t.
So at least you know when it is a local or a global when scripting and not get confused.
by sphere
Wed Mar 06, 2019 1:19 pm
Forum: LiveCode Builder
Topic: Need help on how can I build an extension for my external dll and call it on my livecode builder
Replies: 3
Views: 261

Re: Need help on how can I build an extension for my external dll and call it on my livecode builder

i wish i could help you. I did all the lessons on the livecode builder and that worked, but i would really not know how to uase a dll form any api or whatever and connect it with LC builder. Maybe you can look at some other examples here on the forum, or look for trevore devore on github. He did som...
by sphere
Sun Mar 03, 2019 9:11 pm
Forum: Mac OS
Topic: [solved] All objects on all cards shifted up 30 to 50 pixels at least
Replies: 5
Views: 176

Re: All objects on all cards shifted up 30 to 50 pixels at least

@Richmond and @Klaus on both questions i can answer Yes! edit:Thanks for the hint Klaus, now i hide it and all looks ok. Hopefully i still can use it when it's hided, as it works a bit different then on Win10 or Linux. edit 2:Yes i can hide it on MacOs (set visible to false) and still shows up in Ma...
by sphere
Sun Mar 03, 2019 5:24 pm
Forum: Mac OS
Topic: [solved] All objects on all cards shifted up 30 to 50 pixels at least
Replies: 5
Views: 176

[solved] All objects on all cards shifted up 30 to 50 pixels at least

Hi, when creating a stack on windows. Then when this stack is opened as a standalone or in the IDE (lc903rc1) in MacOs (latest) then all objects are shifted up from 30 to 50 pixels or more. I selected all objects and shifted them down using nutch. Saved every time. then when using command 3 switched...
by sphere
Wed Feb 27, 2019 10:25 pm
Forum: Feature Requests
Topic: SVGs can now be Imported As Control
Replies: 3
Views: 389

Re: SVGs can now be Imported As Control

Probably something in that conversion goes wrong i guess.

I have a simple png file with color imported in inkscape and saved as svg, which loads correct in LC.
by sphere
Wed Feb 27, 2019 9:14 pm
Forum: Feature Requests
Topic: SVGs can now be Imported As Control
Replies: 3
Views: 389

Re: SVGs can now be Imported As Control

if i open your svg file from your zip in the bug database in Inkscape i get to see this:
Knipsel.PNG
Knipsel.PNG (11.3 KiB) Viewed 353 times
So i wonder where the fault may be, in the svg source or in LC
by sphere
Mon Feb 25, 2019 9:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SQLite Questions
Replies: 32
Views: 931

Re: SQLite Questions

Where are you putting the preOpenStack/closeStack handlers? In the Stack script. Click Object in the Menu then click Stack Script You could see it as the mothercard for the stack. (or the box containing the cards) First the Stack is opened and then the first card, but what you see is the first card...
by sphere
Fri Feb 22, 2019 2:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SQLite Questions
Replies: 32
Views: 931

Re: SQLite Questions

I'm using this and works good: on preOpenStack if the platform is "Linux" then put specialFolderPath("home") & "/myDB.sqlite" into gDatabasePath else put specialFolderPath("support") & "/myDB.sqlite" into gDatabasePath end if end if put revOpenDatabase("sqlite", gDatabasePath, , , , ) into gLocalDbI...
by sphere
Thu Feb 21, 2019 8:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SQLite Questions
Replies: 32
Views: 931

Re: SQLite Questions

Just my 5 cents added to the pocket.
That's certainly not cheap, as normally one add's their 2 cents.

But since we don't use the one and two cents anymore, 5 cents (a Stuiver) is better :lol:
by sphere
Thu Feb 21, 2019 7:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SQLite Questions
Replies: 32
Views: 931

Re: SQLite Questions

Well, except this one - Open the DB when opening the stack That's the global connection :) Opening and checking the connection each time ensures the connection to the db didn't just go away silently somewhere in-between your last and next call to it. This is a valuable hint :mrgreen: By the way sql...
by sphere
Thu Feb 21, 2019 11:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SQLite Questions
Replies: 32
Views: 931

Re: SQLite Questions

You've just answered your own questions.

Open the DB when opening the stack
close it when closing the stack
If it does not exist, create it

Go to advanced search