Skip to content

Releases

v3.0.4

Choose a tag to compare

@ACTom ACTom released this 04 Nov 13:18

A bug-fix release for 3.0. Every control's properties and events were checked: settings that did nothing, crashes and lost data are fixed. Borders and text are sharper, and every part of the table can be themed.

Added

  • Every part of the table can be themed: grid lines (colour, width, style and hiding, per direction), the header (separators, the rule below it, padding, font size and weight, the sorted and filtered looks), the sort mark, the hover scope, the selected-hover colour, the focus frame, the frozen line and its shadow, the footer rule and the current row number. One grid takes them in its StyleOverride; see the tycss reference. (#197)
  • A control's StyleOverride can set -- tokens, for that control only. (#98, #99)
  • The gap from a list or tree icon to its caption, and the tree main column's leading inset, are tokens. (#98, #99)
  • Tree lines and the expander can be themed. (#101)
  • Text fields' side padding and the room around the drop arrow are the tokens --pad-field and --field-drop-pad. (#102, #103)
  • GlyphKind has a new value tgNone, so a glyph can be removed in the designer. (#129)

Changed

  • Borders, rounded fills and scroll bar thumbs land on whole pixels, so every control with a border changes by some pixels: straight edges are thinner and solid. (#196)
  • Latin text on Windows now matches LCL and ordinary GDI programs pixel for pixel, as Chinese already did. Latin captions are slightly narrower, so an AutoSize control can change by a few pixels. (#199)
  • The default table header is a light band with regular weight, and the built-in skins have table looks of their own. (#197)
  • Expand, drop-down and submenu arrows share one shape, with size and colour from the theme. (#100)
  • Text in a field starts further from the left border, matching the drop arrow on the right. (#103)
  • TTyRibbonQuickAccess honours Indent and Spacing. With the defaults, buttons move 3 px right and sit 2 px further apart. (#117)
  • OnClick on TTyCheckBox and TTyRadioButton fires when Checked changes, from code too, as in LCL, and not for a click on a radio button already checked. TTyRadioGroup.OnClick fires when ItemIndex changes. (#188)
  • # in a TTyMaskEdit mask is a digit or sign that may be left out, as in LCL. A ## from 2.x is now optional; write 00 to require the digits. (#193)
  • A TTyForm maximized from its title bar reports wsMaximized in WindowState and fires OnWindowStateChange. (#193)
  • TTyEdit, TTyMemo: text set from code or loaded with the form is where undo starts, so Ctrl+Z no longer empties a pre-filled field. (#156)
  • TTyDateTimePicker: moving with the arrow keys in the drop-down calendar no longer changes the value; a click or Enter does, and Esc after that still goes back. MinDate and MaxDate limit by date, so a time on the MaxDate day stays. (#160)
  • Menus: a menu taller than the work area scrolls; AutoLineReduction (the default) drops separators at the ends and in a row, always on Lazarus 3.x, which has no such property; opening a submenu fires its item's OnClick. (#175)
  • TTyRibbon: KeyTips show and hide on a single press of Alt, as in Office, and no longer touch the form's KeyPreview and OnKeyDown. The File tab has a KeyTip too. (#177)
  • TTyBalloonHint and TTyNotification no longer take the keyboard focus when they appear. (#178)
  • TTyRating.Value rounds to whole stars, or half stars with AllowHalf, with halves going up: 2.5 stars is 3. (#181)
  • TTyComboBox takes one Tab stop. In the open list, Up and Down move the highlight, Enter, Tab and F4 pick it, and Esc does not. (#161)
  • With goTabs, Tab at the last cell (Shift+Tab at the first) leaves the grid, as in LCL. (#139)
  • Properties that cannot act on a control are hidden in the designer: CharCase on numeric edits, MaxLength, CharCase and ReadOnly on pick-only combo boxes, the shell views' Items and the like, ChildSizing on text inputs, and the generated Items of TTyFilterComboBox and TTyShellComboBox. Forms that set them still open. (#130, #163, #167, #192)
  • A form saved with 3.0.4 may not open or read back fully in an earlier 3.0.x if a TTyValueListEditor has rows, a TTyFontListBox has a font selected, or the title bar pins its button width. (#152, #167)

Fixed

  • Crashes after freeing an image list, a scroll box's content, a ribbon group or a cool band's control. (#136)
  • Crashes when Items change during a click, or under a node or line a control still holds (radio and check groups, tree select, tree, memo). (#137)
  • Gauges and meters raised an exception on every paint when ValueFormat had no float specifier. (#138)
  • TTyTrackBar hung while painting with a large range and Frequency = 1. (#187)
  • On a sorted, filtered or grouped grid or one with hidden rows, the arrow and page keys, Enter and the fill handle landed on the wrong rows; Ctrl+Home and Ctrl+End missed the first and last row; Tab and Enter did not reach the next cell while editing. (#139)
  • Grid cut, editors and Cells writes lost or changed data: Ctrl+X cleared cells it had not copied, opening an editor and leaving it rewrote the cell, and a Cells write outside the grid raised nothing. (#140)
  • List views, tree views and shell lists lost or moved the selection and the user's changes when the items changed. (#141)
  • Values set in the designer were lost or changed when the form was reopened (Cursor, Alignment, ExpandedHeight, a saved multi-selection, column Position and Width and others). (#108, #152)
  • A control's Font.Size and a container's Font for its children lost to the theme. (#112)
  • Text in list rows, grid cells, tabs, headers, segments, gauges and charts ignored the control's Font and StyleOverride. (#113)
  • AutoSize := True did nothing on 67 controls, and some did not fit again after a theme change. (#114)
  • BorderWidth only worked on TTyPanel. (#115)
  • Disabled controls, and the children of a disabled container, looked enabled. (#118)
  • Controls did not lay out again after a theme, font or StyleOverride change. (#146)
  • A one-property additive rule erased a control the theme leaves to the built-in layer. (#106)
  • Children covered the frame, rounded corners and separator lines of panels, page controls, cards, group boxes and others. (#133)
  • Controls on hidden pages answered Alt+key, and a few controls handled it wrongly. (#142)
  • Clicks took the focus with TabStop = False; the menu bar took the focus from an edit, and F10 now opens its first menu; some focusable controls ignored the keyboard. (#143)
  • Enter and Esc were swallowed, so the form's default and cancel buttons did not respond. (#144)
  • Events fired while a form was loading or being destroyed. (#145)
  • Drags kept going after the mouse capture was lost. (#147)
  • Pop-ups were placed against the primary monitor only, and opened off screen on another one. (#148)
  • Animation timers kept running while hidden and in the designer, and TTyAnalogClock.Time was saved in the form. (#149)
  • Text...
Read more

v3.0.3

Choose a tag to compare

@ACTom ACTom released this 20 Oct 14:26

A bug-fix release for 3.0, mostly for macOS: sharp drawing on Retina screens, the system's window frame, and building the macOS version with Lazarus 3.x.

Changed

  • On macOS a TTyForm window now uses the system's window frame: rounded corners, the shadow, the traffic-light buttons, resizing from the edges, tiling and zoom are all the system's. Set TTyTitleBar.MacTrafficLights to False for the title bar's own drawn buttons. (#80, #89)
  • On a macOS Retina screen a TTyPainter layer is twice the control's size. Code that works on Bitmap directly (FillRect, PutImage and so on) in OnPaintSurface, OnDrawCell and the like converts control coordinates to layer pixels with Dev(); see the events documentation. TyDeviceScaleRendering := False takes all drawing back to one times. Windows and Linux are not affected. (#83)
  • The Online Package Manager no longer lists GTK3 as a supported widgetset: LCL-GTK3 still has problems the library cannot work around. Building for GTK3 from source still works; see the known issues. (#95)

Fixed

  • Text and graphics were blurry on macOS Retina screens. (#83, #93)
  • Dark text came out too heavy on macOS. (#91)
  • On Windows, control text was greyer and softer than the system's own. (#90)
  • A control's Font name, bold, italic, underline, strikeout and colour had no effect (with ParentFont False). They are now laid over the theme's style; StyleOverride still wins. (#92)
  • A TMainMenu in a TTyForm's Menu put a native menu bar on the window on Windows and made it taller. TTyForm no longer uses the inherited Menu: the Object Inspector does not show it, the designer does not set it when a TMainMenu is dropped, and one already set is taken out of it with its shortcuts still working. Use a TTyMenuBar and the form's MenuBar for the window's menu. (#78)
  • The slider of TTyTrackEdit and the buttons of TTyComboEdit, TTyURLEdit, TTyCalcEdit and the like showed the text I-beam. (#84)
  • Scrolling a grid left a gap in its left border. (#86)
  • With WordWrap off, TTyMemo could fall short of the end of a line with Arabic, Devanagari, combining marks or other text shaped as a run when scrolled sideways. (#77)
  • Building the macOS version with Lazarus 3.x failed, also for projects that compile the library from source. (#81, #88)
  • Some examples failed to build on macOS with an FPC internal error (DWARF3). (#87)
  • Building the GTK3 version with a released Lazarus (before 4.99) failed. (#82)

Full changelog: CHANGELOG.en.md

v3.0.2

Choose a tag to compare

@ACTom ACTom released this 13 Oct 12:20

A bug-fix release for 3.0.

Changed

  • A standalone TTyScrollBar no longer takes the keyboard focus by default: TabStop now defaults to False, so the bar is not in the Tab order and a click does not focus it; set TabStop := True for the previous behaviour (Tab stop, click to focus, arrow and page keys). (#56)

Fixed

  • The built-in skins restyled only a few controls such as buttons and edits; tabs, grids, lists, trees, menus, scroll bars and the rest kept the default theme's rounded shapes. (#47)
  • TTyPageControl and TTyTabSet tabs at the bottom, left or right kept their rounded corners on top. (#45)
  • A linear-gradient with two stops ignored their positions. (#49)
  • A left-aligned title bar caption jumped past the controls after it when the window was widened. (#50)
  • TTyRibbonQuickAccess.AddButton showed its buttons in reverse order, the last one added on the left. (#51)
  • Selected TTyStringGrid cells kept the normal dark text, hard to read on a dark accent. (#46)
  • The TTyStringGrid cell editor stayed where it was when the grid scrolled or a column or row was resized, and a header sort dropped a value that had failed OnValidateCell. (#48)
  • Up/Down while editing a TTyStringGrid cell or a header filter moved the keyboard focus to the scroll bar. (#52)
  • TTyStringGrid PageUp/PageDown always moved 10 rows instead of a page. (#57)
  • Up/Down on a TTyStringGrid pick-list cell sent the focus out of the grid and changed the cell to the next item. (#59)
  • With row selection, or a range selected, TTyStringGrid did not show which cell the cursor was on. (#60)
  • OnMouseWheel, OnMouseWheelUp and OnMouseWheelDown never fired on TTyStringGrid and TTyDrawGrid, nor on TTyImageView with a picture loaded. (#62)
  • Typing on a TTyStringGrid cell lost the first key in every editor but the text editor: spin, memo, calculator, mask, date and pick-list cells. (#64)
  • A number typed into a TTyStringGrid spin cell was lost when the edit ended. (#66)
  • Ending an edit in a TTyStringGrid mask cell raised an error, and a value that did not fill the mask, an untouched one included, was written anyway; it is now refused with a message and only Esc leaves the cell. (#67, #69)
  • Grid columns moved through Index (Move Up / Move Down in the collection editor) left their cells behind and went back to the old order on the next load. (#70)
  • Without toFullRowSelect, a selected TTyTreeView node highlighted the whole row over the expand button and tree lines; only the caption is highlighted now. (#71)
  • In a multi-select TTyTreeView, PgUp/PgDn, Left/Right, type-to-find, a click in the indent and a right click moved the focus without updating the selection, and SelectedCount drifted; Shift extended the range with Up/Down only. (#72)
  • toAutoTristateTracking in TTyTreeView missed children made later and ignored CheckState and Checked set from code. (#73)
  • SelectAll on a single-select TTyTreeView selected every node. (#74)
  • Existing TTyTreeView rows kept their height when DefaultNodeHeight, the density or toVariableNodeHeight changed. (#75)
  • With rows of different heights, TTyTreeView PgUp/PgDn skipped several pages at once. (#76)
  • The TTyListView rename box closed the moment it opened. (#54)
  • The scroll bars that grids, list boxes, list views, trees, TTyMemo and scroll boxes create for themselves could take the keyboard focus, so one click took it from the control. (#55)
  • TTyMemo.Text came back with an extra trailing line break, and Lines.LoadFromFile followed by SaveToFile changed the file's final line break and line-break style. (#58)
  • The TTyImageView wheel zoom did not keep the pointer's spot in place, and the wheel did nothing in the TTyCascader drop-down. (#63)
  • The "more…" row and colour dialog title of the TTyValueListEditor colour drop-down, and the TTyRibbon overflow button hint, showed Chinese in any language. (#68)

Performance

  • TTyMemo with WordWrap off loads large texts much faster: 57 000 lines in under half a second instead of about 50 seconds. (#77)

Full changelog: CHANGELOG.en.md

v3.0.1

Choose a tag to compare

@ACTom ACTom released this 07 Oct 13:35

A bug-fix release for 3.0.

Added

  • TTySpinEdit / TTyFloatSpinEdit up/down buttons: the pointer turns into an arrow over them, they light up on hover and press, and holding one keeps stepping. (#12)
  • OnHelpClicked on TTyFindDialog / TTyReplaceDialog: with frShowHelp in Options the dialog shows a Help button that fires it. (#30)

Changed

  • TTyColorButton.DialogCaption and TTyColorComboBox.MoreCaption default to empty, meaning the library's own text, translated with the application; the new DialogTitle and MoreText return the text actually shown. (#41)
  • TTyColorBox / TTyColorListBox no longer write Items to the form file and rebuild them from Style on load; for a palette of your own, use cbCustomColors with OnGetColors, or AddColor at run time. (#20)
  • TTyFontComboBox / TTyFontListBox no longer write Items to the form file and refill them from this machine's fonts on load. (#26)
  • TyEdit.embedded has no padding in the built-in themes; a custom theme that defines it should add padding: 0 too. (#39)

Fixed

  • The packages failed to build on Lazarus 3.x. (#3)
  • A project made from the "TyControls Application" template did not show at run time the built-in theme picked in the designer; a project made with 3.0.0 needs the two lines described in the issue. (#10)
  • With AutoSize on, TTyCheckBox, TTyRadioButton, TTyTag, TTyLabel and TTyColorButton came out too narrow and cut off or ellipsised the end of their caption. (#11)
  • TTyFloatSpinEdit's up/down buttons were smaller than TTySpinEdit's. (#17)
  • An editable TTyComboBox at its default height cut off the descenders of g, y, p and the like, and set its text further right than a non-editable one. (#39)
  • An editable TTyComboBox whose ItemIndex was set in code showed an empty field, and picking that row from the list did not fill it either. (#43)
  • A read-only TTyDateTimePicker could still change its value through the dropdown calendar. (#35)
  • TTyCurrencyEdit lost or corrupted its value when the currency symbol contained a dot or a digit (Fr., kr., US$1). (#38)
  • After scrolling, TTyTreeView painted rows over its header, and the last rows could not be scrolled into view. (#19)
  • Ellipsising a very long text (hundreds of lines) nearly froze; a multi-line text in a single-line place now shows its first line. (#18)
  • Every TTyStringGrid leaked two string lists when freed. (#16)
  • Freeing a TTyCoolBar while its form was open raised an access violation. (#15)
  • A TTyColorBox / TTyColorListBox read back from a form showed black swatches and lost its selected colour. (#20)
  • TTyFontComboBox / TTyFontListBox wrote the machine's whole font list into the form file, so another machine listed the first machine's fonts. (#26)
  • On Windows the font combo box, font list box and font dialog listed every CJK font twice, once as a vertical '@' alias that draws its glyphs on their side. (#31)
  • TTyRibbon / TTyPageControl: a page moved away, or freed by a different owner, stayed in the page list. (#21)
  • A TTyRibbon saved minimised expanded to just its tab strip after being read back. (#23)
  • A TTyForm lost its content surface after being read if the surface had been renamed. (#22)
  • Changing an icon font after a TTyCharImage / TTyRibbonGallery that used it was freed raised an access violation. (#24)
  • Hints, balloon hints, popup menus, grids and the native styler kept pointing at a referenced component after it was freed on another form. (#25)
  • File dialogs ignored fdoPathMustExist, and checked fdoFileMustExist only for one name in an open dialog. (#29)
  • File dialogs asked OnCanClose before checking the name, so the dialog could stay open after OnCanClose said yes. (#32)
  • The frHide*, frDisable* and frShowHelp options of TTyFindDialog / TTyReplaceDialog had no effect. (#30)
  • Description, Prompt, EmptyText and other text properties were never translated in a translated application. (#33)
  • TTyColorButton's dialog title and TTyColorComboBox's "More…" row stayed in English in a translated application. (#41)
  • In a Chinese UI, the messages for a broken theme were in English, and the font dialog's preview showed no Chinese characters. (#44)
  • Gradient and nine-slice backgrounds left some fields uninitialised: the same rule could resolve differently twice, and glass with glass-blur but no glass-tint took a random tint. (#40)
  • Glass lost its tint when a .tycss rule wrote glass-tint before background, or when a later rule or a StyleOverride changed only the background. (#42)
  • The tycss reference described padding, alpha() and gradient stops wrongly. (#13)

Full changelog: CHANGELOG.en.md

v3.0.0

Choose a tag to compare

@ACTom ACTom released this 30 Sep 16:01

TyControls 3.0, the first stable release. Only the changes below since RC3; everything that changed from 2.2 to 3.0 is in the 3.0.0-Beta through 3.0.0-RC3 sections.

Added

  • A gallery (docs/gallery.en.md): every example and every tab page in light and dark, and all built-in themes side by side.

Fixed

  • On Windows with a non-default ClearType contrast, light text on dark themes came out lighter than the text Windows draws.
  • The grid example's tab captions lost their &.

Performance

  • Text draws faster on Windows: text-heavy controls such as the grid and the memo take about a third less time for their first paint.

Full changelog, 3.0.0-Beta through RC3 included: CHANGELOG.en.md

v3.0.0-RC3

v3.0.0-RC3 Pre-release
Pre-release

Choose a tag to compare

@ACTom ACTom released this 28 Sep 16:14

Fixes a batch of layout errors under high-DPI scaling (150%, 175%; #2) and blurry text on Windows. Still a release candidate: if nothing new comes in, this content becomes 3.0.0 final.

Changed

  • Text on Windows advances by whole pixels: in a Chinese font with no bold face of its own, bold text is 1 px wider per character, so a button with a hardcoded width may need widening or AutoSize.

Fixed

  • Text in every control on Windows looked softer and lighter than the text Windows draws; it is now as crisp and as heavy as the system's ClearType, without the colour fringes.
  • At 150% and 175% scaling, text was measured at twice the DPI: labels spread their lines too far apart and wrapped early, and buttons and other controls came out taller and wider than designed, so rows of them overlapped. Controls created in code were affected too.
  • At high DPI, a control with AutoSize on scaled in one direction only: a button's height and a wrapping label's width stayed at 100%, and the label wrapped into twice as many lines.
  • A tool bar's Indent / ButtonSpacing / ButtonHeight / ButtonWidth, TTyToolBarEx's overflow button and flyout, the Spacing of tool group, grid and relative panels, a status panel's Width and a splitter's MinSize did not scale at high DPI, so children crowded together or ran into each other.
  • TTyCoolBar: at high DPI a band snapped back to its 100% width as soon as its gripper was touched, the seam lagged behind the pointer while dragging, and AutoMaxWidth stopped a band at just over half its content.
  • The built-in dialogs kept 100% margins, columns and gaps at high DPI: the file dialog's navigation buttons lay over its file list, the font dialog's check boxes over its colour button, the editors' buttons ran out of the window, and messages wrapped at half their width.
  • TTyStringGrid: the column filter drop-down did not scale at high DPI, and under modern density the filter row's editor opened over the column captions.
  • TTyShellListView gave most of its width to the first column at high DPI and pushed the last two out of view.
  • At high DPI, the figure in a gauge or circular progress was too big and stood out of the ring, and the calendar's today ring, the colour grid's selection ring, the list view's sort arrow, the ribbon's key tips, the status bar's grip and the tree's radio mark were drawn too thick or too large.
  • The window's resize border, the smallest size a manual resize leaves, the drag threshold on a title bar, and the tolerance of a triple click and of the date picker's check box were only a little over half as forgiving at 175% as at 100%.

v3.0.0-RC2

v3.0.0-RC2 Pre-release
Pre-release

Choose a tag to compare

@ACTom ACTom released this 27 Sep 16:01

Every issue reported against the RC has been addressed. Still a release candidate: if nothing new comes in, this content becomes 3.0.0 final.

Added

  • TTyStringGrid input validation: when OnValidateCell refuses a value the editor stays on its cell until the value is fixed or abandoned with Esc; when focus leaves the grid altogether, OnInvalidEditExit decides whether to abandon or keep the edit (abandon by default). Demonstrated on the grid example's Events page.
  • The system theme follows the desktop's light/dark scheme and accent on Qt5 / Qt6 builds; GTK builds do not probe and keep the default look.

Changed

  • TTyTransfer's middle buttons now draw chevrons (> / >> / < / <<), the doubled mark reading as one glyph.

Fixed

  • Switching to the system theme on Linux raised List index out of bounds.
  • Following the system appearance on macOS no longer spawns a subprocess every 750 ms.
  • Under modern density and skins with taller buttons (aero, for one), a message dialog's buttons hung out of the bottom strip; the file dialog's navigation buttons overlapped; rows laid out at a fixed stride in the find, font, colour, path, image-collection and structure editors clipped or overlapped.
  • TTyDateTimePicker's dropdown calendar was hardcoded to the classic 240×220, cramped under modern density and at high DPI; it now follows the theme's row height.
  • TTySteps centres a horizontal step's title under its own marker, and the connector runs marker to marker.
  • TTyRibbon's large tiles were only an edit box tall under modern density; they now have their own theme size, --ribbon-tile-height.
  • Windows XP: the system's blue frame on the left, right and bottom edges is gone, and opening a menu or dropdown no longer flashes the system caption over the window.
  • TTyStringGrid's spin, slider, memo, calculator, pick-list and date editors can now be abandoned with Esc (only the text and mask editors could).
  • On a controller with a ThemeName, clearing or replacing StyleOverride had no effect, and the modern density pack stayed after switching back to classic.
  • TTySparkline's baseline floated up when the minimum was a large positive value.
  • TTyStringGrid: dragging a column divider through the body selected a block of cells; pressing on a divider, or double-clicking it, sorted as well. Sorting now fires on release, and a press on a divider, a release elsewhere, or a column drag does not count as a click.
  • TTyTreeView: double-clicking a column header expanded, collapsed or edited the last node clicked; a header click now sorts only when pressed and released on the same section.
  • WindowState = wsMaximized set in the designer had no effect at run time (on Windows it could fill the whole monitor over the taskbar; on Linux nothing happened); the first show now maximizes to the work area, exactly as the caption button does.
  • A title bar's ShowMinimize / ShowMaximize / ShowClose set to False in the designer still showed the buttons at start-up; they are now a second gate beside the form's BorderIcons, either one hides the button, and the form's sync no longer overwrites the bar's setting.
  • With the maximize button hidden, a title-bar double-click, Aero Snap to the top edge and Win+Up still maximized; if any of Resizable, biMaximize in BorderIcons or the bar's ShowMaximize is off, all of them are now off too, while a maximized window can still restore.

v3.0.0-RC

v3.0.0-RC Pre-release
Pre-release

Choose a tag to compare

@ACTom ACTom released this 31 Aug 10:46

Added

  • Structure editors: double-click (or right-click) a TTyTreeView, TTyCascader, TTyTreeSelect or TTyListGroupPanel to open a dedicated tree editor — the whole model in one tree, add/delete at any depth, move whole blocks up and down, and edit the selected node's properties right in the Object Inspector.
  • TTyTreeSelect gains published Items: the dropdown tree can now be authored at design time and streams with the .lfm (it used to be code-only).
  • TTyListGroupPanel: a design-time Groups nested collection (groups first, items under each); an OnItemDblClick event; Tag on groups and items; whole-sider collapse to an icon rail (Collapsed, with an optional bottom trigger band via ShowCollapseTrigger).
  • TTyTabSheet.TabVisible: hide a page's tab while keeping the page; hide them all and switch from code for the wizard pattern.
  • TTyImageCollection: double-click opens a TImageList-style manager — add, replace, rename, reorder, preview.
  • TTyChart image export: SaveToFile / SaveToStream with PNG / BMP / JPG / TIFF and an explicit-format option.
  • Design-time tab clicks switch pages on TTyPageControl, TTyTabSet and TTyRibbon; the PageControl context menu gains a "Show Page" jump list.
  • Icon browser multi-pick: opened from an image list, each double-click adds the icon and shows its index badge at once, with the window staying open.

Changed

  • The license is pinned to the Modified LGPL-2.1 (or later) with the linking exception, matching the LCL.
  • TTyLucideImageList no longer shows the irrelevant Collection / IconFont properties in the Object Inspector.

Fixed

  • Under themes with padding, TTyMemo and the list/dropdown family mis-measured their scroll range and row hit-testing, clipping the last line.
  • TTyMemo now wraps mixed Latin/CJK lines at CJK characters instead of spaces only.
  • Clicking a tab at design time left the mouse in a rubber-band selection; the Object Inspector kept showing a stale ActivePageIndex after a switch.
  • A TTyTabSet.TabIndex set at design time was lost at run time.
  • A collapsed TTyListGroupPanel rail made groups and items indistinguishable: groups now separate with a rule and icon-less rows show their caption's first glyph.
  • TTyCascader painted the hover fill over the currently selected option.

Installation

Download TyControls-3.0.0-RC.zip, unpack it, then install tycontrols.lpk (runtime) followed by tycontrols_dt.lpk (design time) in Lazarus and rebuild the IDE. Upgrading from the Beta: overwrite, recompile both packages and rebuild Lazarus — this release contains no breaking changes against the Beta.

v3.0.0-Beta

v3.0.0-Beta Pre-release
Pre-release

Choose a tag to compare

@ACTom ACTom released this 14 Aug 06:03

The first stable release of TyControls, shipping as a public beta. All 162 controls are custom-drawn and styled by .tycss text themes, rendering identically on Windows, Linux, and macOS.

This is a pre-release. Please try it out and report issues.

Added

  • Data grid TTyStringGrid / TTyDrawGrid: frozen rows/columns, million-row virtualization, sorting/filtering/grouping, cell editing, CSV import/export, undo/redo.
  • 14 modern UI controls: Card, Tag, Badge, Alert, Notification, Popover, Segmented, Pagination, Steps, Breadcrumb, Transfer, TreeSelect, Cascader, Empty.
  • Image list overhaul: TTyVirtualImageList is now a standard TCustomImageList, assignable to any control; icons can be referenced by name; the bundled Lucide icons work as a drop-in image list (TTyLucideImageList); new icon browser dialog.
  • New TTyFloatSpinEdit; OnPaint on every control; TTyForm.StyleOverride.
  • New --success / --warning theme colors; new antdesign example (an Ant Design Pro-style admin).

Platforms

  • macOS: Chinese text rendering fixed (jagged edges, clipped glyphs); the IME candidate window follows the caret.
  • GTK2: black panels and modal-dialog dragging fixed.

Breaking changes

Read the Changed section of the CHANGELOG before upgrading. Highlights:

  • A TTyForm's visual controls now live on the Surface content container; existing forms need migrating.
  • TTyMaskEdit now uses the LCL / Delphi mask language.
  • Several members aligned with the LCL: TTyMemo.SelStart counts line breaks, ClearSelection deletes text, TTyListBox.Items is TStrings, programmatic TTyDateTimePicker.DateTime no longer fires OnChange, and more.

Installation

Download TyControls-3.0.0-Beta.zip and install tycontrols_dt.lpk in Lazarus (the runtime package installs as a dependency). Requires Lazarus 3.x+, FPC 3.2.2+, and BGRABitmap.

Full details: CHANGELOG.en.md.

v2.2.0

v2.2.0 Pre-release
Pre-release

Choose a tag to compare

@ACTom ACTom released this 04 Jul 15:31

A large feature release. The headline is the dialog subsystem: TTyForm gains complete window chrome
(caption buttons), joined by 11 fully custom-drawn dialog components with matching global functions, IDE
integration and a standalone example. It also adds three small controls (tri-state CheckBox, editable
ComboBox, TTyTabSet), completes the per-control API docs, and fixes many display issues that only surfaced on
a real machine (notably Windows 10).

Added — Dialogs

  • TTyForm window chrome — the title bar's minimize / maximize / close buttons are now controlled by
    BorderIcons (BorderIcons:=[] removes every button); whether the window is resizable is set by
    Resizable. The old ShowMinimize / ShowMaximize properties are removed.
  • 11 fully custom-drawn dialog components — LCL-parity, usable both as drop-in components and via global
    functions:
    • Message box (TyShowMessage / TyMessageDlg) with full button sets, results and type glyphs.
    • Input / password / multi-line text (TyInputQuery / TyPasswordQuery / TyTextQuery).
    • List value picker and folder picker (New Folder, expandable directory tree).
    • Colour picker (HSV + hue bar + RGB / CMYK / Alpha / Hex) and font picker (family / size / style /
      colour / preview).
    • Find / Replace (modeless, OnFind / OnReplace) and a cancelable progress dialog.
    • Every dialog supports OnShow / OnClose / OnCanClose.
  • IDE integration — a new TyControls Dialogs palette group, palette icons for all 11 dialogs, a
    File > New TyControls Dialog template, and double-click-to-preview in the designer.
  • Examples — a new standalone dialogs example demonstrating all 11 dialogs; the main demo gains a
    dialog grid too.

Added — three small controls

  • Tri-state CheckBox — State / AllowGrayed, with a grayed (indeterminate) glyph.
  • Editable ComboBox — free text entry (csDropDown) with prefix autocomplete.
  • TTyTabSet — a pure tab strip (not a page container).

Added — Documentation

  • Per-control API docs for every control (properties / events / states / theme variants / examples),
    including the previously-undocumented TreeView, Calendar, DateTimePicker, Splitter, StatusBar, ToolBar,
    TabSet, menus and NativeStyler, plus a controls index under docs/controls/.

Added — example overhaul

  • Every single-control example now uses the TTyForm + TTyTitleBar custom frame and shows more of each
    control's features.
  • Seven new dedicated examples: tabset, calendar, datetimepicker, splitter, statusbar, toolbar, menu;
    the tabcontrol example now uses TTyPageControl + TTyTabSheet.

Fixed

  • Windows 10 white / transparent windows — windows and containers (dialogs, group boxes, tabs, disabled
    controls) no longer bleed glass or white on Windows 10, and no longer wash out white when the window loses
    focus.
  • Washed-out disabled controls — disabled controls no longer look faded or show a white background.
  • Side stripes on resizable windows — resizable windows no longer show accent / white vertical stripes on
    the left and right edges.
  • Editable ComboBox typing — typing no longer loses focus or characters, the autocomplete popup no longer
    flickers, and clicking a suggestion fills in the correct value.
  • Tab scroll arrows — with many tabs, the left / right scroll arrows no longer cover the first / last tab.
  • Date picker dropdown crash — opening the calendar dropdown no longer crashes when using the global
    default theme.
  • Progress dialog flicker — the progress dialog's text and bar no longer flicker.
  • Double-click-maximize crash — double-clicking the title bar to maximize no longer crashes on
    multi-monitor / unusual setups.
  • Chinese UI — on a Chinese OS, message-box buttons show 确定 / 取消 etc., and the dialogs and demo
    examples follow the system language.
  • Example fixes — assorted example startup crashes and display glitches (radiobutton startup crash,
    GroupBox title overlap, splitter drag direction, etc.).