Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - PropExchange Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PropExchange Question

 Post Reply Post Reply
Author
Message
Onur View Drop Down
Groupie
Groupie


Joined: 17 August 2005
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Onur Quote  Post ReplyReply Direct Link To This Post Topic: PropExchange Question
    Posted: 21 April 2007 at 1:17pm
Hello,

I searched the forum and the samples many times but couldn't find a solution...

I'm using PropExchange classes and DoPropExchange properties and have no problem saving/loading the layout states of each control to different XML files, BUT:

- Is there a way to save/load the layout states of all controls (such as a CommandBars + ReportControl + DockingPane) to a single XML file?

- Is there a way to append an existing custom XML file and save the layouts into that file (without creating a new one or removing/modifying existing nodes)?

Environment: Win XP
Language: C# .NET
Product version: Xtreme SuitePro (Active-X) v.9.81

Thanks in advance...
regards
Onur
Back to Top
Onur View Drop Down
Groupie
Groupie


Joined: 17 August 2005
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Onur Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2007 at 5:25pm
anyone? codejock?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2007 at 12:57am

Hello,

 
You can load all controls instartup and save all control in Close event in single XML. ActvieX version doesn't support append existing XML.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Onur View Drop Down
Groupie
Groupie


Joined: 17 August 2005
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Onur Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2007 at 8:08am
Thanks Oleg but I couldn't find how to do it with PropExchange and/or DoPropExchange.. Can you sen me a sample method/function on saving multiple kinds of control layouts in a single XML? (example: ReportControl + CommandBars..)

I can save multiple controls of the same type to a single file (3 ReportControls for example) but when I save a different kind (CommandBar), it overwrites the whole file..
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.142 seconds.