blocking and ghosting a pt_slider widget

Hi all

I have a simply question?

How to block and ghost a pt_slider widget as well as unblock and unghost it

I tried

PtSetArg(&args[0],Pt_ARG_FLAGS,~0,Pt_BLOCKED|Pt_GHOST);
PtSetResourses…

or

PtSetArg(&args[0],Pt_ARG_FLAGS,0,Pt_BLOCKED|Pt_GHOST);
PtSetResourses…


the slider does not appear to be ghosted but it is blocked. Does the slider
ghost as all?
I think my logic is wrong?

Thanks


Greg Orvets
VP Engineering
Lambdat Tech International
www.lambdatech.com

Hi Greg,

I have submitted a PR for this - at present the PtSlider doesn’t change
its appearance with the Pt_GHOST flag being set.

Regards
Brenda

Greg Orvets wrote:

Hi all

I have a simply question?

How to block and ghost a pt_slider widget as well as unblock and unghost it

I tried

PtSetArg(&args[0],Pt_ARG_FLAGS,~0,Pt_BLOCKED|Pt_GHOST);
PtSetResourses…

or

PtSetArg(&args[0],Pt_ARG_FLAGS,0,Pt_BLOCKED|Pt_GHOST);
PtSetResourses…


the slider does not appear to be ghosted but it is blocked. Does the slider
ghost as all?
I think my logic is wrong?

Thanks


Greg Orvets
VP Engineering
Lambdat Tech International
www.lambdatech.com