1. Hirenkumar Lad
  2. PowerBuilder
  3. Wednesday, 13 March 2024 07:27 AM UTC

Dear Support Team,

I am working on windows application which display the PSR report. I have added the Tab control having tabs like Page1, Page2 and Page3, etc. I would like to make tab control completely fill in window the way we can do in any winform application. So that whenever I resize my main window child control (tab control) resize accordingly. For more information kindly refer attached Image.

Please advise how can I make child control dock as fill inside the window so that it will work as per my expectation.

 

Thanks & Regards,

Hiren Lad

 

  

 

Attachments (1)
Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 13 March 2024 14:00 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Hiren, You need to code the resize yourself for the tab control and any other UI control.  Kevin Ridley did a great two-part session at our developer conference a few years back that might be useful for you.  Here is link to his code sample and thread about this topic: https://community.appeon.com/index.php/codeexchange/powerbuilder/268-pfc-resize-without-pfc

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 13 March 2024 12:45 PM UTC
  2. PowerBuilder
  3. # 1

Hi Hiren;

  Unfortunately at this time, the TabbedView feature does not support this display feature. If you like though, please open a Support Ticket as an enhancement request.

Regards ... Chris 

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 13 March 2024 13:58 PM UTC
Hiren shows a tab control not TabbedView
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 13 March 2024 14:10 PM UTC
Thanks Armeen for pointing that out. However, the same "even sized tabs" restriction is also there for the Tab Control as well.

However, If Hiren is asking about how to resize controls within a TabbedView or a Tab Page, then that is a different aspect altogether.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.