Search found 476 matches

by Simon Knight
Mon Jun 03, 2019 9:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ah the use list ...
Replies: 59
Views: 4364

Re: Ah the use list ...

Oooo! This thread was a little warm in places; and there I was expecting a discussion on how people use the use-list. First I'm not sure why this was posted in "complete beginners" as "talking livecode" seems more logical to me. Which leads me to my first point, does the forum has to many sections, ...
by Simon Knight
Wed May 29, 2019 8:54 am
Forum: Talking LiveCode
Topic: Groups an attempt at understanding.
Replies: 4
Views: 474

Re: Groups an attempt at understanding.

Thank you both for your clear explanations and experimentation. Delete Group: I can now confirm that the delete group line of code works without the complication of using the send command. However, at the time of writing my first post it failed. I guess that the IDE was in an odd state at the time. ...
by Simon Knight
Mon May 27, 2019 3:00 pm
Forum: Talking LiveCode
Topic: Groups an attempt at understanding.
Replies: 4
Views: 474

Groups an attempt at understanding.

In a recent post I mentioned that I struggled to understand how some of the more advanced features of a LC group worked. So in an attempt to gain some insight I have created a stack that allows some properties of a simple group to be toggled on and off. The group comprises eight LC graphic objects w...
by Simon Knight
Mon May 27, 2019 1:09 pm
Forum: Talking LiveCode
Topic: Using "of me" fails to throw an error - is this expected?
Replies: 7
Views: 647

Using "of me" fails to throw an error - is this expected?

I copied a line of script from a card into a button. The script referred to a group on the card and could/should not work in the button: answer "Location is now :" & the loc of group "viewergroup" of me When run in the card it returns the location of the group. However, when run from a button on the...
by Simon Knight
Wed May 22, 2019 2:19 pm
Forum: Talking LiveCode
Topic: Design philosophy of a Custom Control.
Replies: 6
Views: 624

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: 624

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: 624

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: 2518

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: 2518

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: 624

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: 2518

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: 2518

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: 2518

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: 2518

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

Go to advanced search