SRVControls is a set of controls designed for insertion in TSRichViewEdit.
TSRVButton – button;
TSRVCheckBox – check box;
TSRVComboBox – combo box; hierarchical; with images, custom colors and fonts; with hints (suggestions);
TSRVEdit – plain-text one-line editor with hints (suggestions);
TSRVGroupBox – panel with a title;
TSRVImagesScroll – gallery of images;
TSRVLabel – text label;
TSRVListBox – scrollable list of items; hierarchical; with images, check boxes, custom colors and fonts;
TSRVMemo – plain-text multi-line editor;
TSRVPaintBox – controls for custom drawing;
TSRVPanel – panel;
TSRVRadioButton – radio button.
All the controls above can be skinned using TSRVSkinManager.
TSRVDBCheckBox – data-aware check box;
TSRVDBComboBox – data-aware combo box; hierarchical; with images, custom colors and fonts; with hints (suggestions);
TSRVDBEdit – data-aware plain-text one-line editor with hints (suggestions);
TSRVDBListBox – data-aware scrollable list of items; hierarchical; with images, check boxes, custom colors and fonts;
TSRVDBMemo – data-aware plain-text multi-line editor;
TSRVDBText – data-aware text label.
While you can insert any control in TSRichViewEdit, SRVControls work better in this mode:
•they provide high-quality scaling when displaying in the editor;
•they provide high-quality printing;
•they are scaled properly if Screen.PixelsPerInch <> 96 (but only in Delphi 10.1 and newer).
If you create SRVControls at run-time in code, it's highly recommended (instead of a direct assigning of its Parent) to use RVSetControlParent function (defined in RVFuncs unit). This recommendation is in effect both to controls that will be added to a form, and to controls that will be inserted in the editor (in the latter case, RVSetControlParent should be called before calling InsertItem or AddItem methods):