Re: Widget Properties

2015-10-11 Thread Mark Waddingham
On 2015-10-11 02:18, Monte Goulding wrote: Yes this is an odd one which I’ve queried before. You can now use export widget to array to get the widget defined properties as they will be saved. I don’t think this includes the base object properties like visible, rect, disabled etc though. This is

Re: Widget Properties

2015-10-11 Thread Mark Wieder
On 10/10/2015 11:11 PM, Monte Goulding wrote: No I haven’t reported it. I got the impression from the discussion that it was never intended to support the properties so it wouldn’t happen. I’m about to propose (on the engine forum) a refactor of the properties property (which I’ll do if they

Re: Widget Properties

2015-10-11 Thread Monte Goulding
> On 11 Oct 2015, at 5:26 pm, Mark Wieder wrote: > > On 10/10/2015 11:11 PM, Monte Goulding wrote: > >> No I haven’t reported it. I got the impression from the discussion that it >> was never intended to support the properties so it wouldn’t happen. I’m >> about to

Re: Widget Properties

2015-10-11 Thread Monte Goulding
> On 11 Oct 2015, at 8:08 pm, Mark Waddingham wrote: > > I don't think we have ever had the intention not to update the properties > property to make it work for widgets - we just haven't done so yet. > > Part of the reason for this is that 'the properties' property is

Re: Widget structure questions

2015-10-11 Thread Mark Waddingham
Well we can certainly come up with a list of the handlers which are definitely part of the API used by the palettes. I'd point out that the format on disk of the extensions folder and the metadata file hadn't been 'officially sanctioned' as not going to change either... Hence why the IDE

Re: Widget structure questions

2015-10-11 Thread Mark Waddingham
On 2015-10-11 08:12, Mark Wieder wrote: On 10/10/2015 12:47 PM, Peter Haworth wrote: Yes, I've been using them for a long time now and also wonder why they aren't in the dictionary. I think I might have filed a bug report about that a long while ago but don;t remember for sure. Filed 16189

Re: LC 8 Property Inspector

2015-10-11 Thread Mark Waddingham
On 2015-10-10 22:12, Richard Gaskin wrote: Weirdest: Replace the IDE with the best of community components --- Like the "Weirder" option above, this would be independent of the product build, but would open the door for anyone to do

Re: Widget Properties

2015-10-11 Thread Mark Waddingham
On 2015-10-11 12:31, Monte Goulding wrote: Yes, 2 is not really my concern. Having said that I’m not really sure why some of the stuff in the manifest (handlers and properties) couldn’t have just been done by introspection. Was it necessary to know all that stuff before loading the extension? I

Re: Widget Properties

2015-10-11 Thread Mark Waddingham
On 2015-10-11 08:11, Monte Goulding wrote: On 11 Oct 2015, at 11:36 am, Peter Haworth wrote: Thanks Monte. Maybe I should file a QCC report or have you already done so? No I haven’t reported it. I got the impression from the discussion that it was never intended to support

Re: Widget structure questions

2015-10-11 Thread Mark Wieder
On 10/10/2015 05:54 PM, Mark Waddingham wrote: I don't think I expressed myself very well in the bug report you filed... The examples for syntax shouldn't use undocumented / ide functions - as it is misleading. The ide functions as yet aren't documented but at some point will be as a 'how to

Re: Widget structure questions

2015-10-11 Thread Mark Wieder
On 10/10/2015 12:47 PM, Peter Haworth wrote: Yes, I've been using them for a long time now and also wonder why they aren't in the dictionary. I think I might have filed a bug report about that a long while ago but don;t remember for sure. Filed 16189 and 16190. -- Mark Wieder

Re: Widget Properties

2015-10-11 Thread Monte Goulding
> On 11 Oct 2015, at 11:36 am, Peter Haworth wrote: > > Thanks Monte. Maybe I should file a QCC report or have you already done so? No I haven’t reported it. I got the impression from the discussion that it was never intended to support the properties so it wouldn’t happen.

Re: LC 8 Property Inspector

2015-10-11 Thread Mark Wieder
On 10/10/2015 01:12 PM, Richard Gaskin wrote: Weirdest: Replace the IDE with the best of community components --- Like the "Weirder" option above, this would be independent of the product build, but would open the door for anyone to do

Re: Mouse events outside stack bounds on mobile

2015-10-11 Thread Roger Eller
If showAll works properly on other mobile devices, but "in particular" fails on Android, it is a bug. Workarounds are fine, but bugs still need to be addressed. On Oct 11, 2015 9:32 AM, "Colin Holgate" wrote: > I still have that here. It didn’t have any mouse actions at

Re: Paths in Mac standalone headache

2015-10-11 Thread Peter M. Brigham
On Oct 10, 2015, at 3:39 PM, Richard Gaskin wrote: > Once we discovered that the recursion was happening not because we had > directory structures more than 400,000 folders deep but simply because "set > the directory..." was failing so we kept attempting to get the files of the > same

Re: Mouse events outside stack bounds on mobile

2015-10-11 Thread Colin Holgate
I still have that here. It didn’t have any mouse actions at the time I looked at it. So, changing to noBorder could be worth a try. You would have the card be 3:4 ratio, and 9:16 devices would see the middle area, and iPad would see the whole width, and mouse events would all be happening

Programming LiveCode for the Real Beginner

2015-10-11 Thread Mark Schonewille
Hi, Currently, we're selling lots of books and on tuesday we'll be sending an extra batch. If you want the book to be delivered quickly, you can order now and have it sent within 2 days. Any book ordered before monday night will be shipped on tuesday. Programming LiveCode for the Real

Re: Widget structure questions

2015-10-11 Thread Mark Wieder
On 10/11/2015 01:36 AM, Mark Waddingham wrote: I agree, however, that it is important for the tool writers that this kind of reference be available. Add to that the fact that I haven't even been able to find which ide library those functions live in, so unless you already know about them

Re: Learning Materials

2015-10-11 Thread William Prothero
Richard: Thanks for the info. I think a task-driven cookbook does really need to be community developed. There are so many emails here that ask “how do I do xyz?” or “xyz won’t work… why?” Compiling these, with dates and keywords, and a user commenting facility, would go a long way toward

Re: Widget Properties

2015-10-11 Thread Peter Haworth
On Sun, Oct 11, 2015 at 2:08 AM, Mark Waddingham wrote: > Moreover, we have worked quite hard in the IDE to provide a mechanism for > (2) - it is what the new property inspector is based on - i.e. APIs for > returning information and data about objects in the environment. >

Re: Mouse events outside stack bounds on mobile

2015-10-11 Thread J. Landman Gay
On 10/11/2015 9:02 AM, Roger Eller wrote: If showAll works properly on other mobile devices, but "in particular" fails on Android, it is a bug. Workarounds are fine, but bugs still need to be addressed. I probably wasn't clear. ShowAll works (or rather, doesn't work) the same way on both iOS

