A PanelGroup question

Hi everybody,
I’m trying to create a Panel Group with different buttons layout in each
single subpanel.
I want to use the “Population at application design time” method to automate
the selection mechanism.
The problem is:
during the design process I see the different layouts when in the Resource
manager I select the current index and all seems to work well, but when I
compile and run the application, clicking on each panel title nothing
happens.

The manual say quite nothing about this method, can someone help me?

Thanks in advance.

Marco Andolina

The Panels are a little strange, what you have to do is this:

  1. Create a PtPanelGroup widget
  2. Create a PtPane widget inside the PtPanelGroup

You can now put buttons and other widgets in the PtPane widget, this is
associated with the PtPanelGroup widget at the setting specified by `Current
Panel (Index)’.

To add another tab, change the `Current Panel (Index)’ and repeat step 2.

Hope this helps

“Xur” <x@x.x.x> wrote in message news:9ahrhe$c3e$1@inn.qnx.com

Hi everybody,
I’m trying to create a Panel Group with different buttons layout in each
single subpanel.
I want to use the “Population at application design time” method to
automate
the selection mechanism.
The problem is:
during the design process I see the different layouts when in the Resource
manager I select the current index and all seems to work well, but when I
compile and run the application, clicking on each panel title nothing
happens.

The manual say quite nothing about this method, can someone help me?

Thanks in advance.

Marco Andolina

Thanks
I will try as soon as I can.
Bye
Marco Andolina

“Simon Platten” <simon.platten@brisco-eng.co.uk> ha scritto nel messaggio
news:9doj44$pih$1@inn.qnx.com

The Panels are a little strange, what you have to do is this:

  1. Create a PtPanelGroup widget
  2. Create a PtPane widget inside the PtPanelGroup

You can now put buttons and other widgets in the PtPane widget, this is
associated with the PtPanelGroup widget at the setting specified by
`Current
Panel (Index)’.

To add another tab, change the `Current Panel (Index)’ and repeat step 2.

Hope this helps

“Xur” <> x@x.x.x> > wrote in message news:9ahrhe$c3e$> 1@inn.qnx.com> …
Hi everybody,
I’m trying to create a Panel Group with different buttons layout in each
single subpanel.
I want to use the “Population at application design time” method to
automate
the selection mechanism.
The problem is:
during the design process I see the different layouts when in the
Resource
manager I select the current index and all seems to work well, but when
I
compile and run the application, clicking on each panel title nothing
happens.

The manual say quite nothing about this method, can someone help me?

Thanks in advance.

Marco Andolina

\

Previously, Simon Platten wrote in qdn.public.qnxrtp.photon:

The Panels are a little strange, what you have to do is this:

  1. Create a PtPanelGroup widget
  2. Create a PtPane widget inside the PtPanelGroup

You can now put buttons and other widgets in the PtPane widget, this is
associated with the PtPanelGroup widget at the setting specified by `Current
Panel (Index)’.

To add another tab, change the `Current Panel (Index)’ and repeat step 2.

Hope this helps

… though it should be pointed out that the PtPanelGroup widget has
many bugs, and that the above procedure is the theoretical method. It
doesn’t actually work, at least not in PhAB with Patch C.

Cheers,
Andrew