How to set a widget invisible under some conditions?

I want to make some PtLable or PtText widgets invisible under some
condition,how can i do for it?
Is there any flag to make the widget visble or invisible?
Please give me some adivice.Thanks very much!

alisha wrote:

I want to make some PtLable or PtText widgets invisible under some
condition,how can i do for it?
Is there any flag to make the widget visble or invisible?
Please give me some adivice.Thanks very much!

PtUnrealizeWidget()

JohnMcClurkin <jwm@lsr.nei.nih.gov> wrote:

alisha wrote:
I want to make some PtLable or PtText widgets invisible under some
condition,how can i do for it?
Is there any flag to make the widget visble or invisible?
Please give me some adivice.Thanks very much!

PtUnrealizeWidget()

You can also change the widget’s position to a large negative value (i.e.
to move it off the screen).


Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems