Home / comp / gb.settings / settings / read 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  mk  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
Settings.Read (gb.settings)
Syntax
SUB Read ( hObject AS Object [ , sKey AS String, vDefault AS Variant ] )
Initializes the specified object from the settings file.

The settings must have been written with the Write method.

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.