Search found 1138 matches

by LCMark
Thu Apr 27, 2023 5:24 am
Forum: Talking LiveCode
Topic: can't remember how to do this
Replies: 6
Views: 2743

Re: can't remember how to do this

Thanks for getting back to me, but am I just wrong in remembering that this was resolved by isolating the smaller chunk with parens? I could swear it was, and that the discussion was happily resolved and put on the shelf. I even recall that official humans from the mothership stated that there need...
by LCMark
Wed Apr 26, 2023 7:54 pm
Forum: Talking LiveCode
Topic: My hoverIcon will not display
Replies: 16
Views: 6467

Re: My hoverIcon will not display

Well, I don't know about the OP, but I am most definitely missing something as I cannot for the life of me work out where I would find the autoArm prop. in the props palette. Indeed - that's why I'm curious as to how a button ended up with it being set to true. The property has never been exposed a...
by LCMark
Wed Apr 26, 2023 7:32 pm
Forum: Talking LiveCode
Topic: My hoverIcon will not display
Replies: 16
Views: 6467

Re: My hoverIcon will not display

When the mouse enters the button, the hoverIcon image is not displayed [Win 10, LC9.6.9]. What am I missing? So the autoArm property of that button has been set to true - which is why there is no hoverIcon displaying. Can you remember how you created it? Or indeed how that property got set? [ FWIW,...
by LCMark
Thu Apr 20, 2023 6:19 pm
Forum: Talking LiveCode
Topic: LiveCode Can't Count Images
Replies: 6
Views: 4922

Re: LiveCode Can't Count Images

Did you run my sample stack? One gets the same result when typing 'the number of images of stack "Image Counter"'. Yes I did... The `the number of images of this stack` is interpreted as `the number of images of this card of this stack`. Counting controls is only ever relative to some card - if one...
by LCMark
Thu Apr 20, 2023 9:26 am
Forum: Windows
Topic: Slow... file save
Replies: 17
Views: 12175

Re: Slow... file save

To answer my own question, there is a very slight speed advantages, ie.: revExecuteSQL connectionID, "BEGIN TRANSACTION;" repeat for each record revExecuteSQL connectionID, SQL, "<array>" end repeat revExecuteSQL connectionID, "COMMIT;" is about 5 ms faster on average of 10 writes: 14.1 ms (min 10 ...
by LCMark
Thu Apr 20, 2023 9:23 am
Forum: Windows
Topic: Slow... file save
Replies: 17
Views: 12175

Re: Slow... file save

Thanks for the clarification Mark - I didn't realise I could run BEGIN and COMMIT as individual revExecuteSQL commands with other individual revExecuteSQL commands inside such a block - I had assumed this all had to be inside a single block of SQL (live and learn!). Yes - so the db-connection you m...
by LCMark
Thu Apr 20, 2023 6:33 am
Forum: Talking LiveCode
Topic: LiveCode Can't Count Images
Replies: 6
Views: 4922

Re: LiveCode Can't Count Images

@RCozens: LiveCode can count images just fine and is also quite adept at filling in missing clauses in incomplete chunk expressions :) Expressions involving any control type chunk are only really 'complete' if they contain a card and a stack reference *or* a background and a stack reference. Typical...
by LCMark
Thu Apr 20, 2023 6:04 am
Forum: Windows
Topic: Slow... file save
Replies: 17
Views: 12175

Re: Slow... file save

To follow Mark's suggestion (putting each individual INSERT inside a BEGIN/COMMIT block) Sorry @stam - what I said wasn't very clear (to be fair @SparkOut did say it better) - you should put a BEGIN before you start issuing the INSERTs and then a COMMIT after the last one - i.e. exec BEGIN repeat f...
by LCMark
Wed Apr 19, 2023 10:18 pm
Forum: Windows
Topic: Slow... file save
Replies: 17
Views: 12175

Re: Slow... file save

@stam: BEGIN and COMMIT around your current individual insert approach should make a difference - outside a transaction each insert will be it’s own transaction and due to SQLite’s acid compliance each transaction has to ensure that the db (on disk) is consistent (which usually also involves a sync ...
by LCMark
Wed Apr 19, 2023 10:59 am
Forum: Windows
Topic: Slow... file save
Replies: 17
Views: 12175

Re: Slow... file save

@stam: So what you are experiencing is quite strange - we have done a number of fixes on windows over the last couple of years which has vastly improved performance of saving stackfiles, encoding arrays and such. Does the slow save performance you are seeing when writing data to disk depend on where...
by LCMark
Tue Apr 18, 2023 2:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing SVG images
Replies: 23
Views: 5973

Re: Importing SVG images

P.S. While I'd have no great difficulty locating the stack "com.livecode.library.drawing" in the Mac app package, I'd be hard put to locate it in a Linux install. Stackfiles (which have been loaded from disk) know where they are even if you don't... In the message box try: put the filename of stack...
by LCMark
Tue Apr 18, 2023 12:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing SVG images
Replies: 23
Views: 5973

Re: Importing SVG images

Irksome legal bit: One could argue that as a license holder of 9.6.3 you qualify as a "licensee". The only licenses which exist to the 'LiveCode product' (i.e. 9.6.4 and above) which are referred to are commercial licenses - and they are all 'time limited'. i.e. Someone is only a licensee of the 'Li...
by LCMark
Mon Apr 17, 2023 11:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Importing SVG images
Replies: 23
Views: 5973

Re: Importing SVG images

The gradient is imported exactly as it should be as far as I can see (when using Import Image locally with the supplied svg file).
by LCMark
Mon Feb 27, 2023 6:32 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 13
Views: 9973

Re: Storage permissions & API call

@trevix: Android 11 tightened up access to files which an app doesn't own considerably - an app can no longer (in general) access any file or folder it does not own. 1- specialfolderpath("external documents") returns: "/storage/evulated/0/Android/data/com.trevix.segnapunto/files" this to me seems to...
by LCMark
Tue Jan 10, 2023 10:25 am
Forum: LiveCode Builder
Topic: LCB Newbie question on file placement
Replies: 5
Views: 4388

Re: LCB Newbie question on file placement

@paul: Re file delimiters - it will depend on the thirdparty library's API but yes, almost all cross-platform libraries I have encountered expect native file paths for functions taking paths to files. Re 32-bit/64-bit - 64-bit processes cannot load 32-bit shared libraries - this is true on every pla...

Go to advanced search