Is it possible to use an isl file in a form?
How?
).
appStylistRuntime1:LoadFromStyleManager().
-- peter
and where do i put the load code?
Wherever you want to :).
If you have multiple styles, and you want your users to select a
style, then it'll be in some event handler. If you want one look
and one look only, it'll be in your application startup (probably).
-- peter
It works without the appStyleRuntime statement... ?.
Peter,
Should I have the AppStylistRuntime control in my toolbox?
If you want to drop it onto a form: yes.
If you want to drop it onto a form: yes.
I don't believe it's in the toolbox by default; you need to add it yourself.
The answer you choose depends on what you meant by "should"
-- peter
I just want to toy around with it right now. Eventually I would like to load an appstyle upon app startup.
Peter,
Do you have the sample app you showed at PSDN live that demonstatred the appstyle? If so is it something you could post for download?
Do you have the sample app you showed at PSDN live
that demonstatred the appstyle? If so is it something
you could post for download?
The demo code from PSDN Live (from the Deep Dive) is the AutoEdge code available at http://www.psdn.com/library/entry.jspa?externalID=5742&categoryID=2064. There's also a thread on this forum titled "OpenEdge Ultra Controls for .NET Samples & AutoEdge" which links there too.
-- peter
So create a sandbox workspace. A perfect environment to toy around with.
Add all the controls (including the AppStylist runtime) to the toolbox.
A separate workspace (or project) where you start to create production quality code might have different controls on the toolbox. By the way: A good SCM tool let's you set privilegues on the modification of the toolbox.xml file in various workspaces. So every develop can play around with everything available. But only a team leader might be able to modify the controls in the toolbox that can be used in the real work.