Hi, I'm trying to use TAdvWordCloud with "Selection=wsSingle" to show a "breadcrumb" style history trail. However the only thing that affects the selection seems to be clicking on a word. Sometimes I want to do this from code. Setting TAdvWord->Selected has no effect, and after calling Clear() the selected item index is still remembered and that item will immediately be drawn selected once it has been added. Am I doing something wrong or can I not alter the selection from code?
Regards,
Robin
You can programmatically set the selected word via AdvWordCloud.WordIndex: integer;
We have fixed the issue that when calling AdvWordCloud.Clear, WordIndex will be automatically set to -1 now to indicate there is no selection.
Ok thanks, WordIndex does the trick.