Search found 441 matches

by Simon Knight
Wed May 22, 2019 2:19 pm
Forum: Talking LiveCode
Topic: Design philosophy of a Custom Control.
Replies: 6
Views: 215

Re: Design philosophy of a Custom Control.

Jacque, Thats a brilliant solution - why didn't I think of that ? I have followed your advice and created an initialise routine in the group script: on preOpenControl ## Sent before the group is displayed PhotoViewerInitialise end preOpenControl On PhotoViewerInitialise ## Handler updates the paths ...
by Simon Knight
Tue May 21, 2019 5:26 pm
Forum: Talking LiveCode
Topic: Design philosophy of a Custom Control.
Replies: 6
Views: 215

Re: Design philosophy of a Custom Control.

Re Library Stacks.

I don't think that they are applicable here as each component would still require code to call the scripts in the library. Also any library scripts would have to be told the identity of the calling object which might be a challenge.

best wishes

Simon
by Simon Knight
Tue May 21, 2019 5:21 pm
Forum: Talking LiveCode
Topic: Design philosophy of a Custom Control.
Replies: 6
Views: 215

Re: Design philosophy of a Custom Control.

Setting the code up as a library with the groups, for instance, might be an alternative. I have no idea about libraries but will have a search of the documents. this particular control looks like exactly the sort of thing the DataGrid was designed to handle. Why not use the existing custom control?...
by Simon Knight
Tue May 21, 2019 4:49 pm
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

Craig,

No recipe just an odd thing that happened.
by Simon Knight
Tue May 21, 2019 11:34 am
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

I did try a simple cut and paste but the break still occurred.

S
by Simon Knight
Tue May 21, 2019 9:27 am
Forum: Talking LiveCode
Topic: Design philosophy of a Custom Control.
Replies: 6
Views: 215

Design philosophy of a Custom Control.

I recognise that this is risky post as I'm asking for opinions but here goes...... I am in the process of completing a custom control that displays a list of thumbnail images. I created it with a specific task in mind but think it may be useful in other projects. Others may also find it useful but I...
by Simon Knight
Tue May 21, 2019 7:51 am
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

Ho Hum, And now they stick..... Now I am unable to clear breakpoints in 9.04. The red dot clears but the code still stops. Pressing continue causes it to exit. I tried the the global clear, saving and closing, restarting but they still stopped execution. Fortunately the deleted points were all insid...
by Simon Knight
Fri May 17, 2019 12:55 pm
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

No, I don't believe it - they never do, why ?

The world has gone truly mad: Brexit, Trump and now dangling "then"

I'm off for a lie down.

S
by Simon Knight
Thu May 16, 2019 9:43 am
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

People are diverse. and how! I can't explain why I go weeks at a time without having a problem for which stepping through code seems the best fit. Sometimes it is, other times any number of other methods feel more efficient. While I do occasionally use breakpoints I prefer writing program status ou...
by Simon Knight
Wed May 15, 2019 8:24 am
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

This sounds much like it might be related to this bug report https://quality.livecode.com/show_bug.cgi?id=19173 that I submitted the other year. The report was about saved breakpoints not working but the worry was that it seemed that my instance of Livecode was the problem.


Simon
by Simon Knight
Tue May 14, 2019 8:19 am
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

I'm just downloading 9.0.4 and will report any strangeness .

Also, just submitted a bug report re the project browser : #22058
https://quality.livecode.com/show_bug.cgi?id=22058
by Simon Knight
Tue May 14, 2019 7:27 am
Forum: Talking LiveCode
Topic: Red dot breakpoints do not stick in v9
Replies: 37
Views: 1051

Re: Red dot breakpoints do not stick in v9

Hi, I have experienced the IDE having successfully edited, applied and saved scripts. Then switching to browse mode and testing reveals no edits made, and examining the script shows it has reverted completely. I've seen this when using 9.0.2 on a mac. It was related to debugging but seems random. I ...
by Simon Knight
Tue May 07, 2019 4:57 pm
Forum: Talking LiveCode
Topic: Confused by "Libraries" and "inclusions"
Replies: 10
Views: 365

Re: Confused by "Libraries" and "inclusions"

Thanks.

I submitted a bug report about the auto system not finding the blur command , but I will heed your point about the build speed being faster if inclusions are specified manually.
by Simon Knight
Tue May 07, 2019 9:09 am
Forum: Talking LiveCode
Topic: Confused by "Libraries" and "inclusions"
Replies: 10
Views: 365

Re: Confused by "Libraries" and "inclusions"

Hi, Part of my problem is that the dictionary is inconsistent. I picked a random library and found the following text Important: The revCacheGeometry command is part of the Geometry library. To ensure that the command works in a standalone application, you must include this custom library when you c...
by Simon Knight
Mon May 06, 2019 4:55 pm
Forum: Talking LiveCode
Topic: Confused by "Libraries" and "inclusions"
Replies: 10
Views: 365

Re: Confused by "Libraries" and "inclusions"

The dictionary is very clear, warning that certain commands and functions require concomitant library inclusions. I don't think I agree with your statement. The dictionary I see lists "blur" as a library and a command but neither entry mention that an inclusion has to be made. e.g. Screen Shot 2019...

Go to advanced search