Repository navigation
v2.2.0
Pre-release
Pre-release
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 oldShowMinimize/ShowMaximizeproperties 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.
- Message box (
- 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 underdocs/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;
thetabcontrolexample 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.).