Sign in Join
Wiki copytemporary

JVCL Components: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## About
22
33JVCL is a library of more than 600 Delphi visual and non-visual components (https://github.com/project-jedi/jvcl). Although heavily Windows-centered, some of them have been ported to Lazarus. This page intends to give a summary of the JVCL components available for Lazarus. Some of the info snippets were taken from <http://wiki.delphi-jedi.org/wiki/JVCL_Component_Overview>.
44
55## Packages
66
77Due to the large number of components the original Delphi version is split into a variety of packages. The Lazarus port follows this convention because the user can install only the functionality needed.
88
99For each package, a runtime and designtime version is available. Runtime packages can be identified with an appended R, designtime packages with an appended D. In the requirements for a project always use the runtime package.
1010
1111### JvCore
1212
1313Provides basic functionality needed by all other packages.
1414
1515### JvStdCtrls
1616
1717Depends on package *JvCore*.\
1818Enhanced standard controls
1919
2020- **TJvCheckbox**: Has a property `LinkedControls`. Linked controls can be enabled/disabled according to the `Checked` state of the Checkbox.
2121- **TJvPanel**: an extended panel with hot-tracking effects and automatic placement of child components (similar to LCL's `ChildSizing` property). Can be dragged and resize at runtime. See example project *JvPanelDemo*.
2222- **JvCalcEdit**: a numeric edit control which opens a calculator dialog.
2323
2424### JvCtrls
2525
2626Depends on packages *JvCore* and *JvStdCtrls*.\
2727Visual controls
2828
2929- **TJvBehaviorLabel**: a label with special display effects: Blinking, bouncing, scrolling, typing, appearing, "special", "code breaker". See demo *examples/JvBehaviorLabel*.
3030- ![](/wiki-images/4/46/Tjvmovablebevel.png) **TJvMovableBevel**: a bevel which can be dragged and resized at runtime
3131- ![](/wiki-images/a/aa/Tjvmovablepanel.png) **TJvMovablePanel**: the same, but now for a panel. Note that this component does not belong to JVCL, it is a simple adaption of TJvMovableBevel to the panel case.
3232- ![](/wiki-images/c/c1/Tjvruler.png) **TJvRuler**: a ruler to indicate distances in centimeters, inches or pixels
3333- ![](/wiki-images/5/5d/Tjvgroupheader.png) **TJvGroupHeader**: header with attached bevelled line.
3434- ![](/wiki-images/6/65/Tjvrollout.png) **TJvRollOut**: expandable panel with headerline.
3535- ![](/wiki-images/0/07/Tjvhint.png) ![](/wiki-images/2/2e/Tjvhtlabel.png) ![](/wiki-images/4/44/Tjvhtlistbox.png) ![](/wiki-images/3/37/Tjvhtcombobox.png) **TJvHtLabel**, **TJvHTCombobox**, **TJvHTListbox** and **TJvHint**: a set of controls which can display HTML text
3636
37-<figure>
38-<img src="JvHTCcontrols.png" title="JvHTCcontrols.png" />
39-<figcaption>JvHTCcontrols.png</figcaption>
40-</figure>
37+![](/wiki-images/2/26/JvHTCcontrols.png)
4138
4239- **TJvComboListBox**: a listbox which can display a combobox overlaying the selected listbox item. Assign a TPopupMenu to the DropdownMenu property and it will be shown when the combo button is clicked. You can also handle the OnDropDown event for custom handling when the button is clicked, or example, displaying a drop down form. These features are demonstrated in the *JvComboListBox* example project.
4340- **TJvOfficeColorPanel**: a panel for color selection designed like the one used by Office 97.
4441
45-<figure>
46-<img src="TJvOfficeColorPanel.png" title="TJvOfficeColorPanel.png" />
47-<figcaption>TJvOfficeColorPanel.png</figcaption>
48-</figure>
42+![](/wiki-images/c/cb/TJvOfficeColorPanel.png)
4943
5044- **TJvLookupAutoComplete**: adds autocompletion of TEdit by ListBox or StringList items. (In the original JVCL, this component is in the Core package.)
5145
5246### JvCustom
5347
5448Depends on package *JvCore*\
5549Custom components
5650
5751- ![](/wiki-images/7/78/Tjvvalidateedit.png) **TJvValidateEdit**: General purpose edit control for text and numbers (integer, float, currency). MaxValue, MinValue, HasMaxValue, HasMinValue - Value is corrected when Edit loses focus. See demo in *JvValidateEdit*.
5852- ![](/wiki-images/0/03/Tjvtimeline.png) **TJvTimeLine**: a one-dimensional calendar ("time-line") which can display various events and tasks. See demo *JvTimeLine*.
5953- ![](/wiki-images/f/f3/Tjvtmtimeline.png) **TJvTMTimeLine**: another timeline component. See demo *JvTMTimeLine*.
6054- ![](/wiki-images/9/9d/Tjvgammapanel.png) **TJvGammaPanel**: advanced color selection tool for foreground and background colors. See demo *JvGammaPanel*.
6155- ![](/wiki-images/b/bd/Tjvthumbview.png) **TJvThumbView**: displays a list of images as thumbnails
6256- ![](/wiki-images/4/43/Tjvoutlookbar.png) **TJvOutlookBar**: an accordeon-like bar of containers for other controls as used by Outlook 97.
6357- ![](/wiki-images/7/71/Tjvimagesviewer.png) **TJvImagesViewer**: displays a list of images as thumbnails, similar to TJvThumbView. See *JvItemViewer* demo.
6458- ![](/wiki-images/e/e9/Tjvimagelistviewer.png) **TJvImageListViewer**: dispays all images of a TImageList. See *JvItemViewer* demo.
6559- ![](/wiki-images/b/bc/Tjvownerdrawviewer_palette.png) **TJvOwnerDrawViewer**: presents arbitrary information in a grid-like view. See *JvItemViewer* demo.
6660
67-<figure>
68-<img src="tjvownerdrawviewer.png" title="tjvownerdrawviewer.png" />
69-<figcaption>tjvownerdrawviewer.png</figcaption>
70-</figure>
61+![](/wiki-images/e/eb/Tjvownerdrawviewer.png)
7162
72-- **TJvChart**: <s>component for drawing time-series charts. Some bugs... See *JvChartDemo* project.</s> Removed: Incomplete, too many bugs.
63+- **TJvChart**: component for drawing time-series charts. Some bugs... See *JvChartDemo* project. Removed: Incomplete, too many bugs.
7364
7465### JvCmp
7566
7667Depends on package *JvCore*.\
7768Non-visual components
7869
7970- **TJvStrHolder**, **TJvMultiStringHolder**: a wrapper component making it easier to work with TStrings and TStringList at design time. Using TStrHolder component you can set TStrings properties and event handlers in form designer and hold a number of strings in your forms.
8071- **TJvSpellChecker**: a spell-checker class with sample dictionaries for English and Dutch. See demo in folder *examples/JvSpellChecker* of the JVCL installation.
8172
82-<figure>
83-<img src="JvSpellChecker.png" title="JvSpellChecker.png" />
84-<figcaption>JvSpellChecker.png</figcaption>
85-</figure>
73+![](/wiki-images/7/7e/JvSpellChecker.png)
8674
8775- **TJvProfiler**: --- to be written ---
8876
8977### JvDB
9078
9179Depends on packages *JvCore*, *JvStdCtrls*, and *JvCtrls*\
9280Data-aware controls
9381
9482- **TJvSearchEdit**: a TEdit with incremental search capabilities within a field of a dataset.
9583- **TJvDBLookupList** and **TJbDBLookupCombo**: lookup controls with additional features:
9684 - can display more than one column (the LookupDisplay property can contain a list of columns separated by a semicolon, the column width is calculated based on Field.DisplayWidth)
9785 - can display pictures (OnGetImage/OnGetImageIndex events)
9886 - configurable empty value (DisplayEmpty,EmptyItemColor,EmptyStrIsNull,EmptyValue)
9987- **TJvDBTreeView**: a treeview constructed from database records. Link the unique ID field to "MasterField", the ID field of the parent node to "DetailField", and the field with the node text to "ItemField". Optionally, the field "IconField" provides the image index for the ImageList. "StartMasterValue" is the beginning level to start building the TreeView, 0 = start from the root itens, 1 = start from the second level, and so on.
10088- **TJvDBCalcEdit**: a numeric edit box which opens a calculator dialog.
10189
10290> **Note:** The packages *JvStdCtrlsLazR* and *JvCtrlsLazR* must have been compiled before this package can be installed.
10391
10492### JvAppFrm
10593
10694Depends on package *JvCore*\
10795Components for applications and forms
10896
10997- **JvAppAnimatedIcon** and **JvFormAnimatedIcon**: display an animated icon (created from an imagelist) in the taskbar and in the form's title bar, respectively.
11098- **JvAnimTitle**: provides an animated form title
11199- **JvFormWallpaper**: tiles the background of a form with an image.
112100
113101### JvHMI
114102
115103Depends on package *JVCore*.\
116104The packages JvHDMILazR (run time) and JvHDMILazD (design time) provide some components for designing a "human-machine-interface" (HMI).
117105
118106- **JvLED**: an LED indicator. See demo *examples/JvLED*.
119107- **JvDialButton**: a rotatory knob. See demo *examples/JvDialButton*.
120108
121109### JvJans
122110
123111Depends on package *JvCore*.\
124112Named after the original author, Jan Verhoeven, who donated these components to the JEDI project. The following components have been ported:
125113
126114- [[JvSIM components|TJvSIM components]]: a set of components for simulation of digital and analog electronics.
127115- ![](/wiki-images/e/e8/Tjvjanled.png) **JvJanLED**: an LED indicator component (not contained in original JVCL, ported from Jan Verhoeven's own repository).
128116- ![](/wiki-images/a/a0/Tjvjantoggle.png) **JvJanToggle**: a toggle button with an on and off area (not contained in original JVCL, ported from Jan Verhoeven's own repository).
129117- ![](/wiki-images/d/d3/Tjvmarkupviewer.png) **JvMarkupViewer** and ![](/wiki-images/5/57/Tjvmarkuplabel.png) **JvMarkupLabel**: display simple HTML-formatted text (font-related tags only). Similar to JvHTControls.
130118- ![](/wiki-images/c/c0/Tjvgridfilter.png) **TvGridFilter**: a component for filtering rows in a column-oriented stringgrid. Call `Filter(condition)` to hide all rows meeting the specified condition string, e.g. `[Business]="Music"` removes all rows in which the strings in the column titled `Business` are equal to `Music`. Allowed operators are `=`, `<>`, `<`, `>`, or `like`. See demo in folder *JvGridFilterDemo*.
131119- ![](/wiki-images/4/47/Tjvyeargrid.png) **JvYearGrid**: a year-calendar
132120
133-<figure>
134-<img src="TJvYearGrid.png" title="TJvYearGrid.png" />
135-<figcaption>TJvYearGrid.png</figcaption>
136-</figure>
121+![](/wiki-images/8/8b/TJvYearGrid.png)
137122
138123### JvMM
139124
140125Depends on package *JvCore*.\
141126The original JVCL package for Delphi contains a set of multimedia components, image and some general-purpose components.
142127
143128- ![](/wiki-images/8/81/Tjvid3v1.png) **JvID3v1**: a non-visual component for displaying and editing of ID3v1 tags of mp3 files. See demo *examples/JvID3v1*.
144129- ![](/wiki-images/4/44/Tjvid3v2.png) **JvID3v2**: a non-visual component for displaying and editing of ID3v2 tags of mp3 files. See demo *examples/JvID3v2*.
145130- ![](/wiki-images/e/e7/Tjvanimatedimage.png) **JvAnimatedImage**: animates a series of images take from a glyph containing all images in a horizontal or vertical stripe.
146131- ![](/wiki-images/f/f6/Tjvbmpanimator.png) **JvBmpAnimator**: animates a series of images taken from a TImagelist. Unlike suggested by its name, it works with other image types as well in Lazarus. See demo *examples/JvBmpAnimator*. Similar to JvAnimatedImage.
147132- ![](/wiki-images/3/31/Tjvimagetransform.png) **JvImageTransform**: image transition effects like in a simple slide show. See demo *examples/JvImageTransform*.
148133- ![](/wiki-images/e/ed/Tjvspecialimage.png) **JvSpecialImage**: an advanced image component with simple built-in image manipulation capabilities (flip, mirror, invert, fade-in, fade-out, brightness). Note that the Brightness property has been modified from the Delphi version to cover a more convenient scale from -100 to 100 (instead of 0 to 200). See demo *examples/JvSpecialImage*.
149134- ![](/wiki-images/3/34/Tjvspecialprogress.png) **JvSpecialProgress**: an advanced progress bar with gradient and text display. See demo *examples/JvSpecialProgress*.
150135- ![](/wiki-images/1/17/Tjvgradient.png) **JvGradient**: draws several kinds of gradients (horizontal, vertical, elliptic, pyramidic).
151136- ![](/wiki-images/4/4d/Tjvgradientheaderpanel.png) **JvGradientHeaderPanel**: a header bar with a gradient background (drawn by JvGradient).
152137- ![](/wiki-images/5/51/Tjvfullcolorlabel.png) **JvFullColorLabel**: a label with attached color sample
153138- ![](/wiki-images/c/ce/Tjvfullcolordialog.png) **JvFullColorDialog** and ![](/wiki-images/8/80/Tjvfullcolorcircledialog.png) **JvFullColorCircleDialog**: dialogs for color selection based on several color models. Use the ![](/wiki-images/b/bf/Tjvfullcolortrackbar.png) **JvFullColorTrackbar** for one-dimensional, and a ![](/wiki-images/7/7c/Tjvfullcolorpanel.png) **JvFullColorPanel** and a ![](/wiki-images/9/9f/Tjvfullcolorcircle.png) **JvFullColorCircle** for two-dimensional color selection. There is also a swatch-like ![](/wiki-images/e/ec/Tjvfullcolorgroup.png) **JvFullColorGroup**. See demos *examples/JvFullColorDialog* and *examples/JvFullColorCircleDialog*. Similar to [[mbColorLib]], however, several color models are combined within the same control.
154139
155-<figure>
156-<img src="TJvFullColorDialog.png" title="TJvFullColorDialog.png" />
157-<figcaption>TJvFullColorDialog.png</figcaption>
158-</figure>
140+![](/wiki-images/8/8c/TJvFullColorDialog.png)
159141
160142- ![](/wiki-images/c/cf/Tjvpicclip.png) **JvPicClip**: similar to TImageList. Splices a large bitmap to a grid of `Cols x Rows` smaller images which can be retrieved as `Cells[ACol, ARow]`
161143
162144### JvPageComps
163145
164146Depends on packages *JvCore* and *JvStdCtrls*\
165147* **TJvTabBar**: a panel of tabs like in a TTabControl. Fully configurable. Drawing is delegated to separate painter components, **TJvModernTabBarPainter** (used by default) and **TJvTabBarXPPainter**. See demo in folder *examples/JvTabBar*.
166148
167149- **TJvPageList**: a stack of pages like a TNotebook. Designed to cooperate with TJvTabBar and TJvPageListTreeView. See demo in folder *examples/JvTabBar_PageList*.
168150- **TJvNotebookPageList**: a TNotebook descendant designed to cooperate with TJvTabBar. See demo in folder *examples/JvTabBar_NotebookPages*. Note that this component is not contained in the original Delphi JVCL collection.
169151- **TJvNavigationPane**: a navigation panel similar to MS Outlook. See demo in the folder *examples/JvNavigationPane* of the Lazarus JVCL installation.
170152
171-<figure>
172-<img src="JvNavigationPane_demo.png" title="JvNavigationPane_demo.png" />
173-<figcaption>JvNavigationPane_demo.png</figcaption>
174-</figure>
153+![](/wiki-images/6/60/JvNavigationPane_demo.png)
175154
176155### JvPascalInterpreter
177156
178157Scripting engine for Pascal. Depends on package *JvCore*.
179158
180159- **TJvInterpreterProgram**: Non-visual component interpreting Pascal code. Add code to the `Pas` Strings, execute if by the `Run` method and get the result from the `VResult` variant. See the tutorials in folder *example/JvInterpreterDemos*. There is also a (German) tutorial at [1](https://wiki.delphigl.com/index.php/Tutorial_Scripting_mit_JvInterpreterProgram).
181160
182161### JvRuntimeDesign
183162
184163Depends on package *JvCore*.
185164
186165- A runtime **form designer**. See demo in folder *example/JvDesigner* of the JVCL installation. Note that the designer is not limited to the components shown on the demo's toolbar. Following the instructions in the header of the demo's main unit it is easy to register any other component.
187166
188167![](/wiki-images/a/a4/JvDesignerDemo.png).
189168
190169### JvTimeFramework
191170
192171Depends on package *JvCore*. Calendars and schedule planner, similar to [[Turbopower Visual PlanIt|TvPlanIt]]. Can compare schedules of several persons.
193172
194173- **TJvTFScheduleManager**: administration of data, access to database via events.
195174- **TJvTFDays**, **TJvTFWeeks** or **TJvTFMonths** are day, week or month calendars, respectively, to display appointments.
196175- **TJvTFDaysPrinter**: prints the appointments shown by TJvTFDays
197176- **TJvTFGlanceTextViewer**: viewing parameters for TJvTFWeeks and TJvTFMonths
198177
199178See extended demo in *examples/JvTimeFramework*
200179
201-<figure>
202-<img src="JvTimeFrameworkDemo.png" title="JvTimeFrameworkDemo.png" />
203-<figcaption>JvTimeFrameworkDemo.png</figcaption>
204-</figure>
180+![](/wiki-images/9/9d/JvTimeFrameworkDemo.png)
205181
206182### JvValidators
207183
208184Depends on package *JvCore*.\
209185Various validator classes for input validataion. See demo in the folder *examples/JvValidators* of the Lazarus JVCL installation
210186
211-<figure>
212-<img src="JvValidationDemo.png" title="JvValidationDemo.png" />
213-<figcaption>JvValidationDemo.png</figcaption>
214-</figure>
187+![](/wiki-images/9/9e/JvValidationDemo.png)
215188
216189- **TJvErrorIndicator**: Shows error indicators next to edit-fields etc. similar to "missing fields" indicators in web forumlars.
217190- **TJvValidators**: To validate user input. Rightclick on Field editor to define validation rules. Checks are performed when method "Validate" is called.
218191
219192### JvWizard
220193
221194Depends on package *JvCore*.\
222195* A multiplage dialog as used, e.g., for installation programs. Use the component editor to add pages with title, subtitle, images etc. at designtime ("welcome page", "interior page"). Buttons to navigate to other pages are automatically added. Additional navigation tools can be provided by adding a `TJvWizardRouteMapSteps`, `TJvWizardRouteMapNodes`, or `TJvWizardRouteMapList` component. See demo *JvWizard*. ![](/wiki-images/c/ce/JvWizardDemo.png)
223196
224197### JvXPCtrls
225198
226199Depends on package *JvCore* and *JvStdCtrls*.\
227200Several controls imitating the look and feel of Windows XP.
228201
229202- **JvXPButton** and **JvXPCheckbox**: a button and a checkbox in XP-style
230203- **TJvXPProgressBar**: Draws a progressbar in XP-style. The color of the the background and of the blocks is configurable. Doesn't support Marquee-style.
231204- **[[JvXPBar]]**: a container side-bar with collapsable panels. Similar to TJvRollOut-Panel, but with string items instead of controls. Collapsing/Expanding happens smooth and nicely animated.
232205
233-<figure>
234-<img src="JvXPBarDemo.png" title="JvXPBarDemo.png" />
235-<figcaption>JvXPBarDemo.png</figcaption>
236-</figure>
206+![](/wiki-images/d/dd/JvXPBarDemo.png)
237207
238208## Download and installation
239209
240210### Download
241211
242212The developers version of the Lazarus port is available via svn from <https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/jvcllaz/>. The current release version can be downloaded from <https://sourceforge.net/projects/lazarus-ccr/files/jvcllaz/>; it is also offered by the Lazarus Online Package Manager.
243213
244214### Installation
245215
246216- **Released version** distributed by the Online Package Manager: check the "jvcllaz" item in the Online Package manager, click the *"Install"* button and follow the instructions.
247217- **Development version** on Lazarus CCR (svn):
248218 - If you want to install **all JVCL packages**, load the package **jvcl_all.lpk** and select "Use" \> "Install". In older Lazarus versions, there will be a warning *"The package jvcl_all does not have any "Register" procedure which typically means it does not provide any IDE addon. Installing it will probably only increase the size of the IDE and may even make it unstable."*. You can ignore this and click on *"Install it, I like the fat"*.
249219 - If you want to install **only a few packages**, you must find out in above summary which other packages are needed. Compile the needed runtime packages (having an appended "R" at the package name). Then "Use" \> "Install" the required designtime packages (having an appended "D" as the package name). It is required to rebuild the IDE only after the last package.
250220
251221---
252222*From the Free Pascal wiki, page "JVCL Components", as it stood on 2020-04-30 after a change by Wp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history