Re: Mouse events outside stack bounds on mobile

2015-10-11 Thread Richard Gaskin
J. Landman Gay wrote: > On 10/11/2015 9:02 AM, Roger Eller wrote: >> If showAll works properly on other mobile devices, but "in >> particular" fails on Android, it is a bug. Workarounds are >> fine, but bugs still need to be addressed. > > I probably wasn't clear. ShowAll works (or rather,

Re: Mouse events outside stack bounds on mobile

2015-10-11 Thread Colin Holgate
Think of any story scene based game, where what you see is not a utility app full of fields and buttons that could be placed using code. You would not want to have to create different artwork for every possible aspect ratio screen. Instead you have extra scenery that gets revealed on wider or

Re: Widget Properties

2015-10-11 Thread Peter Haworth
You have my vote to go ahead with that and thanks for proposing it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Oct 10, 2015 at 11:44 PM, Monte Goulding <

function for greatest object in list less than or equal to a value

2015-10-11 Thread Dr. Hawkins
It would be nice to have an intrinsic for this, but I just read the entire function list . . . I need to find the largest number in a list which is smaller than a specified value. e.g., for the list "1,3,4,7,9" and 5, the largest such value would be 4. In a spreadsheet, I could use use

Re: Widget Properties

2015-10-11 Thread Monte Goulding
> On 11 Oct 2015, at 10:10 pm, Mark Waddingham wrote: > > Basically, we needed sideline information which wasn't suitable for inclusion > in the actual module format, and thus it seemed sensible to put the other > information the IDE would need in the manifest too rather

