1. John Vanleeuwe
  2. PowerBuilder
  3. Saturday, 2 November 2024 20:33 PM UTC

Hi guys,

Using PB2019 R3

 

i have a tab control with different tabpages.

On one of the tabpages has multiple datawindows (about 15 different ones)

How can i get a vertical scrollbar on this tabpage please ?

When it's only one datawindow , i can do this on the datawindow properties to set the vertical scrollbar property.

But how about a tabpage ? Is this technically possible please ?

 

 

TIA

John

Who is viewing this page
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Sunday, 3 November 2024 01:21 AM UTC
  2. PowerBuilder
  3. # 1

Hi John;

  The key here ( and I would recommend that all tab pages be created this way)   ...

  1. Create a Custom Visual User Object
  2. Add your controls as required
  3. In the CVUPO properties pane, set the scrollbar properties as required & save it
  4. In the Tab Control, add the Tab Page as a User Object (never use "new" option).

Using the above method, your tab pages have more control and they always then have a common ancestor.  ;-)

HTH

Regards ... Chris

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Saturday, 2 November 2024 22:17 PM UTC
  2. PowerBuilder
  3. # 2

Please see if this Q&A post will help you:

    https://community.appeon.com/index.php/qna/q-a/how-to-scroll-vertically-on-user-object-using-powerscript

That thread contains an example application that illustrates one way a scrollbar can be used to scroll the contents of a custom visual user object.

I have difficulty imagining myself using an app where 15 DataWindows reside within a single tab page, let alone coding it. This does not sound like an effective or optimal user interface.

Comment
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.