Load default scheme


Author
Message
Gary Smith
Gary Smith
Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)
Group: Forum Members
Posts: 39, Visits: 1

Hi, I'm calling teh NUIManager ShowEditor() and everything works fine there. However, I want my users to be able to select thier default scheme, and have that load when the program loads. I'm not sure how to acomplish saving the default scheme the user selected, nor how to recall it... can you give me an example?  Using VB Visual Studio 2008. Thanks.

Gary

 


Reply
Gary Smith
Gary Smith
Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)
Group: Forum Members
Posts: 39, Visits: 1

Hi Angel,

I tried the methods you suggest however,

The methods NUIPalette.Load and .Save do not exist Or maybe I'm calling it wrong. I tried  NUIManager.Palette.Load() but it brings up the interface instead of just loading the file ("hcms.xml"). The NUIPalette only allows FromFile() which asks for a filepath as string - no problem, but also requires a System.Type which I'm not sure what its looking for.

To clarify what I need to do:

 

1) Open up the editor by calling NuiManagerController1.Palette.ShowEditor()

2) allow the user to select thier color scheme

3) Save the color scheme to a file (default filename if possible)

4) Change the scheme on the fly (doing this no problem)

5) Load the saved scheme/file on startup without interaction from the user

 

Hope that helps.


Thanks
Gary

 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search