Skip to content

SavePlacement Method

Description

Saves the position and size of the form to the specified registry key.

Syntax

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

Parameters

  • RegistryKey: Name of the key.
  • AppName: Application name.
  • Section: Section to store the session in.

Remarks

The placement will be saved to 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.