TRVStyleTemplateComboBox is empty
Posted: Thu May 11, 2017 7:39 pm
Hi Sergey,
I'm trying to use TRVStyleTemplateComboBox but it is empty - no styles.
from help:
I also have tried to copy TScaleRichView and combobox from ActionTestUni demo to the new project, but I have got the same result - empty combo.
I think problem is somewhere in RichViewEdit.Style.StyleTemplates, but I have been stuck inside of RVStyleFunc.ListFill method.
What I'm doing wrong?
Thank you for your advice.
I'm trying to use TRVStyleTemplateComboBox but it is empty - no styles.
from help:
I have done both conditions, but combo box is still empty. There are only a TRVStyleTemplateComboBox and TScalerichview components on the form.The components require Editor.UseStyleTemplates=True, otherwise their Items are empty.
The components work automatically: place them on a form, assign Editor property;no additional code is required
I also have tried to copy TScaleRichView and combobox from ActionTestUni demo to the new project, but I have got the same result - empty combo.
I think problem is somewhere in RichViewEdit.Style.StyleTemplates, but I have been stuck inside of RVStyleFunc.ListFill method.
What I'm doing wrong?
Thank you for your advice.