PtPanelGroup Problems

hi everyone

I’m having some problems with the PtPanelGroup widget…
I want to have a Pt_CB_PG_SWITCH_PANELS cb, so i can update a certain
widget in a tab when it’s selected.
prob is, I want to update this widget, BOTH when i select this widget
from code, and when I click it manually…

The Pt_CB_PG_SWITCH_PANELS is only called when you click it manually, is
this the way it’s supposed to be??
I’ll probably do a small workaroudn and update it in the code before i
switch, but it would still be nice to know if this is a bug or not…

/Johan

Johan Björk wrote:

hi everyone

I’m having some problems with the PtPanelGroup widget…
I want to have a Pt_CB_PG_SWITCH_PANELS cb, so i can update a certain
widget in a tab when it’s selected.
prob is, I want to update this widget, BOTH when i select this widget
from code, and when I click it manually…

The Pt_CB_PG_SWITCH_PANELS is only called when you click it manually, is
this the way it’s supposed to be??
I’ll probably do a small workaroudn and update it in the code before i
switch, but it would still be nice to know if this is a bug or not…

/Johan

Fixed it, Pt_CALLBACKS_ACTIVE solved my problem, the docs should
mention this in the PanelGroup docs…

Thnx kinner :wink:


/Johan

Johan Bj?rk <phearbear@qnxstart.com> wrote:
: Fixed it, Pt_CALLBACKS_ACTIVE solved my problem, the docs should
: mention this in the PanelGroup docs…

You mean the developer should have mentioned this to the docs people…
I’ll check with the developer and fix the docs. Thanks for pointing it out.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems