1. Marco Meoni
  2. PowerBuilder
  3. Tuesday, 20 July 2021 16:50 PM UTC

Hello,

tab control in multiline mode loses the initial position of its tabpages.

In the image, when click on tabpage "row 3.1", first row becomes third one and the others are shifted upward.

I don't seem to find a property to keep tab pages in their original (design-time) position.

Is that possible? It doesn't seem to be Windows default behaviour.

Thanks,

.m

 

Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 20 July 2021 17:04 PM UTC
  2. PowerBuilder
  3. # Permalink

Not very helpful maybe, but the same thing happens when you click on other multi-line tab controls.

Take for example this one when editing a database connection profile in PB (network, pooling and preview on the first line):

 

When I click on the Network tab, that whole row goes down, it's been like that forever and always has been annoying, but I think it might be standard windows behavior. (network, pooling and preview now on the second line)

 

 

Comment
  1. Marco Meoni
  2. Wednesday, 21 July 2021 05:59 AM UTC
Hello Miguel,

right, it is indeed default Windows behaviour, I haven't found any tab object in Control Panel or Windows apps where tabpages retain their position.

Thanks,

.m
  1. Helpful
  1. Andreas Mykonios
  2. Wednesday, 21 July 2021 07:43 AM UTC
Hi Marco.

This has a logic. If in your case row 3.1 retained its position, by becoming active it would have to hide some of the other tabpages (so they would become not available).

Andreas.
  1. Helpful
  1. Benjamin Gaesslein
  2. Monday, 26 July 2021 07:33 AM UTC
The tabbed interface is a GUI metaphor for physical card tabs. Separating the tabpage content from the tab itself, while technically possible, would break that metaphor (and the result would probably look a little strange, too). Hence the moving tab rows on multiline tab controls.
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.