Recent

Author Topic: TPairsplitter could be better but limited currently.  (Read 408 times)

jamie

  • Hero Member
  • *****
  • Posts: 7829
TPairsplitter could be better but limited currently.
« on: May 30, 2026, 06:49:12 pm »
Unless I missed something I cannot widen the TPairSplitter so I can have left right arrows and things like it being parented and owned by the splitter in the middle.

  I can and did do this using a single splitter but had to do all the other special anchoring to get things to work, but in the end its done, just a lot more work than needed if the TPairsplitter would accept controls and is width sizable to facilitate the action.

 Any thoughts on this, I was also thinking of a movable fancy toolbar.

Jamie


The only true wisdom is knowing you know nothing

wp

  • Hero Member
  • *****
  • Posts: 13625
Re: TPairsplitter could be better but limited currently.
« Reply #1 on: May 30, 2026, 08:04:16 pm »
I don't understand what you mean. But the attached demo is working as I would have expected.

Hansvb

  • Hero Member
  • *****
  • Posts: 930
Re: TPairsplitter could be better but limited currently.
« Reply #2 on: May 30, 2026, 08:38:13 pm »
I think what is meant is that with a pairsplitter you can't make the splitter beam wider. That is not a property. But you can imitate a pair splitter. Then you can adjust the width of the splitter bar.

jamie

  • Hero Member
  • *****
  • Posts: 7829
Re: TPairsplitter could be better but limited currently.
« Reply #3 on: May 31, 2026, 12:30:16 am »
@WP

You can use a single TSplitter in design mode to drop controls on the actual splitter thus the splitter is able to widen or grow higher to allow for client space so you can apply child controls on it. A good example of this would be using LEFT / RIGH arrows on the splitter to indicate data items that can be moved back and forth. or Buttons to clear a list on either side and all of this lives on the actual splitter.

 with a TPairSplitter, it's still a single TSplitter but there are no design abilities to enlarge the splitter client's area to drop controls on it at design time.

Jamie



The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 7829
Re: TPairsplitter could be better but limited currently.
« Reply #4 on: June 06, 2026, 12:36:34 am »
No traction on this yet? :D

Jamie
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018