Search found 514 matches

by DR White
Mon May 25, 2020 11:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC set an objet to the top laye of a group with script? - Solved
Replies: 12
Views: 481

Re: Can LC set an objet to the top laye of a group with script?

SparkOut,

WOW!

The code "relayer <objectref> to front of group <groupref>" works Great!


Thanks SO MUCH,

David
by DR White
Mon May 25, 2020 10:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC set an objet to the top laye of a group with script? - Solved
Replies: 12
Views: 481

Re: Can LC set an objet to the top laye of a group with script?

Thanks everyone for all the good suggestions, but they seem like too much work.
I think I will just keep deleting the pointer group and then coping it back after
new control is copied to keep it on top layer.
by DR White
Mon May 25, 2020 8:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC set an objet to the top laye of a group with script? - Solved
Replies: 12
Views: 481

Re: Can LC set an objet to the top laye of a group with script?

Craig,

I don't see how "set the screenMouseLoc to the loc of last control" is going to change a layer property.

Jean-Marc,

I don't understand what "getMaxLayerInGrp(pGroup)" is.

Thanks,

David
by DR White
Mon May 25, 2020 2:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 826

Re: What happen the stack handlers "Open" and "PreOpen"?

I filed a bug report:

Bug 22747 - In LC 9.0.6 rc2 all the Stack handlers (including Open and PreOpen) are not showing up Stack handler pick list.
by DR White
Mon May 25, 2020 1:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC set an objet to the top laye of a group with script? - Solved
Replies: 12
Views: 481

Re: Can LC set an objet to the top laye of a group with script?

Thanks for the suggestions. The group I am working with is in a mobile scroller with more than 40 items in the group, witch are being inserted by the user. I need to keep my pointer on top of the newly inserted objects. As a work around, i am currently deleting and copying the pointer after each new...
by DR White
Mon May 25, 2020 11:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC set an objet to the top laye of a group with script? - Solved
Replies: 12
Views: 481

Can LC set an objet to the top laye of a group with script? - Solved

Can LC set an objet to the top laye of a group with script?

Thanks,

David
by DR White
Sun May 24, 2020 12:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 826

Re: What happen the stack handlers "Open" and "PreOpen"?

Typing in "on PreOpenStack" seems to work as normal.
Just thinking that for beginners it is a little confusing, but not a big deal for me.

Just thought I would ask.

Thanks for your help,

David
by DR White
Sun May 24, 2020 12:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 826

Re: What happen the stack handlers "Open" and "PreOpen"?

Humm.

I just opened a new stack and I am not seeing in my Handler List



LC 9.6.0 RC 2?
by DR White
Sun May 24, 2020 10:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 826

What happen the stack handlers "Open" and "PreOpen"?

In LC 9.6 stack handlers "Open" and "PreOpen are no longer on the pick list and now there is one called "Startup".
What is the reason for the change and does "Startup" now include both stack handlers "Open" and "PreOpen?
Where do I set my opening parameters? I am guessing "Startup".


Thanks,

David
by DR White
Fri May 22, 2020 1:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to simplify a group of Logic Blocks? - SOLVED
Replies: 2
Views: 200

Re: How to simplify a group of Logic Blocks?

Thierry,

That works BEAUTIFULLY! :D

THE LC FORUM IS THE BEST,

DAVID
by DR White
Fri May 22, 2020 12:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to simplify a group of Logic Blocks? - SOLVED
Replies: 2
Views: 200

How to simplify a group of Logic Blocks? - SOLVED

Please see the attachment.

The Letters “A,B…” are either a 1 or a 0. Is the a simple way to write this function without a lot of “If” statements?

The result needs to be a 0 or a 1.

Thanks,

David
by DR White
Fri May 15, 2020 5:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC get Loc of a group with respect to group not stack? - Solved
Replies: 3
Views: 231

Can LC get Loc of a group with respect to group not stack? - Solved

Can LC get Loc of a group "test" with respect to group "ScrollArea" not stack? I am using a scrolling group "ScrollArea" which has a height of 2000. Group "Test" is a group within group "ScrollArea". My stack height id 1024. The code within group "Test" is : on mouseUp put loc of me into tLocMe answ...

Go to advanced search