Class NSWindowPosSize

Window and dialog position and size settings.

Constructors

NSWindowPosSize()

Initializes a new instance of the NSWindowPosSize class.

Declaration

NSWindowPosSize

Methods

GetAssociateId()

Declaration

Integer GetAssociateId()

Examples

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

Returns

Type Description
Integer Associate ID of the Associate/Person owning this window setting.

GetExtraId()

Declaration

Integer GetExtraId()

Examples

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

Returns

Type Description
Integer Spare ID, not yet in use.

GetExtraInfo()

Declaration

String GetExtraInfo()

Examples

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

Returns

Type Description
String Extra information* show state, or whatever is required.

GetHeight()

Declaration

Integer GetHeight()

Examples

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

Returns

Type Description
Integer The height of the widget.

GetLeftX()

Declaration

Integer GetLeftX()

Examples

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

Returns

Type Description
Integer X of origin, left edge of widget.

GetOwnerWindow()

Declaration

String GetOwnerWindow()

Examples

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

Returns

Type Description
String The dialog, panel or whatever that owns this record.

GetPersonId()

Declaration

Integer GetPersonId()

Examples

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

Returns

Type Description
Integer Person ID of the associate owning this window setting.

GetState()

Declaration

Integer GetState()

Examples

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

Returns

Type Description
Integer Normal = 0, Maximized = 1, Minimized = 2. See <xref href="CRMScript.NetServer.ShowState" data-throw-if-not-resolved="false"></xref>.

GetUpperY()

Declaration

Integer GetUpperY()

Examples

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

Returns

Type Description
Integer Y of origin, upper edge of widget.

GetWidth()

Declaration

Integer GetWidth()

Examples

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

Returns

Type Description
Integer The width of the widget.

GetWindowPosSizeId()

Declaration

Integer GetWindowPosSizeId()

Examples

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

Returns

Type Description
Integer Primary key.

SetAssociateId(Integer)

Declaration

Void SetAssociateId(Integer associateId)

Examples

NSWindowPosSize thing;
Integer associateId;
thing.SetAssociateId(associateId);

Parameters

Type Name Description
Integer associateId Associate ID of the Associate/Person owning this window setting.

Returns

Type Description
Void

SetExtraId(Integer)

Declaration

Void SetExtraId(Integer extraId)

Examples

NSWindowPosSize thing;
Integer extraId;
thing.SetExtraId(extraId);

Parameters

Type Name Description
Integer extraId Spare ID, not yet in use.

Returns

Type Description
Void

SetExtraInfo(String)

Declaration

Void SetExtraInfo(String extraInfo)

Examples

NSWindowPosSize thing;
String extraInfo;
thing.SetExtraInfo(extraInfo);

Parameters

Type Name Description
String extraInfo Extra information, show state, or whatever is required.

Returns

Type Description
Void

SetHeight(Integer)

Declaration

Void SetHeight(Integer height)

Examples

NSWindowPosSize thing;
Integer height;
thing.SetHeight(height);

Parameters

Type Name Description
Integer height The height of the widget.

Returns

Type Description
Void

SetLeftX(Integer)

Declaration

Void SetLeftX(Integer leftX)

Examples

NSWindowPosSize thing;
Integer leftX;
thing.SetLeftX(leftX);

Parameters

Type Name Description
Integer leftX X of origin, left edge of widget.

Returns

Type Description
Void

SetOwnerWindow(String)

Declaration

Void SetOwnerWindow(String ownerWindow)

Examples

NSWindowPosSize thing;
String ownerWindow;
thing.SetOwnerWindow(ownerWindow);

Parameters

Type Name Description
String ownerWindow The dialog, panel or whatever that owns this record.

Returns

Type Description
Void

SetPersonId(Integer)

Declaration

Void SetPersonId(Integer personId)

Examples

NSWindowPosSize thing;
Integer personId;
thing.SetPersonId(personId);

Parameters

Type Name Description
Integer personId Person ID of the associate owning this window setting.

Returns

Type Description
Void

SetState(Integer)

Declaration

Void SetState(Integer state)

Examples

NSWindowPosSize thing;
Integer state;
thing.SetState(state);

Parameters

Type Name Description
Integer state Normal = 0, Maximized = 1, Minimized = 2 See <xref href="CRMScript.NetServer.ShowState" data-throw-if-not-resolved="false"></xref>.

Returns

Type Description
Void

SetUpperY(Integer)

Declaration

Void SetUpperY(Integer upperY)

Examples

NSWindowPosSize thing;
Integer upperY;
thing.SetUpperY(upperY);

Parameters

Type Name Description
Integer upperY Y of origin, upper edge of widget.

Returns

Type Description
Void

SetWidth(Integer)

Declaration

Void SetWidth(Integer width)

Examples

NSWindowPosSize thing;
Integer width;
thing.SetWidth(width);

Parameters

Type Name Description
Integer width The width of the widget.

Returns

Type Description
Void

SetWindowPosSizeId(Integer)

Declaration

Void SetWindowPosSizeId(Integer windowPosSizeId)

Examples

NSWindowPosSize thing;
Integer windowPosSizeId;
thing.SetWindowPosSizeId(windowPosSizeId);

Parameters

Type Name Description
Integer windowPosSizeId Primary key.

Returns

Type Description
Void