My work with formsets never got past the "learning" stage. Meaning I never
put one into a production application.

There are some bits that one really needs to understand to work with them.
Like common code between them with thisformset.
It's a big learning curve to use them. And most people are advised to not
use them.

The notion of having a scrollable area on one form by using the scrollbar
setting on a second form set on top of the first form was the latest
tinkering I did. Someone made a container class that emulates that
functionality though.

If one form is the main form, it can start the secondary form. The main form
would be set to a Private Datasession. The secondary form would not be a
private datasession. This will allow the secondary form to see and use the
main forms tables and views. 

Why are you wanting to use a formset? I'm sure there are valid reasons to
use them. 

Tracy

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Joe
Yoder
Sent: Wednesday, May 26, 2021 5:29 PM
To: [email protected]
Subject: Formset goofy

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]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to