Hi Joe,
I haven't used formsets since FPW 2.6 (if my memory is correct). They really aren't necessary these days as you can do everything that they can do with single standalone forms, without getting involved in the complexities/strangeness of formsets.
However I don't think your issue has anything to do with formsets in particular. If I understand your description properly you just set the left value of one of the screens to a large negative number and you want to set it to a different (not negative value). As far as I am aware there is no one click method to do this. you can manually change the value in the properties sheet, or you can use sys(1270) to get a reference to the form when you have it open in the designer and then set its properties in the command window:
move the mouse over the title bar of the form or somewhere on the form that has no controls
x = sys(1270) (in the command window)
x.left = 0
Frank.
Frank Cazabon
On 26/05/2021 5:28 pm, Joe Yoder wrote:
I have been working with two forms in a formset for the first time. All has worked out well as the two forms are simply two perspectives on the underlying data. I switch between them by turning visible on and off.
One of the forms somehow got set to max width in the development environment. This is a nuisance to work with but I didn't bother to fix it until this morning. My fix was to scroll to the right bound of the screen and drag the right side of the screen to the left as far as I could and then repeat. This made it much easier to switch between the forms.
In the same session I deleted a series of controls from form2 and replaced them with new ones. When I built the formset form 1 no longer has any controls showing up either in the form designer or when running the form.
I Investigated and at least some of the form1 controls are still in the ,SCX.
Actually I checked details in the Properties of the Formset for the missing form and discovered the Left setting was -1946 while the same setting for the present form was 8. Setting the negative value to 8 restored the missing controls. I'm quessing I inadvertently garbed the whole form rather than the right bound when I was making the screen narrower.
Now my question is - is there a one click solution in the UI to correct this situation or is manual editing of the properties the best approach?
Thanks in advance,
Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]