Tips and Frequently Asked Questions
How to have all Child items checked or unchecked depending on the parent check state
This is a code snippet that demonstrates this applied to a default THTMLTreeView on the form:
procedure TForm4.FormCreate(Sender: TObject); var tn,sn: TTreeNode; begin tn := htmltreeview1.Items.Add(nil,'Parent node'); htmltreeview1.SetNodeCheck(tn, false); sn := htmltreeview1.Items.AddChild(tn,'Child 1'); htmltreeview1.SetNodeCheck(sn, false); sn := htmltreeview1.Items.AddChild(tn,'Child 2'); htmltreeview1.SetNodeCheck(sn, false); sn := htmltreeview1.Items.AddChild(tn,'Child 3'); htmltreeview1.SetNodeCheck(sn, false); tn := htmltreeview1.Items.Add(nil,'Parent node'); htmltreeview1.SetNodeCheck(tn, false); end; procedure TForm4.HTMLTreeview1CheckBoxClick(Sender: TObject; Node: TTreeNode; Check: Boolean); var i: integer; sn: TTreeNode; begin sn := Node.getFirstChild; while assigned(sn) do begin Htmltreeview1.SetNodeCheck(sn,check); sn :=sn.getNextSibling; end; end;
Pricing
Single Developer License
Small Team License
Site License
TMS VCL UI Pack
€ 375
€
150
yearly renewal
license for 1 developer
MOST POPULAR
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.
Free Trial
Note that the TMS VCL UI Pack replaces the TMS Component Pack. Both products can't be installed simultaneously. Therefore TMS Component Pack must first be uninstalled before installing the TMS VCL UI Pack