comp • gb.settings • settings • write

Settings.Write (gb.settings)

Sub Write ( hObject As Object [ , sKey As String ] )

Writes the settings of the specified object in the settings file.

This method can handle Window objects, or any control having a Settings property.

Window settings are its position, and its size if the window is resizable. The key used to store the settings is the name of the window class, with the Key optional argument added.

The settings of the other controls depends on the implementation of their Settings property. The key used to store the settings is the class name of the parent window of the control, followed by the name of the control, or the value of Key argument if it is specified.