Re: Resizable subforms

2017-10-29 Thread Keisuke Miyako via 4D_Tech
widget resizing based on
OBJECT GET SUBFORM CONTAINER SIZE + On Load
will not work if you use Open window.

you should use Open form window.

if you must use Open window,
the earliest you can resize the widget would be On Timer.

> 2017/10/28 21:03、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール:
> I've decided that it must be something to do
> with the way the parent form is resized when it's opened.




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-29 Thread Ortwin Zillgen via 4D_Tech
some reading




Regards
O r t w i n  Z i l l g e n
-
   
 
member of developer-network 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-28 Thread Pat Bensky via 4D_Tech
Thanks very much Keith! That is indeed exactly what I want to do.

After much experimentation I've decided that it must be something to do
with the way the parent form is resized when it's opened. I'm experimenting
with that :)

Cheers

Pat


On 26 October 2017 at 20:06, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> Here is a quick sample of what I think we are talking about:
> http://cdinc.co/Sample/SubformGrow.zip
> The subform objects resize in this one.  Done in v16.2.
>
> Keith - CDI
>
> > On Oct 26, 2017, at 1:48 PM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > If I place a subform object on the form without content, it doesn't
> display
> > at all.
> > For sure the WritePro object is set to grow.
> > I created a simple new subform containing just a field, set to grow, and
> > placed that on my form as a subform and set it to grow. It doesn't ):
> >
> >
> >
> > On 26 October 2017 at 19:31, Keith Culotta via 4D_Tech <
> 4d_tech@lists.4d.com
> >> wrote:
> >
> >> Very odd.  If you place a subform object on the form, without adding
> >> content, set it to grow, run the form and resize it, do its borders
> grow?
> >> If not, maybe try with a new host form?
> >> Is the Write Pro object within the subform for sure set to grow?
> >>
> >> Keith - CDI
> >>
> >>> On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>>
> >>> Nothing grows ... not the subform or any of it contents.
> >>>
> >>> On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <
> >> 4d_tech@lists.4d.com
>  wrote:
> >>>
>  If the WP object in a form is set to grow, and that is used in a
> subform
>  which is set to grow, the WP object should grow the way you are
> thinking
>  when the host form is resized.
> 
>  Keith - CDI
> 
> > On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
>  4d_tech@lists.4d.com> wrote:
> >
> > Using v16:
> > I'm experimenting with using subforms in ways that I haven't
> previously
> > used them :)
> > I have created a subform which contains a Write Pro area. The
> resizing
> > options on that object are both set to Grow.
> >
> > I've placed this subform onto another form. I've set the resizing
> >> options
> > for the subform object both to Grow. But if the parent form is
> resized,
> > nothing changes. The subform doesn't grow and Write Pro area stays
> the
>  same.
> >
> > Am I missing something or does it just not work that way?
> >
> > Thanks!
> > Pat
> >
> >
> >>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
Here is a quick sample of what I think we are talking about: 
http://cdinc.co/Sample/SubformGrow.zip
The subform objects resize in this one.  Done in v16.2.

Keith - CDI

> On Oct 26, 2017, at 1:48 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If I place a subform object on the form without content, it doesn't display
> at all.
> For sure the WritePro object is set to grow.
> I created a simple new subform containing just a field, set to grow, and
> placed that on my form as a subform and set it to grow. It doesn't ):
> 
> 
> 
> On 26 October 2017 at 19:31, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
>> wrote:
> 
>> Very odd.  If you place a subform object on the form, without adding
>> content, set it to grow, run the form and resize it, do its borders grow?
>> If not, maybe try with a new host form?
>> Is the Write Pro object within the subform for sure set to grow?
>> 
>> Keith - CDI
>> 
>>> On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>> 
>>> Nothing grows ... not the subform or any of it contents.
>>> 
>>> On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <
>> 4d_tech@lists.4d.com
 wrote:
>>> 
 If the WP object in a form is set to grow, and that is used in a subform
 which is set to grow, the WP object should grow the way you are thinking
 when the host form is resized.
 
 Keith - CDI
 
> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
 4d_tech@lists.4d.com> wrote:
> 
> Using v16:
> I'm experimenting with using subforms in ways that I haven't previously
> used them :)
> I have created a subform which contains a Write Pro area. The resizing
> options on that object are both set to Grow.
> 
> I've placed this subform onto another form. I've set the resizing
>> options
> for the subform object both to Grow. But if the parent form is resized,
> nothing changes. The subform doesn't grow and Write Pro area stays the
 same.
