Re: Clipping a group by script

2024-10-11 Thread Klaus major-k via use-livecode
Hi Craig, > Am 11.10.2024 um 15:58 schrieb Craig Newman via use-livecode > : > > Klaus. > > Answered in the forum: thank you, already answered to your answer. :-) > Klaus. > > If I make a group and set its height property to a value smaller than the > original, the top of the group stays pu

Re: Clipping a group by script

2024-10-11 Thread Craig Newman via use-livecode
Klaus. Answered in the forum: Klaus. If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. Cr

Ode to New horizons for Dar...

2024-10-11 Thread Curry Kenworthy via use-livecode
Dar: > It is with a sad heart and a grieving kidney that I am announcing > that darzLAB (formally known as Dar Scott Consulting) is closing. Dar, near or far - shine brightly, star! Code and good circuit, you sure could work it. Win health -or- any war. Go tinker as the thinker you are! I hav

Re: Clipping a group by script

2024-10-11 Thread Bob Sneidar via use-livecode
Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed.

Re: LC 10.0.1(rc1) and XCode

2024-10-11 Thread HENRY LOWE via use-livecode
Thank you Panos. Henry > On Oct 11, 2024, at 4:01 AM, panagiotis merakos via use-livecode > wrote: > > Hello all, > > This is indeed a bug, and it affects testing on the simulator. Long story > short, if you want to test in the simulator, > currently you have to choose an Xcode version that w

Re: Clipping a group by script

2024-10-11 Thread Craig Newman via use-livecode
Bob. I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. Craig > On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode > wrote: > > Hmmm… I wrote a handler to determine the rect of all the visible objects on a > card

Re: Clipping a group by script

2024-10-11 Thread Klaus major-k via use-livecode
Hi Craig and Bob, > Am 11.10.2024 um 18:24 schrieb Craig Newman via use-livecode > : > > Bob. > I do not know why Klaus wants to truncate his groups, yes, because that is nobodys business but mine! :-D > but I suspect it has nothing to do with fitting them onto the card. Exactly. > Craig >

Re: Clipping a group by script

2024-10-11 Thread Bob Sneidar via use-livecode
Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the loc

Re: Clipping a group by script

2024-10-11 Thread Klaus major-k via use-livecode
Hi Bob, > Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode > : > > Understood, but if he wants to set the rect of the group so that all the > objects fit inside it, or at least from top to bottom, he should be able to > get the rect of the group, then set the second and fourth items

Clipping a group by script

2024-10-11 Thread Klaus major-k via use-livecode
Hi friends, I want to clip a group by script but cannot get it to work!? See this image, it shows what i want to achieve: I want the content of the group to be clipped at the top and bottom. No problem when resizing manually but no dice by script so fa

Re: LC 10.0.1(rc1) and XCode

2024-10-11 Thread panagiotis merakos via use-livecode
Hello all, This is indeed a bug, and it affects testing on the simulator. Long story short, if you want to test in the simulator, currently you have to choose an Xcode version that will include any of these SDKs: 14.4, 15.2, 16.2, 17.0 However, note that to build an iOS standalone for **device**