Resource Box...

Is there any easy way to create a control that behaves similar to the
resource attributes box in PHAB? I wanted to have a interface similar to
that for setting up registers in a piece of hardware.

Thanks
Pete Eddy

Bob Smith <bobsmith@home.com> wrote:

Is there any easy way to create a control that behaves similar to the
resource attributes box in PHAB? I wanted to have a interface similar to
that for setting up registers in a piece of hardware.

Thanks
Pete Eddy

It looks like it is comprised of a PtPanelGroup, that contains a horizontally
aligned PtGroup, which contains the resources. The text for
the resource is probably a selectable PtLabel, and the resource
values are probably one of the following: PtButton, PtLabel, PtText.

Not exactly the answer you wanted, but the best I can do! :wink:
In short, I believe there is no super easy way to display such a control.

Regards.

Hmmm…
Oh well, I guess I’ll work something out…
I think I’ll just tie them to an array and stick create them during process
setup…
Thanks


“Derek Leach” <dleach@node318.ott.qnx.com> wrote in message
news:b86pvs$it5$2@inn.qnx.com

Bob Smith <> bobsmith@home.com> > wrote:
Is there any easy way to create a control that behaves similar to the
resource attributes box in PHAB? I wanted to have a interface similar
to
that for setting up registers in a piece of hardware.

It looks like it is comprised of a PtPanelGroup, that contains a
horizontally
aligned PtGroup, which contains the resources. The text for
the resource is probably a selectable PtLabel, and the resource
values are probably one of the following: PtButton, PtLabel, PtText.

Not exactly the answer you wanted, but the best I can do! > :wink:
In short, I believe there is no super easy way to display such a
control.

Regards.