SaveSettings Method
See Also

Description
Saves the GridColumn settings of the GridControl.
Syntax
Public Function SaveSettings() As String
Remarks
You can store the string in a file to load a particular layout. This will save all columns with their settings and some required GridControl settings.
Example
This sample illustrates how to save the GridColumn settings to a string and store it in a file to be loaded at any time.
Dim FreeF As Integer
Dim sFile As String
Dim sLayout As String
sFile = "c:\Layout.000"
FreeF = FreeFile
Kill sFile
Open sFile For Binary As #FreeF
Put #FreeF, , wndGridControl.SaveSettings
Close #FreeF
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.