> 
> Am I missing something or does it just not work that way?
> 
> Thanks!
> Pat
> 
> 
>> 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-26 Thread Pat Bensky via 4D_Tech
If I place a subform object on the form without content, it doesn't display
at all.
For sure the WritePro object is set to grow.
I created a simple new subform containing just a field, set to grow, and
placed that on my form as a subform and set it to grow. It doesn't ):



On 26 October 2017 at 19:31, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> Very odd.  If you place a subform object on the form, without adding
> content, set it to grow, run the form and resize it, do its borders grow?
> If not, maybe try with a new host form?
> Is the Write Pro object within the subform for sure set to grow?
>
> Keith - CDI
>
> > On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Nothing grows ... not the subform or any of it contents.
> >
> > On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <
> 4d_tech@lists.4d.com
> >> wrote:
> >
> >> If the WP object in a form is set to grow, and that is used in a subform
> >> which is set to grow, the WP object should grow the way you are thinking
> >> when the host form is resized.
> >>
> >> Keith - CDI
> >>
> >>> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>>
> >>> Using v16:
> >>> I'm experimenting with using subforms in ways that I haven't previously
> >>> used them :)
> >>> I have created a subform which contains a Write Pro area. The resizing
> >>> options on that object are both set to Grow.
> >>>
> >>> I've placed this subform onto another form. I've set the resizing
> options
> >>> for the subform object both to Grow. But if the parent form is resized,
> >>> nothing changes. The subform doesn't grow and Write Pro area stays the
> >> same.
> >>>
> >>> Am I missing something or does it just not work that way?
> >>>
> >>> Thanks!
> >>> Pat
> >>>
> >>>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
Very odd.  If you place a subform object on the form, without adding content, 
set it to grow, run the form and resize it, do its borders grow?  If not, maybe 
try with a new host form?
Is the Write Pro object within the subform for sure set to grow?

Keith - CDI

> On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Nothing grows ... not the subform or any of it contents.
> 
> On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
>> wrote:
> 
>> If the WP object in a form is set to grow, and that is used in a subform
>> which is set to grow, the WP object should grow the way you are thinking
>> when the host form is resized.
>> 
>> Keith - CDI
>> 
>>> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>> 
>>> Using v16:
>>> I'm experimenting with using subforms in ways that I haven't previously
>>> used them :)
>>> I have created a subform which contains a Write Pro area. The resizing
>>> options on that object are both set to Grow.
>>> 
>>> I've placed this subform onto another form. I've set the resizing options
>>> for the subform object both to Grow. But if the parent form is resized,
>>> nothing changes. The subform doesn't grow and Write Pro area stays the
>> same.
>>> 
>>> Am I missing something or does it just not work that way?
>>> 
>>> Thanks!
>>> Pat
>>> 
>>> 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-26 Thread Pat Bensky via 4D_Tech
Nothing grows ... not the subform or any of it contents.

On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> If the WP object in a form is set to grow, and that is used in a subform
> which is set to grow, the WP object should grow the way you are thinking
> when the host form is resized.
>
> Keith - CDI
>
> > On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Using v16:
> > I'm experimenting with using subforms in ways that I haven't previously
> > used them :)
> > I have created a subform which contains a Write Pro area. The resizing
> > options on that object are both set to Grow.
> >
> > I've placed this subform onto another form. I've set the resizing options
> > for the subform object both to Grow. But if the parent form is resized,
> > nothing changes. The subform doesn't grow and Write Pro area stays the
> same.
> >
> > Am I missing something or does it just not work that way?
> >
> > Thanks!
> > Pat
> >
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
If the WP object in a form is set to grow, and that is used in a subform which 
is set to grow, the WP object should grow the way you are thinking when the 
host form is resized.

Keith - CDI

> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Using v16:
> I'm experimenting with using subforms in ways that I haven't previously
> used them :)
> I have created a subform which contains a Write Pro area. The resizing
> options on that object are both set to Grow.
> 
> I've placed this subform onto another form. I've set the resizing options
> for the subform object both to Grow. But if the parent form is resized,
> nothing changes. The subform doesn't grow and Write Pro area stays the same.
> 
> Am I missing something or does it just not work that way?
> 
> Thanks!
> Pat
> 
> 
> -- 
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Resizable subforms

2017-10-26 Thread Pat Bensky via 4D_Tech
Using v16:
I'm experimenting with using subforms in ways that I haven't previously
used them :)
I have created a subform which contains a Write Pro area. The resizing
options on that object are both set to Grow.

I've placed this subform onto another form. I've set the resizing options
for the subform object both to Grow. But if the parent form is resized,
nothing changes. The subform doesn't grow and Write Pro area stays the same.

Am I missing something or does it just not work that way?

Thanks!
Pat


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**