ResetScaleOrigin Method (WINDOW)


9.3A, PLBCMP GUI Only

 

The ResetScaleOrigin method processes all of the GUI objects linked to a WINDOW object and resets the origin values for the top, left, height, width and font size values to the current settings. The method uses the following format:

 

[label]

{object}.ResetScaleOrigin

[GIVING {return}][ USING *Flags={flags}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A WINDOW object that is accessed.

return

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

flags

Optional. A decimal number or Numeric Variable that provides a bit-mask value to control features of the method.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The ZERO flag is set if the result is zero.

  2. The OVER flag is set if the result variable is too small to receive the result value without truncation.

  3. The EOS flag is always set to FALSE.

  4. The {flags} setting is reserved for future use.

  5. This method is not available when using the PL/B Web Server.

 

 

See Also: Method Syntax, WINDOW Methods

 



PL/B Language Reference Refresh Method (WINDOW) RibbonGetProp Method (WINDOW)