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?
The Panels are a little strange, what you have to do is this:
Create a PtPanelGroup widget
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.
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?
The Panels are a little strange, what you have to do is this:
Create a PtPanelGroup widget
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?
Previously, Simon Platten wrote in qdn.public.qnxrtp.photon:
The Panels are a little strange, what you have to do is this:
Create a PtPanelGroup widget
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.