Enable/Disable widget

Hi everybody,

I would like to know if there is a way to enable/disable a widget. I mean something like in Delphi or Visual Studio where the widget is still visible but any interaction with it is impossible. Or maybe there is a way to enable/disable the callbacks of a widget on demand ?

Thx for reading this,

CR

You can use the Pt_BLOCKED and Pt_GHOST bits of Pt_ARG_FLAGS. See the description of this resource in the entry for PtWidget in the Widget Reference.

Hi,

This is working fine. Thx a lot for the answer.

Bye,

CR