Sign in Join
Wiki copytemporary

KControls: what changed

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

OldNewLine
11# About
22
33**KControls** is a set of components. Main components: KGrid/KDbGrid, KMemo, KHexEditor. Almost all controls are cross-IDE compatible (Delphi/C++Builder, Lazarus) and cross-platform compatible in Lazarus. **KControls** does **not** support RightToLeft languages.
44
55# Download
66
77Repository: <https://github.com/kryslt/KControls/>
88
99# All controls
1010
1111- TKGrid - powerfull control for working with table data, replacement for TStringGrid and TDrawGrid - full compatibility and lot of new features
1212- TKDBGrid - control for working with database tables, possible replacement for TDBGrid
1313- TKMemo - native replacement for TMemo/TRichEdit - written from scratch, great features, full RTF support etc.
1414- TKHexEditor - powerfull control for binary file editing
1515- TKIcon - powerfull component for working with icons and cursors (files *.ico and *.cur, works only on Windows)
1616- TKPrintPreview - control for displaying print preview, it is part of KControls built in printing capabilities, every visual control supports printing and previewing
1717- TKPrintPreviewDialog - nonvisual component - dialog - for an easy print preview implementation
1818- TKPrintSetupDialog - nonvisual component - dialog - for an easy implementation of printing preferences
1919- TKCustomControl - a base for your visual controls, for which you want to implement e.g. printing and previewing capabilities in Delphi or Lazarus (just 2 short functions to write).
2020- TKNumberEdit - edit control to input numbers in various formats
2121- TKFileNameEdit - edit control to input file names
2222- TKLinkLabel - label to show clickable link
2323- TKGradientLabel - label with gradient background
2424- TKLog - component for event logging
2525- TKPercentProgressBar - custom drawn progress bar which shows actual percentage of the progress
2626- TKBrowseFolderDialog - wrapper for the standard Windows API browse for folder dialog (works only on Windows)
2727- TKBitBtn - like TBitBtn - draws PNG and alpha channel correctly in Delphi, has WordWrap property, works in Lazarus as well
2828- TKColorButton - just another button to pick color
2929
3030# KGrid control
3131
3232There were several reasons to write an own grid component for Delphi:
3333
3434- Borland's inoperability to fix reported bugs (this applied not only for TStringGrid)
3535- wanted different editing controls like TEdit, TComboBox, TCheckBox to be inserted in cells
3636- wanted the last column to be aligned within the client area edge
3737- wanted a slightly better behavior while moving or resizing columns or rows
3838
3939Now KGrid has a lot of features and is becoming a versatile solution for table visualisations, table data modifications and creating table reports under Delphi and Lazarus IDEs.
4040
41-<figure>
42-<img src="kgrid.png" title="kgrid.png" />
43-<figcaption>kgrid.png</figcaption>
44-</figure>
41+![](/wiki-images/6/69/Kgrid.png)
4542
4643# KMemo control
4744
4845Unlike the rich edit components known to Lazarus users (lzRichedit or RichMemo), KMemo is not bound to external rich edit libraries, was written from scratch and uses its native powerful word processor.
4946
50-<figure>
51-<img src="kmemo.png" title="kmemo.png" />
52-<figcaption>kmemo.png</figcaption>
53-</figure>
47+![](/wiki-images/b/bf/Kmemo.png)
5448
5549The features:
5650
5751- text formatting - font colors, styles, text backgrounds, capitals, small capitals, subscript, superscript etc.
5852- paragraph formatting - left, center, right alignments, top and bottom indents, first line indents, fully automated bullets and numbering even with multilevel heading numbering (MS Word 97+ style), paragraph backgrounds, paragraph borders, selectable word wrap mode etc.
5953- positioned objects (images, text containers) with absolute or relative positioning, different modes of text floating (none, both sides, left or right side)
6054- advanced table support with full row/cell formatting and even with cell merging support, so even very complex tables created with MS Word can be loaded, saved, viewed and edited in KMemo
6155- document background image/color
6256- full load/save support from/to Rich Text Format featuring all supported text/paragraph styles, tables, positioned objects, etc. Furthermore, these load/save routines support files and streams, they support saving/loading only part of a document, so e.g. append or insert one RTF document into other is easy to implement.
6357- clipboard operations (cut/copy/paste) with full RTF support, working hopefully on every OS
6458- print/preview support
6559- KMemoFrame featuring a simple editor including basic dialogs for text, paragraph and numbering formatting, easily embeddable to existing applications without coding
6660- user manual showing the basic features and two simple demos
6761
6862# License
6963
7064KControls is provided free on 'as is' basis, with complete source code. However, it is licensed software. More information about license can be found in source file headers.
7165
7266# Notes
7367
7468All controls support Delphi and Lazarus IDEs fully. But there are some exceptions: TKIcon and TKBrowseFolderDialog work only on Windows and printing and previewing might not work in some widgetsets in Lazarus.
7569
7670## See also
7771
7872- [[KControls/KMemo notes]] - some notes about using KMemo, one of the components in KControls.
7973- [[RichMemo/Features]] - comments on some features in progress.
8074- [MyNotex](https://sites.google.com/site/mynotex/) - application which uses modified by Massimo Nardello RichMemo package on Linux-GTK2.
8175- [[TMemo]]
8276- [[RichMemo]]
8377
8478---
8579*From the Free Pascal wiki, page "KControls", as it stood on 2022-03-02 after a change by Alextp, 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).*
8680Category: Components
8781Category: Lazarus-CCR
8882Category: Packages

Back to history