Marrittw For your solution I guess you could call applicationComplete Handler. And works most of time.
For your function unload the default and than load yours. Regards Igor Costa On 4/7/08, merrittwchapman <[EMAIL PROTECTED]> wrote: > > I have an application that needs to be styled based on a URL variable. > I'm having trouble > applying the style BEFORE the application starts displaying controls. > > When the app loads, a login Panel is displayed in the default look and > feel (gray) until the > StyleManager runs as part of an init method called from the > creationComplete method. So > basically, the default style is initially shown for a split second and > then it switches to the > correct style. > > How can I force the style to load before the UI is displayed? I've tried > calling the > StyleManager in preinitialize functions, but that isn't working. > > Any thoughts would be appreciated. > > Thanks! > MC > > > -- ---------------------------- Igor Costa www.igorcosta.com www.igorcosta.org