Posted 19 years ago
by Marianne
In attempting to display all of the ProgIDs on a system (~3500) in an IntellipromptMemberList, I'm running into an issue where it takes ~30 seconds for it to load. Here is the code I'm using. If there is a way to speed it up I'd appreciate any suggestions. Also, if it's possible to modify the performance for a large number of entries in the next version of SyntaxEditor it would be greatly appreciated as well. I even tried setting the image index to -1 but it didn't make any difference.
public void ShowMemberList(NameValueCollection ProgIDList){
IntelliPromptMemberList ml = editor.IntelliPrompt.MemberList;
ml.Clear();
foreach(string ProgID in ProgIDList.Keys){
ml.Add(new IntelliPromptMemberListItem(ProgIDList[ProgID], 0));
}
ml.Show();
}
------------------------------- Marianne