Hi Kirk,

Yes, I already was afraid this would be the final conclusion☹

I know I can set splitter_2 and listbox_2 and listbox_3 by setting the 
coordinates of the objects while moving splitter_1 (in on clicked event)
I also know I can assign a value to splitter_2 and then the other objects react 
on this assignment while moving splitter_1 (in on clicked)

My problem with this is that I find it to be not very intuitive
I get all kinds of unexpected sizing and moving of the objects

Gr,
Piotr

Van: Kirk Brooks <[email protected]>
Verzonden: Thursday, 26 September 2019 15:39
Aan: Piotr Chabot Stadhouders <[email protected]>
Onderwerp: Re: Another splitter question

Piotr,
On Thu, Sep 26, 2019 at 12:57 AM Piotr Chabot Stadhouders 
<[email protected]<mailto:[email protected]>> wrote:
However, in this case what I want is :
- when I move splitter_1 I want listbox_2 and splitter_2 to MOVE and listbox_3 
to resize
- when I move splitter_2 I want listbox_2 and listbox_3 to resize

I don't think 4D will do that natively. When you move splitter 1 it causes 
listbox 2 to resize but the resize 'flag' (no idea if that's the actual 
mechanism) is not passed on to splitter 2 or listbox 3. So it only affects 
listbox 2.

Conversely when you resize the form itself, making it larger for example, only 
listbox 3 is affected.

What you want would be a sort of auto-distribute resize option. That's 
something different and more complicated. If this is a super critical feature 
you simply must have I think you will need to manage it yourself using the On 
resize form event. I've done that sort of thing a couple of times. It's tedious 
but possible. If the number of items is not great, and it sounds like it's not, 
the performance is not affected too much.
--
Kirk Brooks
San Francisco, CA
=======================

What can be said, can be said clearly,
and what you can’t say, you should shut up about

Wittgenstein and the Computer
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to