Re: Reorder fields

2023-07-29 Thread Geoff Canyon via use-livecode
One trick to this is that objects are included into a group if relayerGroupedControls is set to true and the layer of the control is set to the layer above the group. Meaning that if you have this arrangement: stack "Untitled 1" card id 1002 | group id 1005 (1005) | | button "Button" (1006) |

Re: Reorder fields

2023-07-29 Thread Martin Koob via use-livecode
Hi MarkwI did not see your later post that the fields were grouped. My scenario was just the most basic case of fields on a card. I guess it would work if all the fields were in 1 group but having fields in different groups certainly complicates things. Cool solution though. I wasn’t aware

Re: Reorder fields

2023-07-29 Thread Mark Smith via use-livecode
On 29 Jul 2023, at 3:27 pm, Martin Koob via use-livecode wrote: > > The two ways I have used are either with the property inspector or by script. > > Property Inspector > - click the ‘Position’ tab of the property inspector > - Change the number in the ‘Layer’ field either directly or by

Re: Reorder fields

2023-07-29 Thread Martin Koob via use-livecode
Hi The tab order will follow the field’s layer from lowest to highest. (Or from highest to lowest if you hold down the SHIFT key while tabbing just like other apps.) So as you said with your original fields they will tab in this order. field “a" - Layer 9 field ”c" - Layer 12 field “b" -

Re: Reorder fields

2023-07-29 Thread Mark Smith via use-livecode
Thanks Geoff. Very interesting. That was, of course, my problem. The items were grouped and the relayerGroupedControls property was false. Changing it to true immediately made it possible to relayer the controls. I feel like I’ve just been introduced to huge component of livecode that I never

Re: charIndex property

2023-07-29 Thread Mark Smith via use-livecode
Love it  Sent from my iPhone > On Jul 28, 2023, at 10:36 PM, Bob Sneidar via use-livecode > wrote: > > This is the essence on Livecode! This is why we love it! Shouldn’t we > rebrand it? How about Lovecode?? ….. > > Never mind.  > > Sent from my iPhone > >>> On Jul 28, 2023, at 04:55,