Skip to content

RestorePlacement Method

Description

Restores the position and size of the form from the specified registry key.

Syntax

Public Sub RestorePlacement( _
    ByVal [RegistryKey](#) As String, _
    ByVal [AppName](#) As String, _
    ByVal [Section](#) As String _
)

Parameters

  • RegistryKey: Name of the key.
  • AppName: Application name.
  • Section: Section to restore session from.

Remarks

The placement will be restored from the registry key path built from the RegistryKey, AppName, and Section parameters as follows:

HKEY_CURRENT_USER\Software\ + RegistryKey + AppName + "YourAppPosition" + Section.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.