Loading...
 

ResetFlags

ResetFlags

ResetFlags(windowID, childID), ResetFlags(windowID), ResetFlags(, childID), ResetFlags

parameters: Identifier of a Windows and a child Windows object

Stack
Stack Position Description
Stack(In) Top Flags
Stack(Out) Top -

Although flags are generally specified when defining a window object, some window objects can be changed at runtime. There are constants for the flag values(flag overview). ResetFlags disables the flags found on the stack. All other flags of the window object remain unchanged.

Flags can be modified with SetFlags. With the function IsFlags it can be checked whether a certain flag has been set/deleted for a window object.

Some widget/flag combinations require the widget to be redrawn(Refresh) or refilled(ClearObox & FillObox) so that the changed flags will affect the behaviour and appearance of the widget. The formatting instructions of a widget do not need to be updated.

LIST_ORIGIN LIST_INVALID + ResetFlags(SelectWin, ListBox)

See also