RTollison 0 Posted Friday at 04:11 PM (edited) NOTE: Found issue. No replies needed. Except for scolding.... I had a project that was working with the VST and checkboxes showing up. i had to move project to a new pc and get the virtual components installed. i can now compile project without errors but lost something along the way. i used this code to add the nodes with a check box: function AddVSTObject(AVST: TCustomVirtualStringTree; ANode: PVirtualNode; AObject: TObject): PVirtualNode; var Data: PClassRoomData; begin Result:=AVST.AddChild(ANode); Result.CheckType := ctTriStateCheckBox; AVST.ValidateNode(Result,False); Data:=AVST.GetNodeData(Result); Data^.FObject:=AObject; end; It will display the tree with all the info but the checkboxes do not display. i checked the properties of the vst and found nothing related to checkboxes. so any ideas as to what i could check to get the checkboxes to show up? Edited Friday at 04:22 PM by RTollison Share this post Link to post
RTollison 0 Posted Friday at 04:16 PM old program shows the checkbox but new compiled program with gui changes not related to tree does not show checkbox Share this post Link to post
RTollison 0 Posted Friday at 04:20 PM well crap, now i find the miscoptions and checksupport. sorry for post and thanks Share this post Link to post
David Hoyle 68 Posted Monday at 01:33 PM You should be using the AVST.CheckType[ANode] := ctTriStateCheckBox property rather than alter the node structure directly otherwise the VTV control cannot perform related functions associated with check boxes. Share this post Link to post