Loading...
 

CX_SYSTEM_OBJECT::SetSaveUpdatedWindowPosition

CX_SYSTEM_OBJECT::SetSaveUpdatedWindowPosition

Description:

This function specifies whether to save changed window positions to the user settings when the window is closed. A window position is considered changed when the window has either been resized or moved to a new position.

User settings can be saved transiently or persistently. Transient means that the information is lost when ClassiX is terminated. Persistent saves the information at the user, so that the information is loaded at the next start (on the same computer, with the same user).

User in this context means the Windows user, not the user registered with ClassiX. Single-Sign-On, which blurs this difference, is still being worked on.

Code example:

The following code example shows how to set for the current user and session that changed window positions are saved persistently:

2 SystemObject Call(SetSaveUpdatedWindowPosition)
Stack
Stack Position Object type Brief description
Stack(In) Top SystemObject the method is called from the SystemObject
Top 1 INTEGER 0 = No, 1 = Transient, 2 = Persistent
Stack(Out) Top
Function call: Call(SetSaveUpdatedWindowPosition)