Setting resources of subordinate widgets in PtCompound

Hello

I’ve created my own widget as subclass of PtCompound.
It has a child PtPane widget which is described as subordinate.
As far as I understand the docs, when I set some resource
for my custom widget (for example, Pt_ARG_FILL_COLOR),
it is set automatically for the subordinate widgets
(in my case, for the PtPane), if only I haven’t set my own handler
for this resource. But really it doesn’t (setting the parent widget
resource doesn’t change anything in the subordinate widget).
Could somebody say where I am wrong?

Regards

Alexander

Can you send your code to me ?
“Alexander Orkin” <a7o@mail.ru> wrote in message
news:crr3pf$ph$1@inn.qnx.com

Hello

I’ve created my own widget as subclass of PtCompound.
It has a child PtPane widget which is described as subordinate.
As far as I understand the docs, when I set some resource
for my custom widget (for example, Pt_ARG_FILL_COLOR),
it is set automatically for the subordinate widgets
(in my case, for the PtPane), if only I haven’t set my own handler
for this resource. But really it doesn’t (setting the parent widget
resource doesn’t change anything in the subordinate widget).
Could somebody say where I am wrong?

Regards

Alexander

\