Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - saveStatetoString / LoadStateFromString
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

saveStatetoString / LoadStateFromString

 Post Reply Post Reply
Author
Message
suja View Drop Down
Newbie
Newbie


Joined: 22 May 2008
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote suja Quote  Post ReplyReply Direct Link To This Post Topic: saveStatetoString / LoadStateFromString
    Posted: 22 May 2008 at 1:50am

How can i use "saveStatetoString / LoadStateFromString "

Where Can i Find the saved string???
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2008 at 2:26am
Hi,
 
If you would see the help you would find this:

Example

[LoadStateFromString Sample (Visual Basic)] This sample code illustrates how to Load your Docking Pane layout from a string saved in a file.

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

    On Error Resume Next:

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

Example

[SaveStateToString Sample (Visual Basic)] This sample code illustrates how to Save your Docking Pane layout to a string and save the string in a file.

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

    sFile = "c:\Layout.000"
    FreeF = FreeFile
    Kill sFile
    Open sFile For Binary As #FreeF
    Put #FreeF, , DockingPaneManager.SaveStateToString
    Close #FreeF

 

Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
suja View Drop Down
Newbie
Newbie


Joined: 22 May 2008
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote suja Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2008 at 12:17am
thank you~~~~~
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.