Show / Hide Table of Contents

Class NSWindowPosSize

Window and dialog position and size settings.

Syntax

Constructors

NSWindowPosSize()

Initializes a new instance of the NSWindowPosSize class.

Declaration
NSWindowPosSize

Methods

GetAssociateId()

Window and dialog position and size settings.

Declaration
Integer GetAssociateId()
Returns
Type Description
Integer

Associate ID of the Associate/Person owning this window setting.

Examples
NSWindowPosSize thing;
Integer associateId = thing.GetAssociateId();

GetExtraId()

Window and dialog position and size settings.

Declaration
Integer GetExtraId()
Returns
Type Description
Integer

Spare ID, not yet in use.

Examples
NSWindowPosSize thing;
Integer extraId = thing.GetExtraId();

GetExtraInfo()

Window and dialog position and size settings.

Declaration
String GetExtraInfo()
Returns
Type Description
String

Extra information* show state, or whatever is required.

Examples
NSWindowPosSize thing;
String extraInfo = thing.GetExtraInfo();

GetHeight()

Window and dialog position and size settings.

Declaration
Integer GetHeight()
Returns
Type Description
Integer

The height of the widget.

Examples
NSWindowPosSize thing;
Integer height = thing.GetHeight();

GetLeftX()

Window and dialog position and size settings.

Declaration
Integer GetLeftX()
Returns
Type Description
Integer

X of origin, left edge of widget.

Examples
NSWindowPosSize thing;
Integer leftX = thing.GetLeftX();

GetOwnerWindow()

Window and dialog position and size settings.

Declaration
String GetOwnerWindow()
Returns
Type Description
String

The dialog, panel or whatever that owns this record.

Examples
NSWindowPosSize thing;
String ownerWindow = thing.GetOwnerWindow();

GetPersonId()

Window and dialog position and size settings.

Declaration
Integer GetPersonId()
Returns
Type Description
Integer

Person ID of the associate owning this window setting.

Examples
NSWindowPosSize thing;
Integer personId = thing.GetPersonId();

GetState()

Window and dialog position and size settings.

Declaration
Integer GetState()
Returns
Type Description
Integer

Normal = 0, Maximized = 1, Minimized = 2. See ShowState.

Examples
NSWindowPosSize thing;
Integer state = thing.GetState();

GetUpperY()

Window and dialog position and size settings.

Declaration
Integer GetUpperY()
Returns
Type Description
Integer

Y of origin, upper edge of widget.

Examples
NSWindowPosSize thing;
Integer upperY = thing.GetUpperY();

GetWidth()

Window and dialog position and size settings.

Declaration
Integer GetWidth()
Returns
Type Description
Integer

The width of the widget.

Examples
NSWindowPosSize thing;
Integer width = thing.GetWidth();

GetWindowPosSizeId()

Window and dialog position and size settings.

Declaration
Integer GetWindowPosSizeId()
Returns
Type Description
Integer

Primary key.

Examples
NSWindowPosSize thing;
Integer windowPosSizeId = thing.GetWindowPosSizeId();

SetAssociateId(Integer)

Window and dialog position and size settings.

Declaration
Void SetAssociateId(Integer associateId)
Parameters
Type Name Description
Integer associateId

Associate ID of the Associate/Person owning this window setting.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer associateId;
thing.SetAssociateId(associateId);

SetExtraId(Integer)

Window and dialog position and size settings.

Declaration
Void SetExtraId(Integer extraId)
Parameters
Type Name Description
Integer extraId

Spare ID, not yet in use.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer extraId;
thing.SetExtraId(extraId);

SetExtraInfo(String)

Window and dialog position and size settings.

Declaration
Void SetExtraInfo(String extraInfo)
Parameters
Type Name Description
String extraInfo

Extra information, show state, or whatever is required.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
String extraInfo;
thing.SetExtraInfo(extraInfo);

SetHeight(Integer)

Window and dialog position and size settings.

Declaration
Void SetHeight(Integer height)
Parameters
Type Name Description
Integer height

The height of the widget.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer height;
thing.SetHeight(height);

SetLeftX(Integer)

Window and dialog position and size settings.

Declaration
Void SetLeftX(Integer leftX)
Parameters
Type Name Description
Integer leftX

X of origin, left edge of widget.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer leftX;
thing.SetLeftX(leftX);

SetOwnerWindow(String)

Window and dialog position and size settings.

Declaration
Void SetOwnerWindow(String ownerWindow)
Parameters
Type Name Description
String ownerWindow

The dialog, panel or whatever that owns this record.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
String ownerWindow;
thing.SetOwnerWindow(ownerWindow);

SetPersonId(Integer)

Window and dialog position and size settings.

Declaration
Void SetPersonId(Integer personId)
Parameters
Type Name Description
Integer personId

Person ID of the associate owning this window setting.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer personId;
thing.SetPersonId(personId);

SetState(Integer)

Window and dialog position and size settings.

Declaration
Void SetState(Integer state)
Parameters
Type Name Description
Integer state

Normal = 0, Maximized = 1, Minimized = 2 See ShowState.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer state;
thing.SetState(state);

SetUpperY(Integer)

Window and dialog position and size settings.

Declaration
Void SetUpperY(Integer upperY)
Parameters
Type Name Description
Integer upperY

Y of origin, upper edge of widget.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer upperY;
thing.SetUpperY(upperY);

SetWidth(Integer)

Window and dialog position and size settings.

Declaration
Void SetWidth(Integer width)
Parameters
Type Name Description
Integer width

The width of the widget.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer width;
thing.SetWidth(width);

SetWindowPosSizeId(Integer)

Window and dialog position and size settings.

Declaration
Void SetWindowPosSizeId(Integer windowPosSizeId)
Parameters
Type Name Description
Integer windowPosSizeId

Primary key.

Returns
Type Description
Void
Examples
NSWindowPosSize thing;
Integer windowPosSizeId;
thing.SetWindowPosSizeId(windowPosSizeId);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top