Skip to content

ExchangeInt Method

Description

Saves or loads a Long value to/from a data source.

Syntax

Public Sub ExchangeInt( _
    ByVal PropName As String, _
    ByRef Value As Long, _
    ByVal DefaultValue As Long _
)

Parameters

  • PropName
    Name of the property.
    Note: When working with XML data, there cannot be any spaces in the property name.

  • Value
    Reference to a variable of type Long to save data to or to retrieve data from.

  • DefaultValue
    Default value of the property.

Remarks

In addition to saving the layout and state of the controls, additional String and Integer values can be saved to the same data source using the ExchangeInt and ExchangeString methods.

It is important to note that both methods require the Value parameter to be a reference to store/retrieve the data.

Whether the data will be saved or loaded depends on the current state of the Loading property.

Note: When working with XML data, there cannot be any spaces in the name given to the data.

See Also

Example

ExchangeInt Sample


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