Search found 516 matches

by DR White
Sun Jul 19, 2020 10:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Program generated logic statements? - Solved
Replies: 3
Views: 188

Re: Program generated logic statements?

Bernd,

That works GREAT!!

I thought there was a function like "merge", but I did not know the name of the function and could not find that type of function in the dictionary.

The LC forum is the BEST,

David
by DR White
Sun Jul 19, 2020 9:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Program generated logic statements? - Solved
Replies: 3
Views: 188

Program generated logic statements? - Solved

I attached a very simple example of what I am trying to do.

I am trying to write a program which generates logic statements.
But, after several hours, I have had no progress.

Maybe someone can help?

Thanks,

David
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: 575

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

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

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

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

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

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

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

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

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

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

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

Go to advanced search