Re: Mouse events outside stack bounds on mobile

2015-10-11 Thread J. Landman Gay
On 10/11/2015 1:53 PM, Richard Gaskin wrote: On the desktop we handle all possible sizes with resizeStack handlers. When would a developer not apply the same loving care to their mobile layout? Colin is spot on. If you choose the right fullscreenMode and set up your layout appropriately you

Re: Learning Materials

2015-10-11 Thread Michael Doub
Would it be reasonable to ask Livecode to host a wiki site for documentation and examples? I kind of like the idea of having the ability to add information or update when I see something that it out of date or unclear. The problem is always organization and searching. This would still

[ANN] LiveCode List Processor

2015-10-11 Thread Peter W A Wood
I decided to convert a small card-based database stack to a “proper” database using SQLite. I immediately missed the next/previous card navigation features which were ideal for browsing the small database. LiveCode chunking is great for handling lists but, as far as I can tell, is missing

[ANN] mergExt: BLE, Google spreadsheets, Map directions, iOS 9 & special price

2015-10-11 Thread Monte Goulding
Hi LiveCoders Today I am releasing a huge update to mergExt Complete and announcing a special price available for the rest of the month. mergBLE 1.0 - CoreBluetooth external for iOS and OS X. Use BLE between Mac and iOS or between iOS devices or between some of the great sensors available and

The 1001 Things To Do With LiveCode All Time Top Ten

2015-10-11 Thread Peter W A Wood
Even though I haven’t been able to spend much time on 1001 Things To Do With LiveCode recently, the blog is still getting an average of 80 visitors per day. I thought you might like to see the all-time top 10 pages visited. 3579Create a URL shortening service by John Craig 1004

Re: function for greatest object in list less than or equal to a value

2015-10-11 Thread Peter M. Brigham
function getMaxLessThan tList,maxVal repeat for each item i in tList if i < maxVal then put i & comma after outList end repeat return max(item 1 to -1 of outList) end getMaxLessThan Simple and fast. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On

Re: function for greatest object in list less than or equal to a value

2015-10-11 Thread dunbarx
Richard, How about this, given a comma delimited list (say "1,1,2,2,3,3,4,4,5,6,7,8,9") in a field 1, with a "5" as your index? on mouseUp answer findItemLessThanIndex(fld 1,"5") end mouseUp function findItemLessThanIndex tData,tIndex put comma & tIndex after tData sort items of

Re: [ANN] mergExt: BLE, Google spreadsheets, Map directions, iOS 9 & special price

2015-10-11 Thread Mike Kerner
Might I just say that we've had mergGoogle running for a month or two, and it's just another great tool that makes LC a great tool. On Sun, Oct 11, 2015 at 10:31 PM, Monte Goulding < mo...@sweattechnologies.com> wrote: > Hi LiveCoders > > Today I am releasing a huge update to mergExt Complete

Re: function for greatest object in list less than or equal to a value

2015-10-11 Thread J. Landman Gay
On 10/11/2015 9:26 PM, dunb...@aol.com wrote: function findItemLessThanIndex tData,tIndex put comma & tIndex after tData sort items of tData numeric return item itemOffset("5",tData) -1 of tData end findItemLessThanIndex I thought of that too, but it fails if tIndex isn't in the