View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002741||JEDI VCL||00 JVCL Components||public||2005-03-10 14:38||2005-04-12 03:28|
|Product Version||3.00 BETA 2|
|Target Version||Fixed in Version||3.10|
|Summary||0002741: TJvFontComboBox loads very slowly: GetFonts is called 4 times|
|Description||The GetFonts method of the TJvFontComboBox is called 4 times when a combo is dropped on a form:|
1. On SetParent
2. On SetParent if in a panel
3. On SetOptions
4. On Loaded
Also there is not BeginUpdate-EndUpdate
This behaviour makes a form with 4 combo boxes load VERY slowly. There must be a way to make a global BeginUpdate-EndUpdate. For example, a property Active which is initially false and the user can set it to true once the combo is fully loaded so that the Fonts are only loaded once!!!
|Tags||No tags attached.|
|You are welcome to implement a working suggestion and post here. That would probably be the fastest way of getting it fixed.|
I've made some changes (in CVS) that should only call GetFonts once with normal use (i.e drop on form or create at run-time).
I've also added a pair of BeginUpdate/EndUpdate methods that you can call in code so you can make multiple updates without triggering GetFonts every time.
Try it out and let me know if you have any problems.
No answers in the past three weeks, this is considered to be resolved.
Should that not be the case, please post a new issue.
|2005-03-10 14:38||anonymous||New Issue|
||Note Added: 0006679|
||Status||new => feedback|
||Note Added: 0006695|
|2005-04-12 03:28||obones||Status||feedback => resolved|
|2005-04-12 03:28||obones||Resolution||open => fixed|
|2005-04-12 03:28||obones||Assigned To||=> obones|
|2005-04-12 03:28||obones||Note Added: 0006931|