Page 1 of 1
TRVStyleTemplateComboBox and Delphi 5
Posted: Tue Feb 17, 2015 3:43 pm
by Andre
How do I connect a TRVStyleTemplateComboBox to a TSRichViewEdit in Delphi 5.
The same question for a TRVFontComboBox and a TRVFontSizeCombobox.
In Delphi 5 there is no property "Editor" and when I try to connect them through code I get an error: Incompatible types: 'TCustomRichViewEdit' and 'TSRichViewEdit'
Posted: Tue Feb 17, 2015 5:42 pm
by Sergey Tkachenko
Which version of TRichView do you use?
TRVStyleTemplateComboBox and Delphi 5
Posted: Tue Feb 17, 2015 6:09 pm
by Andre
The component TSRichViewEdit property version = v4.7.2
The package is: 13.12.1
Posted: Wed Feb 18, 2015 5:56 pm
by Sergey Tkachenko
Your version of the components is too old.
You need a newer version of TRichView.
As far as I can see, these changes were implemented in RichViewActions 3.10, that corresponds to TRichView 13.13
TRVStyleTemplateComboBox and Delphi 5
Posted: Wed Feb 18, 2015 8:11 pm
by Andre
So, in the version I have it is not possible?
Is the latest version compatible with Delphi 5?
Posted: Thu Feb 19, 2015 8:55 am
by Sergey Tkachenko
In older versions of TRichView, you need to write special code to fill and update the comboboxes.
In new versions, it's enough just to link them with TRichViewEdit or TSRichViewEdit, they will do all the work automatically.
Yes, new versions are compatible with Delphi 5.
TRVStyleTemplateComboBox and Delphi 5
Posted: Thu Feb 19, 2015 10:05 am
by Andre
Do you have sample code to fill and update the comboboxes?
Posted: Fri Feb 20, 2015 8:54 pm
by Sergey Tkachenko
I still suggest to upgrade.
Please send me a private message with details of your order, I'll tell you which version you can use for free.
If you have 13.12.1, then you can upgrade for free at least to v13.13.8, and it is already has automatic combo boxes.