Windows Component

Fnd_Wnd_SavePosition

Fnd_Wnd_SavePosition ({name{; window ref}})

Legacy manual page 266

Parameters

ParameterTypeDescription
nameTextThe name of the preference item (optional)
window refLongintThe window to save (optional)

Description

Saves the front most window of the current process in the user’s preferences file (if the Foundation Preferences component is available). See the Fnd_Wnd_UseSavedPosition command for an example. This is basically the same as calling Fnd_Pref_SetWindow, but you do not have to check first to see if the Preferences component is available.

Extracted source text
            Fnd_Wnd_SavePosition ({name{; window ref}})

              Parameter               Type              Description
              name                    Text              The name of the preference item (optional)
              window ref              Longint           The window to save (optional)

            Saves the front most window of the current process in the user’s preferences file (if the Foundation
            Preferences component is available). See the Fnd_Wnd_UseSavedPosition command for an example.
            This is basically the same as calling Fnd_Pref_SetWindow, but you do not have to check first to see if
            the Preferences component is available.