DK Software
Home - Products - Info - Download - Support - Miscellaneous
Home » Other products • Прочие продукты » DKLang Localization Package » Load form very slow when using DKLang
Load form very slow when using DKLang [message #270] Wed, 09 December 2009 04:34 Go to next message
donsa  is currently offline donsa
Messages: 3
Registered: December 2009
Junior Member
I am using DKLangController. If a form have many control then form creating is very slow.

I want to create form with DKLangController more than quickly but i don't know how to do.

(I don't know how to use "procedure RemoveLangController" in the DKLang component)
Can you hep me
Re: Load form very slow when using DKLang [message #271 is a reply to message #270 ] Wed, 09 December 2009 04:40 Go to previous messageGo to next message
bjmiller  is currently offline bjmiller
Messages: 23
Registered: December 2008
Location: USA
Junior Member
Are you using just one DKLang control per form?

How many controls are you trying to create?

You should not need to use the procedure RemoveLangController. The language controller is disposed of automatically when the form is destroyed.
Re: Load form very slow when using DKLang [message #272 is a reply to message #271 ] Wed, 09 December 2009 04:58 Go to previous messageGo to next message
donsa  is currently offline donsa
Messages: 3
Registered: December 2009
Junior Member
My application have 100 forms.
I am using just one DKLangControl on the every form (ie: 100 DKlang control)

There are about 50 control on the form and about 100 caption to translate

When creating form, if i don't want to use DKLangcontroller (i was take DKLangController component on form in design time), then i can how to do ?

thanks
Re: Load form very slow when using DKLang [message #273 is a reply to message #270 ] Wed, 09 December 2009 15:44 Go to previous messageGo to next message
bjmiller  is currently offline bjmiller
Messages: 23
Registered: December 2008
Location: USA
Junior Member
Are you creating all 100 forms at once, or are you creating them only when you need them?
Re: Load form very slow when using DKLang [message #274 is a reply to message #273 ] Thu, 10 December 2009 04:20 Go to previous messageGo to next message
donsa  is currently offline donsa
Messages: 3
Registered: December 2009
Junior Member
i create them only when i need them
Re: Load form very slow when using DKLang [message #275 is a reply to message #274 ] Thu, 10 December 2009 04:38 Go to previous message
bjmiller  is currently offline bjmiller
Messages: 23
Registered: December 2008
Location: USA
Junior Member
I am not sure why your forms load so slowly. It is not something I have experienced and I have a number of forms that have many controls on them also.

If you like you can send me one of your forms with its unit and I will see if I can figure it out. Send it to bjmiller at gmail.com.
Previous Topic:Check if constant exists
Next Topic:Problem with IgnoreList
Goto Forum:
  


Current Time: Fri Sep 10 23:51:55 CEST 2010

Total time taken to generate the page: 0.08663 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software