PtNumaricInteger

Hi All,
I am able to disable PtNumaricInteger widget from application,
But i want to disaable and enable this widget from code. Currently i am
doing like this.

For Disable:
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,0,Pt_BLOCKED);
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,0,Pt_SELECTABLE);

For Enable:
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,1,Pt_BLOCKED);
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,1,Pt_SELECTABLE);

How to read PtNumaricInteger selected data from code?
I am not able to disable and enable this widget, by using above
code, can any one help me regarding this…

Thanks,
Rajaram.

For Disable:
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,Pt_BLOCKED,Pt_BLOCKED);
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,0,Pt_SELECTABLE);

For Enable:
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,0,Pt_BLOCKED);
PtSetResource(ABW_Widget,
Pt_ARG_FLAGS,Pt_SELECTABLE,Pt_SELECTABLE);

Rajarama wrote:

Hi All,
I am able to disable PtNumaricInteger widget from application,
But i want to disaable and enable this widget from code. Currently i am
doing like this.

For Disable:
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,0,Pt_BLOCKED);
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,0,Pt_SELECTABLE);

For Enable:
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,1,Pt_BLOCKED);
PtSetResource(ABW_Widget, Pt_ARG_FLAGS,1,Pt_SELECTABLE);

How to read PtNumaricInteger selected data from code?
I am not able to disable and enable this widget, by using above
code, can any one help me regarding this…

Thanks,
Rajaram.