Skip to main content
2-Explorer
Apr 8, 2019 6:58 AM UTC
Question

Layout with scrollbar using toolkit

Hi

 

We have a layout into dialog and through code, we are adding labels and input panel into layout.

 

What we need is to fix the size of dialog. For example, it should show only 5 labels and if additional labels are added, it must have scrollbar rather than expanding size of layout and dialog.

 

How to achieve the same? We are using toolkit and Creo version is 4.0 M030.

 

Regards

Ketan

2 replies

14-Alexandrite
Apr 8, 2019 7:10 AM UTC

Set size of dialog and also add scroll bar. automatically when size is more then size set, it should add scroll bar.

API:

ProUIDialogVertsizeSet

Translate
14-Alexandrite
Dec 10, 2019 12:11 PM UTC

I failed with this procedure ☹️

But my workaround with ScrolledLayout...

 

Translate