Skip to content

LoadSettings Method

Description

Loads the GridColumn settings of the GridControl from a string.

Syntax

Public Sub LoadSettings( _
    ByVal [Profile] As String _
)

Parameters

  • Profile: String that contains a stored layout.

Example

This sample illustrates how to load the GridColumn settings from a string stored in a file.

Dim FreeF As Integer, sFile As String, sLayout As String

On Error Resume Next:

    sFile = "c:\Layout.300"
    FreeF = FreeFile
    sLayout = Space(FileLen(sFile))
    Open sFile For Binary As #FreeF
    Get #FreeF, , sLayout
    Close #FreeF
    On Error GoTo 0
    wndGridControl.LoadSettings sLayout

See Also


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