Re: Reorder fields

2023-07-30 Thread Geoff Canyon via use-livecode
Yeah, the three driving forces behind Navigator originally were: 1. Speed, because the alternatives didn't run so quickly for larger projects on hardware available circa 20 years ago. 2. Compactness, because the alternatives were pretty overwhelming on the monitors people were using back then. 3.

Re: Reorder fields

2023-07-30 Thread Bob Sneidar via use-livecode
Also good time to mention revNavigator where the grouping would be immediately obvious and you can drag to reorder. Sent from my iPhone > On Jul 29, 2023, at 15:22, Geoff Canyon via use-livecode > wrote: > > One trick to this is that objects are included into a group if >

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
;> >> Mark >> >> >>> On 28 Jul 2023, at 3:00 pm, Paul Dupuis via use-livecode >>> wrote: >>> >>> You can change the layer (order) in the Project Browser in the IDE by just >>> dragging the objects up or down the list of objects on

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: Reorder fields

2023-07-28 Thread Geoff Canyon via use-livecode
Also check out the relayerGroupedControls property. It probably would have led to even greater confusion in this instance, but it's good to know about it and what it does. From the dictionary: "Specifies whether you can change the layer of controls in a group even if not in group-editing mode." I

Re: Reorder fields

2023-07-28 Thread Mark Smith via use-livecode
You hit the nail on the head. Select grouped was not selected so each field / label looked independent (and could be independently selected). But in fact they were grouped. With select grouped off the fields could not be rearranged. Turning it on enabled layering the groups (containing the

Re: Reorder fields

2023-07-28 Thread J. Landman Gay via use-livecode
ng. Mark On 28 Jul 2023, at 3:00 pm, Paul Dupuis via use-livecode wrote: You can change the layer (order) in the Project Browser in the IDE by just dragging the objects up or down the list of objects on the card. On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote: How do you reorder

Re: Reorder fields

2023-07-28 Thread J. Landman Gay via use-livecode
: You can change the layer (order) in the Project Browser in the IDE by just dragging the objects up or down the list of objects on the card. On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote: How do you reorder fields? I have a form (prebuilt) with 3 fields (a,b,c) in positions 9, 15

Re: Reorder fields

2023-07-28 Thread Mark Smith via use-livecode
>>> You can change the layer (order) in the Project Browser in the IDE by just >>> dragging the objects up or down the list of objects on the card. >>> >>> >>> On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote: >>>> How do you reorder fi

Re: Reorder fields

2023-07-28 Thread Craig Newman via use-livecode
t >> dragging the objects up or down the list of objects on the card. >> >> >> On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote: >>> How do you reorder fields? I have a form (prebuilt) with 3 fields (a,b,c) >>> in positions 9, 15, 12 (as indicated

Re: Reorder fields

2023-07-28 Thread Mark Smith via use-livecode
via use-livecode > wrote: > > You can change the layer (order) in the Project Browser in the IDE by just > dragging the objects up or down the list of objects on the card. > > > On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote: >> How do you reorder fields? I

Re: Reorder fields

2023-07-28 Thread Paul Dupuis via use-livecode
You can change the layer (order) in the Project Browser in the IDE by just dragging the objects up or down the list of objects on the card. On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote: How do you reorder fields? I have a form (prebuilt) with 3 fields (a,b,c) in positions 9, 15

Re: Reorder fields

2023-07-28 Thread Craig Newman via use-livecode
an always > force the issue by trapping the tabKey message in each field, and directing > it to the next one of you own choice. > > Craig > >> On Jul 28, 2023, at 6:19 AM, Mark Smith via use-livecode >> wrote: >> >> How do you reorder fields? I have a for

Re: Reorder fields

2023-07-28 Thread Craig Newman via use-livecode
Hi. Not sure why the tabbing order seems to be out of whack, but you can always force the issue by trapping the tabKey message in each field, and directing it to the next one of you own choice. Craig > On Jul 28, 2023, at 6:19 AM, Mark Smith via use-livecode > wrote: > > How do

Reorder fields

2023-07-28 Thread Mark Smith via use-livecode
How do you reorder fields? I have a form (prebuilt) with 3 fields (a,b,c) in positions 9, 15, 12 (as indicated by the Layer field in the Position tab). Tabbing cause these fields to be visited in the order a, c, b whereas I would prefer a, b, c. I have tried all manner of editing the Layer