AllowSetForeGround Method (WINDOW)


PLBCMP GUI Only, 10.3

 

The AllowSetForeGround method enables a behavior where any other Windows process can execute 'SetForegroundWindow' to become the active foreground window if a current PL/B runtime window owns the active window. The method uses the following format:

 

[label]

{object}.AllowSetForeGround

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A WINDOW object that as been previously declared.

return

Optional. A Numeric Variable that indicates the success or failure of the method.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO flag is always set true.

  2. The EOS and OVER flags are always cleared.

  3. The {return} value is always zero.

 

 

See Also: Method Syntax, WINDOW Methods

 



PL/B Language Reference Activate Method (WINDOW) BackGrndMouseMove Method (WINDOW)